buildworld failure on FreeBSD 4.x

Joerg Sonnenberger joerg at britannica.bec.de
Fri Mar 4 05:50:18 PST 2005


On Thu, Mar 03, 2005 at 07:48:00PM -0800, Chris Pressey wrote:
> 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.

It is not a bootstrap tool, but has to run on the current system.
That's why it has to use the installed headers and not the DragonFly
headres.

Joerg





More information about the Bugs mailing list