pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36387: mk/flavor/pkg/install-dependencies, gtk2+ and PKG_BUILD_OPTIONS




Here is an another examples where the recent changes of install-dependencies breaks recursive package build.
In the examples I echoed the output of the line
${SETENV} ${PKGSRC_MAKE_ENV} _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" 
PKGNAME_REQD="$pattern" ${MAKE} ${MAKEFLAGS} _AUTOMATIC=yes $target


Solaris 10 Sparc with /usr/pkgsrc mounted "read only"

cd /usr/pkgsrc/x11/qt3-tools; bmake

=> Verifying reinstall for ../../x11/qt3-libs
/usr/bin/env PATH=/tmp/pkgsrc/x11/qt3-tools/work.l12/.wrapper/bin:/tmp/pkgsrc/x11/qt3-tools/work.l12/.buildlink/bin:/tmp/pkgsrc/x11/qt3-tools/work.l12/.tools/bin:/opt/pkg/bin:/usr/sbin:/opt/pkg/sbin:/opt/pkg/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/lib:/usr/ucb _PKGSRC_DEPS=, qt3-tools-3.3.8 PKGNAME_REQD=qt3-libs>=3.3.6nb1 /opt/pkg/bin/bmake _MAKE=/opt/pkg/bin/bmake OPSYS=SunOS OS_VERSION=5.10 LOWER_OS_VERSION=5.10 LOWER_OPSYS=solaris _PKGSRCDIR=/pkgsrc/pkgsrc _HOSTNAME=l12 OBJHOSTNAME=yes PKGTOOLS_VERSION=20070416 PKG_BUILD_OPTIONS.openssl=idea\ mdc2\ rc5 _PATH_ORIG=/usr/sbin:/opt/pkg/sbin:/opt/pkg/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/lib:/usr/ucb _AUTOMATIC=yes reinstall
/pkgsrc/pkgsrc/mk/flavor/pkg/install-dependencies[60]: 469 Segmentation Fault
*** Error code 139

I think the segmentation fault is the result of PKGNAME_REQD=qt3-libs>=3.3.6nb1
where the > is used as output redirection.


At all, it seems as soon as PKG_BUILD_OPTIONS either self defined in mk.conf or predefined in pkgsrc contain more the one option the second option is tried to use as make target.

some examples:

1. /etc/mk.conf contains: PKG_OPTIONS.openssl=idea mdc2 rc5

cd /usr/pkgsrc/databases/mysql4-server; make
/usr/bin/env MAKECONF=/etc/mk.conf PATH=/tmp/pkgsrc/databases/mysql4-server/work.hgb2/.wrapper/bin:/tmp/pkgsrc/databases/mysql4-server/work.hgb2/.buildlink/bin:/tmp/pkgsrc/databases/mysql4-server/work.hgb2/.gcc/bin:/tmp/pkgsrc/databases/mysql4-server/work.hgb2/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/xorg/bin:/usr/pkg/bin:/usr/pkg/java/sun-1.4/bin _PKGSRC_DEPS=, mysql-server-4.1.22 PKGNAME_REQD=mysql-client>=4.1.22 /usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=3.1 LOWER_OS_VERSION=3.1 LOWER_OPSYS=netbsd _PKGSRCDIR=/pkgsrc/pkgsrc _HOSTNAME=hgb2 OBJHOSTNAME=yes PKGTOOLS_VERSION=20070416 PKG_BUILD_OPTIONS.openssl=idea\ mdc2\ rc5 _CC=/usr/bin/cc _PATH_ORIG=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/xorg/bin:/usr/pkg/bin:/usr/pkg/java/sun-1.4/bin _AUTOMATIC=yes reinstall
make: don't know how to make mdc2\. Stop


2. options.mk contains: PKG_SUGGESTED_OPTIONS=  aalib arts esound nas

cd /usr/pkgsrc/meta-pkgs/kde3; make
/usr/bin/env MAKECONF=/etc/mk.conf PATH=/tmp/pkgsrc/misc/kdeaddons3/work.hgb2/.wrapper/bin:/tmp/pkgsrc/misc/kdeaddons3/work.hgb2/.buildlink/bin:/tmp/pkgsrc/misc/kdeaddons3/work.hgb2/.gcc/bin:/tmp/pkgsrc/misc/kdeaddons3/work.hgb2/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/xorg/bin:/usr/pkg/bin:/usr/pkg/java/sun-1.4/bin _PKGSRC_DEPS=, kdeaddons-3.5.7, kde-3.5.7 PKGNAME_REQD=kdemultimedia>=3.5.5nb4 /usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=3.1 LOWER_OS_VERSION=3.1 LOWER_OPSYS=netbsd _PKGSRCDIR=/pkgsrc/pkgsrc _HOSTNAME=hgb2 OBJHOSTNAME=yes PKGTOOLS_VERSION=20070416 _CC=/usr/bin/cc _PATH_ORIG=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/pkg/xorg/bin:/usr/pkg/bin:/usr/pkg/java/sun-1.4/bin LOWER_OPSYS=netbsd OBJHOSTNAME=yes PKG_BUILD_OPTIONS.SDL=aalib\ arts\ esound\ nas PKG_BUILD_OPTIONS.aalib=x11 PKG_BUILD_OPTIONS.kdebase=sasl PKG_BUILD_OPTIONS.openldap-client=inet6 PKG_BUILD_OPTIONS.openssl=idea\ mdc2\ rc5 PKG_BUILD_OPTIONS.kdelibs=cups PKG_BUILD_OPTIONS.heimdal=ldap PKG_BUILD_OPTIONS.kdepim=sasl _AUTOMATIC=yes reinstall
make: don't know how to make arts\. Stop



Best regards,
Uwe




Home | Main Index | Thread Index | Old Index