pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstrap broken on Solaris



>> 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/makefile.boot.in (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 makefile.boot.in
Index: makefile.boot.in
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bmake/files/makefile.boot.in,v
retrieving revision 1.4
retrieving revision 1.3
diff -r1.4 -r1.3
2c2
< #     $Id: makefile.boot.in,v 1.4 2007/05/23 04:21:05 schmonz Exp $
---
> #     $Id: makefile.boot.in,v 1.3 2006/05/31 09:47:01 joerg Exp $
17,18c17
< CFLAGS=@CFLAGS@
< CFLAGS+=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ ${XDEFS}
-D_PATH_DEFSYSPATH=\"@default_sys_path@\"
---
> CFLAGS=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ ${XDEFS}
-D_PATH_DEFSYSPATH=\"@default_sys_path@\"

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?


Regards

Uli


-- 
Ulrich Habel (http://habel.name)
Solaris Binary Packages based on pkgsrc (http://sunpkg.de)




Home | Main Index | Thread Index | Old Index