Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 00:01:04 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        "David O'Brien" <obrien@FreeBSD.ORG>, Robert Suetterlin <robert@mpe.mpg.de>, <freebsd-current@FreeBSD.ORG>
Subject:   Re: stage 2 build of contrib/file breaks upgrade from 4.7PRE to CURRENT.
Message-ID:  <20020918235435.N15810-100000@gamplex.bde.org>
In-Reply-To: <20020918113407.O50400-100000@news1.macomnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Sep 2002, Maxim Konovalov wrote:

> On 07:10+0400, Sep 18, 2002, David O'Brien wrote:
>
> > On Tue, Sep 17, 2002 at 11:39:50AM +0200, Robert Suetterlin wrote:
> > > Hello!
> > >
> > > 	I currently upgraded my 4.4 to 4.7-PRE and now tried to get from
> > > there to -CURRENT.
> > >
> > > Unfortunately ``make buildworld'' fails during stage 2 when building
> > > ``usr.bin/file'':
> > > 	usr/src/usr.bin/file/../../contrib/file/file.h:45: stdint.h: No such
> > > 	file or directory
> >
> > I need more context.  Please email a complete build log.
>
> Trying to build -CURRENT on -STABLE:
>
> $ uname -a
> FreeBSD golf.macomnet.net 4.6-20020805-MACOMNET-STABLE FreeBSD
> 4.6-20020805-MACOMNET-STABLE #18: Tue Sep 17 12:09:42 MSD 2002
> maxim@golf.macomnet.net:/usr/obj/usr/src/sys/GOLF  i386
>
> $ cd build/current/src/usr.bin/file
>
> $ make
> cc -O -pipe  -DMAGIC='"/usr/share/misc/magic"' -DBUILTIN_ELF -DELFCORE
> -DHAVE_CONFIG_H -I/home/maxim/build/current/src/usr.bin/file
> -I/home/maxim/build/current/src/usr.bin/file/../../contrib/file    -c
> /home/maxim/build/current/src/usr.bin/file/../../contrib/file/file.c
> In file included from
> /home/maxim/build/current/src/usr.bin/file/../../contrib/file/file.c:28:
> /home/maxim/build/current/src/usr.bin/file/../../contrib/file/file.h:45:
> stdint.h: No such file or directory
> *** Error code 1
>
> Stop in /home/maxim/build/current/src/usr.bin/file.
> $

The mkmagic part of `file' is a build-tool, so it is compiled in the
host environment, so it needs to be portable.  It is unportabilized
using namespace pollution in "namespace_pollute.h", er, "file.h" :->.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020918235435.N15810-100000>