Subject: emulators/suse_base failure
To: None <tech-pkg@netbsd.org>
From: Hauke Fath <hf@tangro.de>
List: tech-pkg
Date: 03/13/2002 15:22:34
Hi,

an attempt to update the emulator/suse_* packages from -current pkgsrc
on a -current i386 machine fails with

===> Installing for suse_base-6.4nb5
for FILE in /usr/src/pkgsrc/emulators/suse_base/work/*.sh; do  install -c -o root -g wheel -m 555 $FILE /usr/pkg/sbin/`basename $FILE .sh`;  done
install -d -o root -g wheel -m 555 /usr/pkg/emul/linux/dev
/bin/ln -fs /dev/sound /usr/pkg/emul/linux/dev/dsp
/bin/ln -fs /dev/null /usr/pkg/emul/linux/dev/null
/usr/pkg/sbin/rpm2pkg -d /usr/pkg -f /usr/src/pkgsrc/emulators/suse_base/work/PLIST_DYNAMIC -p emul/linux -i tmp -i usr/tmp -i var /usr/src/pkgsrc/distfiles/suse64/aaa_dir.rpm /usr/src/pkgsrc/distfiles/suse64/shlibs-2.1.3-204.i386.rpm /usr/src/pkgsrc/distfiles/suse64/libz-1.1.3-575.i386.rpm /usr/src/pkgsrc/distfiles/suse64/bash.rpm /usr/src/pkgsrc/distfiles/suse64/gppshare.rpm /usr/src/pkgsrc/distfiles/suse64/ncurses.rpm /usr/src/pkgsrc/distfiles/suse64/sh_utils.rpm
echo "@dirrm emul/linux" >>/usr/src/pkgsrc/emulators/suse_base/work/PLIST_DYNAMIC
install -c -o root -g wheel -m 444 /usr/src/pkgsrc/emulators/suse_base/files/ld.so.conf /usr/pkg/emul/linux/etc
/usr/pkg/emul/linux/sbin/ldconfig -r /usr/pkg/emul/linux
echo "@exec %D/emul/linux/sbin/ldconfig -r %D/emul/linux"  >>/usr/src/pkgsrc/emulators/suse_base/work/PLIST_DYNAMIC
/usr/bin/sed    -e 's:#! :#! /emul/linux:'  -e 's:^RTLD=:RTLD=/emul/linux:'  < /usr/pkg/emul/linux/usr/bin/ldd > /usr/pkg/emul/linux/usr/bin/ldd.new
/bin/mv /usr/pkg/emul/linux/usr/bin/ldd.new /usr/pkg/emul/linux/usr/bin/ldd
/bin/chmod +x /usr/pkg/emul/linux/usr/bin/ldd
/bin/sh: Can't open install
*** Error code 2

Stop.
make: stopped in /usr/src/pkgsrc/emulators/suse_base


-- the last lines from a "make -dx install" are

/usr/pkg/sbin/rpm2pkg -d /usr/pkg -f /usr/src/pkgsrc/emulators/suse_base/work/PLIST_DYNAMIC -p emul/linux -i tmp -i usr/tmp -i var /usr/src/pkgsrc/distfiles/suse64/aaa_dir.rpm /usr/src/pkgsrc/distfiles/suse64/shlibs-2.1.3-204.i386.rpm /usr/src/pkgsrc/distfiles/suse64/libz-1.1.3-575.i386.rpm /usr/src/pkgsrc/distfiles/suse64/bash.rpm /usr/src/pkgsrc/distfiles/suse64/gppshare.rpm /usr/src/pkgsrc/distfiles/suse64/ncurses.rpm /usr/src/pkgsrc/distfiles/suse64/sh_utils.rpm
echo "@dirrm emul/linux" >>/usr/src/pkgsrc/emulators/suse_base/work/PLIST_DYNAMIC
+ echo @dirrm emul/linux
install -c -o root -g wheel -m 444 /usr/src/pkgsrc/emulators/suse_base/files/ld.so.conf /usr/pkg/emul/linux/etc
/usr/pkg/emul/linux/sbin/ldconfig -r /usr/pkg/emul/linux
echo "@exec %D/emul/linux/sbin/ldconfig -r %D/emul/linux"  >>/usr/src/pkgsrc/emulators/suse_base/work/PLIST_DYNAMIC
+ echo @exec %D/emul/linux/sbin/ldconfig -r %D/emul/linux
/usr/bin/sed    -e 's:#! :#! /emul/linux:'  -e 's:^RTLD=:RTLD=/emul/linux:'  < /usr/pkg/emul/linux/usr/bin/ldd > /usr/pkg/emul/linux/usr/bin/ldd.new
+ /usr/bin/sed -e s:#! :#! /emul/linux: -e s:^RTLD=:RTLD=/emul/linux:
/bin/mv /usr/pkg/emul/linux/usr/bin/ldd.new /usr/pkg/emul/linux/usr/bin/ldd
/bin/chmod +x /usr/pkg/emul/linux/usr/bin/ldd
+ /usr/bin/env PKG_PREFIX=/usr/pkg /bin/sh install - POST-INSTALL
/bin/sh: Can't open install
*** Error code 2

Stop.
make: stopped in /usr/src/pkgsrc/emulators/suse_base

???

	hauke