Subject: Re: bootstrap broken on Solaris
To: None <>
From: Ulrich Habel <>
List: pkgsrc-users
Date: 05/29/2007 19:41:17
>> Have there recently been any modifications to the way bmake is built? It
>> seem
>> to be broken on Solaris:
> Please mail me the full output of the build off list.

well - the fix is quite easy. The commitment of the file

devel/bmake/files/ (1.4)

broke the build. If you downgrade the version to 1.3 the build just runs
fine on my Solaris 9 host.

bash-2.05# cvs diff -r 1.4
RCS file: /cvsroot/pkgsrc/devel/bmake/files/,v
retrieving revision 1.4
retrieving revision 1.3
diff -r1.4 -r1.3
< #     $Id:,v 1.4 2007/05/23 04:21:05 schmonz Exp $
> #     $Id:,v 1.3 2006/05/31 09:47:01 joerg Exp $
< CFLAGS+=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ ${XDEFS}
> CFLAGS=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ ${XDEFS}

is the diff between the two versions.

In depth:

On Solaris the build fails due to the missing sys/cdefs.h file:
rm -f bmake *.[ado] */*.[ado] .*.done .depend
cc -g  -I../../libnbcompat -c  /usr/pkgsrc/bootstrap/work/bmake/arch.c
"/usr/pkgsrc/bootstrap/work/bmake/make.h", line 99: cannot find include
file: <sys/cdefs.h>

The missing header file is provided by the bmake package itself (see
Changelog) and the @CFLAGS@ seems to clear the previous environment. True?



Ulrich Habel (
Solaris Binary Packages based on pkgsrc (