From owner-freebsd-current@FreeBSD.ORG Tue Mar 23 00:20:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC2B216A4CE; Tue, 23 Mar 2004 00:20:45 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E105943D46; Tue, 23 Mar 2004 00:20:41 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2N8Na8b098974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Mar 2004 10:23:38 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2N8KXV8020464; Tue, 23 Mar 2004 10:20:33 +0200 (EET) (envelope-from ru) Date: Tue, 23 Mar 2004 10:20:33 +0200 From: Ruslan Ermilov To: Alfred Perlstein Message-ID: <20040323082033.GA20372@ip.net.ua> References: <20040323075559.GB54769@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20040323075559.GB54769@elvis.mu.org> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: nectar@freebsd.org cc: current@freebsd.org Subject: Re: make includes broken by kerb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 08:20:46 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 22, 2004 at 11:55:59PM -0800, Alfred Perlstein wrote: > I have rm-rf'd /usr/include then attempted to "make includes". >=20 > It breaks in ${SRC}/kerberos5/lib/libasn1 because this insists on > building some tool to generate the header "krb5_asn1.h". >=20 > PErhaps krb5_asn1.h needs to be generated ahead of time and=20 > committed to CVS? >=20 > Regardless, can someone fix this? >=20 It's not broken, it correctly rebuilds that tool (asn1_compile) when necessary: : Script started on Tue Mar 23 10:12:35 2004 : # pwd : /usr/src/kerberos5/lib/libasn1 : # make buildincludes : compile_et /usr/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn= 1/asn1_err.et : cd /usr/src/kerberos5/lib/libasn1/../../tools/asn1_compile && make : cd /usr/src/kerberos5/tools/asn1_compile/../make-print-version && make : cc -O -pipe -march=3Dpentiumpro -DHAVE_CONFIG_H -I/usr/src/kerberos5/tool= s/make-print-version/../../include -DINET6 -c /usr/src/kerberos5/tools/mak= e-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c : cc -O -pipe -march=3Dpentiumpro -DHAVE_CONFIG_H -I/usr/src/kerberos5/tool= s/make-print-version/../../include -DINET6 -o make-print-version make-pri= nt-version.o=20 : ../make-print-version/make-print-version print_version.h : cd /usr/src/kerberos5/tools/asn1_compile/../make-roken && make : awk -f /usr/src/kerberos5/tools/make-roken/../../../crypto/heimdal/lib/ro= ken/roken.awk /usr/src/kerberos5/tools/make-roken/../../../crypto/heimdal/l= ib/roken/roken.h.in > make-roken.c : cc -O -pipe -march=3Dpentiumpro -DHAVE_CONFIG_H -I/usr/src/kerberos5/tool= s/make-roken/../../include -DINET6 -c make-roken.c : cc -O -pipe -march=3Dpentiumpro -DHAVE_CONFIG_H -I/usr/src/kerberos5/tool= s/make-roken/../../include -DINET6 -o make-roken make-roken.o=20 : ../make-roken/make-roken > roken.h : yacc -d -o parse.c /usr/src/kerberos5/tools/asn1_compile/../../../crypto/= heimdal/lib/asn1/parse.y : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/gen.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/gen_copy.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/gen_decode.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/gen_encode.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/gen_free.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/gen_glue.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/gen_length.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/hash.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/roken/emalloc.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/main.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/asn1/symbol.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/roken/getarg.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/roken/warnerr.c : lex -t /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib= /asn1/lex.l > lex.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c lex.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c parse.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/vers/print_version.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/roken/get_window_size.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -c /usr/src/kerberos5/tools/asn1= _compile/../../../crypto/heimdal/lib/roken/strupr.c : cc -O -pipe -march=3Dpentiumpro -I/usr/src/kerberos5/tools/asn1_compile/.= =2E/../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/= =2E./../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5= /tools/asn1_compile/../../include -DINET6 -o asn1_compile gen.o gen_copy.= o gen_decode.o gen_encode.o gen_free.o gen_glue.o gen_length.o hash.o emall= oc.o main.o symbol.o getarg.o warnerr.o lex.o parse.o print_version.o get_w= indow_size.o strupr.o=20 : ../../tools/asn1_compile/asn1_compile /usr/src/kerberos5/lib/libasn1/../.= =2E/../crypto/heimdal/lib/asn1/k5.asn1 krb5_asn1 :=20 : Script done on Tue Mar 23 10:12:54 2004 (During the buildworld, the tool is pre-built using the host toolchain, as part of the build-tools stage of buildworld.) One case where it can be broken for you is if you have object directory for kerberos5/lib/libasn1 but do not have object directory for kerberos5/tools/asn1_compile. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAX/NRUkv4P6juNwoRAvGFAJ0aG8tZHavNdqTY/dB/nGTds1HmswCfXOWg tYkKCm2Dcry3VWgRxwv0j1I= =PgyH -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--