Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2004 10:20:33 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: make includes broken by kerb
Message-ID:  <20040323082033.GA20372@ip.net.ua>
In-Reply-To: <20040323075559.GB54769@elvis.mu.org>
References:  <20040323075559.GB54769@elvis.mu.org>

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

--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/--



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