cross make buildworld error
Ruslan Ermilov
ru at FreeBSD.org
Fri Feb 20 04:02:34 PST 2004
On Fri, Feb 20, 2004 at 12:25:13PM +0200, Ruslan Ermilov wrote:
> On Fri, Feb 20, 2004 at 11:55:17AM +0200, Danny Braniss wrote:
> > trying to compile 5.2 on a 4.9 box:
> >
> > ...
> > mkdep -f .depend -a -I/r+d/obj/dev/r+d/5.2/src/i386/legacy/usr/include
> > -I/r+d/5.2/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/r+
> > d/5.2/src/gnu/usr.bin/gperf /r+d/5.2/src/gnu/usr.bin/gperf/../../../contrib/gp
> > erf/src/bool-array.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../.
> > ./contrib/gperf/src/gen-perf.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../contrib
> > /gperf/src/hash-table.cc /r+d/5.2/src/gnu/usr.bin/gperf/../.
> > ./../contrib/gperf/src/iterator.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../cont
> > rib/gperf/src/key-list.cc /r+d/5.2/src/gnu/usr.bin/gperf/../
> > ../../contrib/gperf/src/list-node.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../co
> > ntrib/gperf/src/main.cc /r+d/5.2/src/gnu/usr.bin/gperf/../..
> > /../contrib/gperf/src/new.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../contrib/gp
> > erf/src/options.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../c
> > ontrib/gperf/src/read-line.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../contrib/g
> > perf/src/trace.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../co
> > ntrib/gperf/src/vectors.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../contrib/gper
> > f/src/version.cc /r+d/5.2/src/gnu/usr.bin/gperf/../../../con
> > trib/gperf/lib/hash.cc
> > /r+d/5.2/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc:24:
> > getopt.h: No such file or directory
> > mkdep: compile failed
> > *** Error code 1
> > ...
> >
> Grr. :-(
>
> I will take care of that in the next few days.
>
First, thank you for the report!
Second, I've fixed it sooner than was planned, enjoy!
For those wondering, there were two issues:
1. Many (GNU) bootstrap- and cross-tools need <getopt.h> and
getopt_long(),
2. Some depend on the new world order (POSIX.1-200x) of <regex.h>
not having <sys/types.h> as the prerequisite, as it is still
the case for 4.x.
On Fri, Feb 20, 2004 at 03:55:14AM -0800, Ruslan Ermilov wrote:
> ru 2004/02/20 03:55:14 PST
>
> FreeBSD src repository
>
> Modified files:
> tools/build Makefile
> lib/libc/stdlib getopt_long.c
> Added files:
> tools/build regex.h
> Log:
> Unbreak the upgrade path from 4.9 after removal of GNU getopt and
> <gnuregex.h>.
>
> Revision Changes Path
> 1.3 +0 -2 src/lib/libc/stdlib/getopt_long.c
> 1.5 +12 -0 src/tools/build/Makefile
> 1.1 +4 -0 src/tools/build/regex.h (new)
Cheers,
--
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040220/17f5ce80/attachment-0001.bin
More information about the freebsd-current
mailing list