Subject: pkg/33188: pkgsrc bmake is broken on Solaris
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/04/2006 07:45:00
>Number:         33188
>Category:       pkg
>Synopsis:       pkgsrc bmake is broken on Solaris
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 04 07:45:00 +0000 2006
>Originator:     segv
SunOS e450-lan 5.11 snv_28 sun4u sparc SUNW,Ultra-4

Trying to bootstrap pkgsrc on Solaris I get:

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


cc: acomp failed for /opt/pkg.obj/bmake/arch.c
*** Error code 2

bmake.boot: stopped in /opt/pkg.obj/bmake/SunOS
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
===> exited with status 1