Subject: Re: pkgsrc SunOS 5.9/sparc bulk build results 2005-03-14
To: Jonathan Perkin <jonathan@perkin.org.uk>
From: Dan McMahill <dmcmahill@netbsd.org>
List: pkgsrc-bulk
Date: 03/14/2005 07:38:28
On Mon, Mar 14, 2005 at 09:21:00AM +0000, Jonathan Perkin wrote:
> [ This should be the last one with the grep line length issues, will ]
> [ start another one now to incorporate Dan's fixes -- sketch         ]
> 
> pkgsrc bulk build results
> SunOS 5.9/sun4u
> 
> Environment:
> 
>         CC_VERSION:     cc: Forte Developer 7 C 5.4 2002/03/09
>         CFLAGS:         -O
>         ABI:            32
>         Branch:         HEAD
>         LOCALBASE:      /cache/pkg
>         Misc:           Built as non-root user.
> 
> Summary:
> 
>         Build started:                  Thu Mar 10 11:37:28 2005 UTC
>         Build ended:                    Mon Mar 14 01:14:27 2005 UTC
> 
>         Successfully packaged:          2153
>         Packages really broken:         1253
>         Pkgs broken due to them:        1683
>         Total broken:                   2936
>         Not packaged:                   331
>         Total:                          3267
> 
> Packages not listed here resulted in a binary package. The build
> report, including logs of failed/not-packaged is available from:
> 
> ftp://ftp0.mh.bbc.co.uk/pub/pkgsrc/pkgstat/20050314.0114/broken.html
> 
> 
> Broken packages
> 
> Package                    Breaks  Maintainer
> --------------------------------------------------------------

> net/tightvnc                       mycroft@NetBSD.org

(cd Xvnc && ./configure && make)
imake -I../..//config/cf -DTOPDIR=../../ -DCURDIR=.
make[1]: Entering directory `/cache/pkgsrc/net/tightvnc/work.inet2/vnc_unixsrc/Xvnc/config/imake'
cc -O   -I../..//include -I../..//exports/include/X11  -I../../ -I../..//exports/include  -DNOSTDHDRS      -DNOSTDHDRS -DCPP_PROGRAM="\"/lib/cpp\""   -I/cache/pkg/include  -c -o imake.o imake.c
"imake.c", line 393: warning: implicit function declaration: mktemp
"imake.c", line 435: warning: implicit function declaration: unlink
"imake.c", line 605: warning: implicit function declaration: access
"imake.c", line 605: undefined symbol: R_OK
"imake.c", line 608: undefined symbol: R_OK
"imake.c", line 677: undefined symbol: F_OK
"imake.c", line 705: undefined symbol: R_OK


the -DNOSTDHDRS causes unistd.h to not be included, but thats where you get R_OK,
and friends.  The x boostrap stuff is just way to convoluted for me to fully understand
why -DNOSTDHDRS is even desired here, maybe its not.  For that matter, maybe we shouldn't
be bootstrapping imake here?

-Dan


--