Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2007 12:07:48 +0100
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Unexpected buildworld error with GCC 3.4 from ports
Message-ID:  <20070213110748.GM64768@obiwan.tataz.chchile.org>
In-Reply-To: <45CFC3DD.1060900@u.washington.edu>
References:  <20070211235125.GI64768@obiwan.tataz.chchile.org> <45CFC3DD.1060900@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Garrett,

FWIW, I'm building RELENG_6 src/ in -CURRENT in a chroot jail
containing a RELENG_6 userland.


On Sun, Feb 11, 2007 at 05:33:17PM -0800, Garrett Cooper wrote:
> Search for roken.h in /usr/src?

Actually, roken.h is automatically generated.  It does exist in
/usr/obj nonetheless:

=== 8< === 8< === 8< ===
% 
% >>> stage 2.3: build tools
% [...]
% ===> kerberos5/tools/make-roken (depend)
% awk -f /usr/src/kerberos5/tools/make-roken/../../../crypto/heimdal/lib/roken/roken.awk /usr/src/kerberos5/tools/make-roken/../../../crypto/heimdal/lib/roken/roken.h.in > make-roken.c
% rm -f .depend
% CC='/usr/local/bin/gcc34' mkdep -f .depend -a    -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-roken/../../include -DINET6 -I/usr/obj/usr/src/tmp/legacy/usr/include make-roken.c
% echo make-roken: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend
% ===> kerberos5/tools/asn1_compile (depend)
% lex -t  /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/lex.l > lex.c
% yacc -d -o parse.c /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/parse.y
% cd /usr/src/kerberos5/tools/asn1_compile/../make-print-version && make
% /usr/local/bin/gcc34 -O2 -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-print-version/../../include -DINET6  -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c
% /usr/local/bin/gcc34 -O2 -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-print-version/../../include -DINET6  -I/usr/obj/usr/src/tmp/legacy/usr/include  -L/usr/obj/usr/src/tmp/legacy/usr/lib -o make-print-version make-print-version.o -legacy
% ../make-print-version/make-print-version print_version.h
% cd /usr/src/kerberos5/tools/asn1_compile/../make-roken && make
% /usr/local/bin/gcc34 -O2 -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-roken/../../include -DINET6  -I/usr/obj/usr/src/tmp/legacy/usr/include -c make-roken.c
% /usr/local/bin/gcc34 -O2 -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-roken/../../include -DINET6  -I/usr/obj/usr/src/tmp/legacy/usr/include  -L/usr/obj/usr/src/tmp/legacy/usr/lib -o make-roken make-roken.o -legacy
% ../make-roken/make-roken > roken.h
% [...]
% 
% 
% >>> stage 4.1: building includes
% [...]
% ===> kerberos5/lib/libroken (buildincludes)
% ../../tools/make-roken/make-roken > roken.h
% [...]
% ===> kerberos5/lib/libroken (installincludes)
% sh /usr/src/tools/install.sh -C -o root -g wheel -m 444  roken.h /usr/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/roken-common.h /usr/obj/usr/src/tmp/usr/include
% [...]
=== 8< === 8< === 8< ===


-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



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