Subject: Zoularis/Solaris 9
To: None <>
From: John Carr <>
List: tech-pkg
Date: 12/11/2002 13:12:14
Hello, all!

I'm trying to get Zoularis working under Solaris 9/SPARC 32-bit and I'm 
running into a familiar problem. I know this has come up in the past, but
I've not seen what the resolution is by searching through the mail archives
. I've run the stock Zoularis-20010807 package as well as compiled my 
own from CVS, but with the same result.  Nothing builds out of 
pkgsrc-current since digest and friends need to be updated.  
In this case, sys/cdefs.h *does* exist in /usr/pkg/bsd/include/sys. 

The following was done with "PKG_DEBUG_LEVEL?=       2" set in
/usr/pkgsrc/mk/ This example is with the Zoularis-20010807 package,
but the result is the same after building Zoularis out of CVS.

I have a feeling this is something horribly silly and obvious, 
but I'm not seeing it.  Any help would be greatly appreciated! 

ultra:/usr/pkgsrc/pkgtools/digest ] bmake
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/touch -f /usr/pkgsrc/pkgtools/digest/work/.patch_done
+ /usr/bin/touch -f /usr/pkgsrc/pkgtools/digest/work/.patch_done
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/touch -f /usr/pkgsrc/pkgtools/digest/work/.configure_done
+ /usr/bin/touch -f /usr/pkgsrc/pkgtools/digest/work/.configure_done
set -x;/usr/bin/true
+ /usr/bin/true
set -x;cd /usr/pkgsrc/pkgtools/digest && bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_
OPSYS=solaris DIGEST=/usr/pkg/bin/digest PKGTOOLS_VERSION="20010724" ZOULARIS_VE
RSION="20010704" NETBSD_COMPATIBLE=YES real-build
+ cd /usr/pkgsrc/pkgtools/digest
+ bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris DIGEST=/usr/pkg/bin/diges
===> Building for digest-20010807
set -x;cd /usr/pkgsrc/pkgtools/digest/work && /usr/bin/env BINDIR=/usr/pkg/bin M
ANDIR=/usr/pkg/man VERSION="20010807" USETOOLS=no MAKECONF=/dev/null USETOOLS="n
o" OBJECT_FMT="ELF" LDFLAGS=" -Wl,-R/usr/pkg/lib -L/usr/pkg/lib" PATH=/usr/pkgsr
bin:/usr/X11R6/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 CFLAGS=
"-O2 -I/usr/pkg/include" CPPFLAGS="-I/usr/pkg/bsd/include -D__EXTENSIONS__ -D_XP
G4_2 -DSUNOS_5_8  -I/usr/pkg/include" FFLAGS="-O" X11PREFIX=/usr/X11R6 BSD_INSTA
LL_PROGRAM="/usr/ucb/install -c -s -o root -g sys -m 555"                BSD_INS
TALL_SCRIPT="/usr/ucb/install -c -o root -g sys -m 555"                  BSD_INS
TALL_DATA="/usr/ucb/install -c -o root -g sys -m 444"                    BSD_INS
TALL_MAN="/usr/ucb/install -c -o root -g sys -m 444"                     BSD_INS
TALL_PROGRAM_DIR="/usr/ucb/install -d -o root -g sys -m 555"     BSD_INSTALL_SCR
IPT_DIR="/usr/ucb/install -d -o root -g sys -m 555"              BSD_INSTALL_DAT
A_DIR="/usr/ucb/install -d -o root -g sys -m 555"                BSD_INSTALL_MAN
_DIR="/usr/ucb/install -d -o root -g sys -m 555" PKG_SYSCONFDIR="/usr/pkg/etc" B
UILDLINK_DIR="/usr/pkgsrc/pkgtools/digest/work/.buildlink" BUILDLINK_X11_DIR="/u
sr/pkgsrc/pkgtools/digest/work/.buildlink-x11" BUILDLINK_CPPFLAGS="-I/usr/pkg/in
clude" BUILDLINK_LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib"  CC="gcc" CXX="g++"
  LD="ld"   bmake  -f Makefile all
+ cd /usr/pkgsrc/pkgtools/digest/work
+ /usr/bin/env BINDIR=/usr/pkg/bin MANDIR=/usr/pkg/man VERSION=20010807 USETOOLS
=no MAKECONF=/dev/null USETOOLS=no OBJECT_FMT=ELF LDFLAGS= -Wl,-R/usr/pkg/lib -L
/usr/pkg/lib PATH=/usr/pkgsrc/pkgtools/digest/work/.buildlink/bin:/usr/ccs/bin:/
r/ PREFIX=/usr/pkg LOCALBASE=/usr/pk
g X11BASE=/usr/X11R6 CFLAGS=-O2 -I/usr/pkg/include CPPFLAGS=-I/usr/pkg/bsd/inclu
de -D__EXTENSIONS__ -D_XPG4_2 -DSUNOS_5_8  -I/usr/pkg/include FFLAGS=-O X11PREFI
X=/usr/X11R6 BSD_INSTALL_PROGRAM=/usr/ucb/install -c -s -o root -g sys -m 555 BS
D_INSTALL_SCRIPT=/usr/ucb/install -c -o root -g sys -m 555 BSD_INSTALL_DATA=/usr
/ucb/install -c -o root -g sys -m 444 BSD_INSTALL_MAN=/usr/ucb/install -c -o roo
t -g sys -m 444 BSD_INSTALL_PROGRAM_DIR=/usr/ucb/install -d -o root -g sys -m 55
5 BSD_INSTALL_SCRIPT_DIR=/usr/ucb/install -d -o root -g sys -m 555 BSD_INSTALL_D
ATA_DIR=/usr/ucb/install -d -o root -g sys -m 555 BSD_INSTALL_MAN_DIR=/usr/ucb/i
nstall -d -o root -g sys -m 555 PKG_SYSCONFDIR=/usr/pkg/etc BUILDLINK_DIR=/usr/p
kgsrc/pkgtools/digest/work/.buildlink BUILDLINK_X11_DIR=/usr/pkgsrc/pkgtools/dig
est/work/.buildlink-x11 BUILDLINK_CPPFLAGS=-I/usr/pkg/include BUILDLINK_LDFLAGS=
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib CC=gcc CXX=g++ LD=ld bmake -f Makefile all
gcc -O2 -I/usr/pkg/include  -Werror  -I/usr/pkg/bsd/include -D__EXTENSIONS__ -D_
XPG4_2 -DSUNOS_5_8  -I/usr/pkg/include -I/usr/pkgsrc/pkgtools/digest/work -DVERS
ION="20010807" -c digest.c
digest.c:33: sys/cdefs.h: No such file or directory
In file included from digest.c:45:
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:27: sys/cdefs.h: No such file or direc
*** Error code 1

bmake: stopped in /usr/pkgsrc/pkgtools/digest/work
*** Error code 1
bmake: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

bmake: stopped in /usr/pkgsrc/pkgtools/digest