Subject: pkg/32001: bmake solaris10 bootstrap
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 11/04/2005 12:28:00
>Number:         32001
>Category:       pkg
>Synopsis:       bmake solaris10 bootstrap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 04 12:28:00 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic i86pc


>Description:


bootstrap is broken for solaris 10

[root@u2 1139] pwd
/usr/pkgsrc/bootstrap
[root@u2 1140] ./bootstrap
gcc -O -I. -I/usr/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H  -I../../libnbcompat -I/usr/pkgsrc/bootstrap/work/bmake/missing -D__EXTENSIONS__ "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk\""  -DMAKE_NATIVE  -DSIGNAL_FLAGS=SA_RESTART  -Werror   -I../../libnbcompat -c /usr/pkgsrc/bootstrap/work/bmake/sigcompat.c
bmake.boot: don't know how to make /usr/lib/libc.a. Stop

bmake.boot: stopped in /usr/pkgsrc/bootstrap/work/bmake/SunOS
*** Error code 2
make: Fatal error: Command failed for target `bootstrap'
===> exited with status 1
aborted.
[root@u2 1139]


>How-To-Repeat:


cd bootstrap
./cleanup
./bootstrap


>Fix:


/usr/lib/libc.a does not exist on solaris 10

only /usr/lib/libc.so exist
make depend on it for solaris 10