buildworld failure on FreeBSD 4.x

Chris Pressey cpressey at catseye.mine.nu
Thu Mar 3 19:47:15 PST 2005


On Thu, 03 Mar 2005 13:22:22 -0800
Chuck Tuffli <chuck_tuffli at xxxxxxxxxxx> wrote:

> Chuck Tuffli wrote:
> > lib/libmagic from today can't build under FreeBSD 4.9 because
> > stdint.h doesn't exist.
> 
> This patch (a little on the gross side) fixes things for me.
> 
> Index: lib/libmagic/config.h
> [...]

AFAIK, libmagic is only used by file(1).

I can't think of why file(1) would be a necessary bootstrap-tool (or
cross-tool.)  (Although there might be a good reason.  I just don't know
what it is.)

Fixing this might be as simple as moving file(1) and libmagic from the
bootstrap-tool (or cross-tool) stage to the build-tool stage.

By the time the build reaches the build-tool stage, stdint.h should
exist from the point of view of things being built, because it's part of
DragonFly.

Disclaimer: this is only me reasoning through it, I haven't looked at it
yet. :)

-Chris





More information about the Bugs mailing list