Date: Fri, 20 Feb 2004 14:02:29 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Danny Braniss <danny@cs.huji.ac.il> Cc: current@FreeBSD.org Subject: Re: cross make buildworld error Message-ID: <20040220120229.GA83714@ip.net.ua> In-Reply-To: <20040220102513.GA42846@ip.net.ua> References: <E1Au7NN-000KxD-9j@cs.huji.ac.il> <20040220102513.GA42846@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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@FreeBSD.org
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFANfdVUkv4P6juNwoRAvEeAJ9E2SSvC0MbskZh3RHri8easrq8JgCeKUEl
Q9GnYUGSfLWLSnAezPVxPCc=
=ckaH
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040220120229.GA83714>
