Subject: Re: bootstrap is broken on Solaris
To: None <firstname.lastname@example.org>
From: =?ISO-8859-15?Q?Joachim_K=F6nig-Baltes?= <email@example.com>
Date: 04/04/2006 13:21:34
On Sun, 2 Apr 2006 firstname.lastname@example.org wrote:
> I've just updated pkgsrc tree and trying to bootstrap on Solaris
> CC="cc" LIBC= MAKEFLAGS=
> MAKESYSPATH=`pwd`/mk:mk:/opt/pkg/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk ./bmake.boot
> -f Makefile /opt/SUNWspro/bin/cc -xO3 -xtarget=ultra -Xa -xc99=all -xO3
> -xtarget=ultra -I../../libnbcompat -c /opt/pkg.obj/bmake/arch.c
> "/opt/pkg.obj/bmake/make.h", line 99: cannot find include file: <sys/cdefs.h>
> "/opt/pkg.obj/bmake/arch.c", line 562: undefined symbol: SARMAG
> "/opt/pkg.obj/bmake/arch.c", line 566: incomplete struct/union/enum ar_hdr: arh
> "/opt/pkg.obj/bmake/arch.c", line 591: undefined struct/union member: ar_name
> ... and so on.
> Anyone knows a fix??
Seems like CFLAGS gets being set in your mk.conf, at least that was the
problem for me when I tried to bootstrap in a chroot with the scripts
I commented out the lines in /opt/sandbox/scripts/mk.solaris.conf that
set CFLAGS during the bootstrap and the build succeeded.