Subject: my pkgsrc/www/mozilla-1.1nb1 and phoenix-0.4 builds are "suddenly" failing....
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 12/02/2002 20:28:39
My attempts to rebuild www/phoenix and www/mozilla have failed in the
past few days. I'm pretty sure it's something I updated from pkgsrc
CVS, not something I've changed locally. I had both mozilla-1.1nb1 and
phoenix-0.4 installed just fine, but I went to build them both on
another machine and they failed so I went back to my development
machine, de-installed them, and tried again, but now with the same
problem in both.
They seems to be failing with something to do with LDAP, and since my
OpenLDAP install was pretty old, and just to be sure, I re-installed
pretty much all the stuff on the dependency graphs, including openldap.
They still fail in exactly the same way:
[[ ... not enough scroll-back buffer to catch the very top ... ]]
===> Required build-only package m4-1.4 installed OK (need m4>=1.4)
===> Required build-only package x11-links-0.8 installed OK (need x11-links>=0.8)
/bin/cp "../../www/mozilla/files"/xptcinvoke_asm_sparc64_netbsd.s /var/package-obj/www/mozilla/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc64_netbsd.s
/bin/cp "../../www/mozilla/files"/xptcstubs_asm_sparc64_netbsd.s /var/package-obj/www/mozilla/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_netbsd.s
/bin/cp "../../www/mozilla/files"/xptcinvoke_sparc64_netbsd.cpp /var/package-obj/www/mozilla/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc64_netbsd.cpp
/bin/cp "../../www/mozilla/files"/xptcstubs_sparc64_netbsd.cpp /var/package-obj/www/mozilla/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc64_netbsd.cpp
===> Patching for mozilla-1.1nb1
===> Applying pkgsrc patches for mozilla-1.1nb1
===> Buildlinking(v2) for mozilla-1.1nb1
BuildLink packages: freetype2 gdk-pixbuf jpeg png tiff gtk gettext iconv glib pth ORBit openldap
BuildLink X11 dir: /var/package-obj/www/mozilla/work/.buildlink-x11
Linking freetype2 files into /var/package-obj/www/mozilla/work/.buildlink.
Linking jpeg files into /var/package-obj/www/mozilla/work/.buildlink.
Linking zlib files into /var/package-obj/www/mozilla/work/.buildlink.
Linking png files into /var/package-obj/www/mozilla/work/.buildlink.
Linking tiff files into /var/package-obj/www/mozilla/work/.buildlink.
Linking iconv files into /var/package-obj/www/mozilla/work/.buildlink.
Linking gettext files into /var/package-obj/www/mozilla/work/.buildlink.
Linking pth files into /var/package-obj/www/mozilla/work/.buildlink.
Linking glib files into /var/package-obj/www/mozilla/work/.buildlink.
Linking gtk files into /var/package-obj/www/mozilla/work/.buildlink.
Linking gdk-pixbuf files into /var/package-obj/www/mozilla/work/.buildlink.
Linking tcp_wrappers files into /var/package-obj/www/mozilla/work/.buildlink.
Linking ORBit files into /var/package-obj/www/mozilla/work/.buildlink.
Linking openldap files into /var/package-obj/www/mozilla/work/.buildlink.
===> Configuring for mozilla-1.1nb1
cd /var/package-obj/www/mozilla/work/mozilla && /usr/pkg/bin/autoconf-2.13
configure.in:3330: warning: AC_TRY_RUN called without default to allow cross compiling
creating cache ./config.cache
[[ ... blah, blah, blah... ]]
configuring in nsprpub
running /bin/sh ./configure --disable-tests --disable-debug --enable-mathml --enable-crypto --enable-svg --enable-optimize=-pipe --enable-shared --without-pthreads --enable-ldap --host=i386--netbsdelf --prefix=/usr/pkg --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-dist-prefix=/var/obj/package/www/mozilla/work/mozilla/dist --with-mozilla --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
configure: warning: Recreating autoconf.mk with updated nspr-config output
configuring in directory/c-sdk
running /bin/sh ./configure --disable-tests --disable-debug --enable-mathml --enable-crypto --enable-svg --enable-optimize=-pipe --enable-shared --without-pthreads --enable-ldap --host=i386--netbsdelf --prefix=/usr/pkg --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --prefix=/var/obj/package/www/mozilla/work/mozilla/dist --with-dist-prefix=/var/obj/package/www/mozilla/work/mozilla/dist --without-nss --with-mozilla --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
[[ ... blah, blah, blah... ]]
creating ./config.status
creating Makefile
creating config/Makefile
creating config/autoconf.mk
creating ldap/Makefile
creating ldap/build/Makefile
creating ldap/clients/tools/Makefile
creating ldap/include/Makefile
creating ldap/libraries/Makefile
creating ldap/libraries/libldap/Makefile
creating ldap/libraries/libprldap/Makefile
creating ldap/libraries/libldif/Makefile
creating ldap/libraries/liblber/Makefile
creating ldap/libraries/libiutil/Makefile
creating ldap/libraries/libssldap/Makefile
===> Building for mozilla-1.1nb1
/usr/pkg/bin/gmake tier_0
gmake[1]: Entering directory `/var/obj/package/www/mozilla/work/mozilla'
[[ ... blah, blah, blah... ]]
gmake[3]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/config'
cd ldap; /usr/pkg/bin/gmake export
gmake[3]: Entering directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap'
cd build; /usr/pkg/bin/gmake export
gmake[4]: Entering directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/build'
cc -o dirver.o -c -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -O2 -g -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -pipe -ansi -Wall -pipe -fPIC -DPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DNETBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_PR_LOCAL_THREADS_ONLY=1 -DFORCE_PR_LOG dirver.c
dirver.c: In function `_GetVersions':
dirver.c:81: warning: suggest parentheses around assignment used as truth value
dirver.c:84: warning: suggest parentheses around assignment used as truth value
dirver.c:87: warning: suggest parentheses around assignment used as truth value
dirver.c:74: warning: unused variable `nReturn'
dirver.c: In function `_GenBuildDate':
dirver.c:132: warning: suggest parentheses around assignment used as truth value
dirver.c:135: warning: suggest parentheses around assignment used as truth value
dirver.c: At top level:
dirver.c:185: warning: return-type defaults to `int'
cc -o dirver -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -O2 -g -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -pipe -ansi -Wall -pipe -fPIC -DPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DNETBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_PR_LOCAL_THREADS_ONLY=1 -DFORCE_PR_LOG ./dirver.o -Wl,-R/usr/pkg/lib/mozilla -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
../../config/./nsinstall -R -m 555 dirver /var/obj/package/www/mozilla/work/mozilla/dist/bin
gmake[4]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/build'
cd include; /usr/pkg/bin/gmake export
gmake[4]: Entering directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/include'
../../config/./nsinstall -D /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap
/usr/pkg/bin/perl ./../build/replace.pl \
LDAP_VENDOR_NAME="mozilla.org" \
LDAP_VENDOR_VERSION="500" \
< ldap-standard-tmpl.h > /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap/ldap-standard.h
../../config/./nsinstall -D /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap-private
../../config/./nsinstall -D /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap-nspr
../../config/./nsinstall -R -m 644 ./disptmpl.h ./lber.h ./ldap.h ./ldap-extension.h ./ldap-platform.h ./ldap-to-be-deprecated.h ./ldap-deprecated.h ./ldap_ssl.h ./ldappr.h ./iutil.h ./srchpref.h /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap
../../config/./nsinstall -R -m 644 ./../libraries/libldap/ldap-int.h ./../libraries/liblber/lber-int.h ./portable.h ./ldaprot.h ./ldaplog.h /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap-private
rm -rf /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap-nspr/*
cp -r /var/obj/package/www/mozilla/work/mozilla/dist/./include/nspr/* /var/obj/package/www/mozilla/work/mozilla/dist/public/ldap-nspr
gmake[4]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/include'
cd libraries; /usr/pkg/bin/gmake export
gmake[4]: Entering directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/libraries'
cd liblber; /usr/pkg/bin/gmake export
gmake[5]: Entering directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
cc -o decode.o -c -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -O2 -g -pipe -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -pipe -ansi -Wall -pipe -fPIC -DPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DNETBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_PR_LOCAL_THREADS_ONLY=1 -DFORCE_PR_LOG -DUSE_WAITPID -DNEEDPROTOS -DNET_SSL -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC -I../../../ldap/include -I/var/obj/package/www/mozilla/work/mozilla/dist/./include decode.c
In file included from decode.c:37:
lber-int.h:106: syntax error before `LDAP_CALLBACK'
lber-int.h:115: redefinition of `Seqorset'
/var/package-obj/www/mozilla/work/.buildlink/include/lber.h:159: `Seqorset' previously declared here
lber-int.h:134: syntax error before `ldap_x_iovec'
lber-int.h:150: syntax error before `BERTranslateProc'
lber-int.h:172: syntax error before `LDAP_IOF_READ_CALLBACK'
lber-int.h:183: syntax error before `LDAP_X_EXTIOF_READ_CALLBACK'
lber-int.h:192: syntax error before `LBER_SOCKET'
lber-int.h:201: syntax error before `LBER_SOCKET'
lber-int.h:208: field `sb_ext_io_fns' has incomplete type
decode.c:47: syntax error before `ber_get_tag'
decode.c:54: syntax error before `if'
cpp: output pipe has been closed
gmake[5]: *** [decode.o] Error 1
gmake[5]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
gmake[4]: *** [export] Error 2
gmake[4]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap/libraries'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk/ldap'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla/directory/c-sdk'
gmake[1]: *** [ldap] Error 2
gmake[1]: Leaving directory `/var/obj/package/www/mozilla/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/www/mozilla
*** Error code 1
Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/www/mozilla
--
Greg A. Woods
+1 416 218-0098; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>