Subject: Re: security/tcp_wrappers fails under Solaris?
To: Malcolm Herbert <mjch@mjch.net>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 10/05/2007 16:18:29
Malcolm Herbert wrote:
> The build appears to succeed, however it fails during the su-install-all
> target when sh is trying to find libtool ... what's odd is that it has
> found it in the past, according to the debug output ...
>
> |+ /usr/ucb/echo => Becoming ``root'' to make su-install-all (/usr/local/bin/sudo)
> |=> Becoming ``root'' to make su-install-all (/usr/local/bin/sudo)
> |+ /usr/local/bin/sudo /bin/ksh -c cd /usr/pkgsrc/security/tcp_wrappers && /usr/bin/env
> |PATH=/store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.wrapper/bin:/store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.buildlink/bin:/store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.tools/bin:/usr/pkg/bin:/user/mjch/bin:/usr/pkg/sbin:/usr/pkg/bin:/opt/ss11/SUNWspro/bin:/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sfw/sbin:/usr/sfw/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/X11R6/bin:/opt/SUNWspci3/bin:/usr/games:/etc:/usr/etc:/usr/hosts
> |PATH="${PATH}:"/sbin:/usr/sbin /usr/pkg/bin/bmake -d x LOWER_OPSYS=solaris PKG_DEBUG_LEVEL=0
> |su-install-all
> |Password:
> |+ test -f /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.CONFLICTS
> |+ exit 0
> |+ /usr/bin/rm -f /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.warning/*.tmp
>
> :
> :
>
> |+ [ ! -f /usr/pkg/man/man8 ]
> |+ /usr/ucb/install -d -o root -g root -m 755 /usr/pkg/man/man8
> |+ test -x /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.pkgdb/+INSTALL
> |cd /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/tcp_wrappers_7.6-ipv6.1; libtool --mode=install /usr/ucb/install -c -o root -g root -m 555
> |libwrap.la /usr/pkg/lib
> |+ cd /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/tcp_wrappers_7.6-ipv6.1
> |+ libtool --mode=install /usr/ucb/install -c -o root -g root -m 555 libwrap.la /usr/pkg/lib
> |/bin/sh: libtool: not found
> |*** Error code 1
> |
> |Stop.
> |bmake: stopped in /usr/pkgsrc/security/tcp_wrappers
> |*** Error code 1
> |
> |Stop.
> |bmake: stopped in /usr/pkgsrc/security/tcp_wrappers
> |exitcode=1
> |+ /usr/bin/env
> |PATH=/store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.wrapper/bin:/store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.buildlink/bin:/store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.tools/bin:/usr/pkg/bin:/user/mjch/bin:/usr/pkg/sbin:/usr/pkg/bin:/opt/ss11/SUNWspro/bin:/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sfw/sbin:/usr/sfw/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/X11R6/bin:/opt/SUNWspci3/bin:/usr/games:/etc:/usr/etc:/usr/hosts
> |/usr/pkg/bin/bmake _MAKE=/usr/pkg/bin/bmake OPSYS=SunOS OS_VERSION=5.10 LOWER_OS_VERSION=5.10 LOWER_OPSYS=solaris
> |_PKGSRCDIR=/store/mjch/pkgsrc/pkgsrc PKGTOOLS_VERSION=20070416
> |_PATH_ORIG=/user/mjch/bin:/usr/pkg/sbin:/usr/pkg/bin:/opt/ss11/SUNWspro/bin:/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sfw/sbin:/usr/sfw/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/X11R6/bin:/opt/SUNWspci3/bin:/usr/games:/etc:/usr/etc:/usr/hosts
> |_PKGSRC_BARRIER=yes barrier-error-check
> |+ /usr/bin/rm -f /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.warning/*.tmp
> |+ test -d /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.warning
> |+ cd /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.warning
> |+ test ./* != ./*
> |+ exit 0
> |+ /usr/bin/rm -f /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.error/*.tmp
> |+ test -d /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.error
> |+ cd /store/mjch/pkgsrc/pkgsrc/security/tcp_wrappers/work/.error
> |+ test ./* != ./*
> |+ exit 0
> |+ exit 1
> |*** Error code 1
> |
> |Stop.
> |bmake: stopped in /usr/pkgsrc/security/tcp_wrappers
> |dogbert[...pkgsrc/security/tcp_wrappers] 135v>: which libtool
> |/usr/pkg/bin/libtool
>
> .wrapper/bin/libtool is present and appears to be correct ... stumped ... any ideas?
The problem is probably in the paragraph starting at mk/bsd.pkg.mk line
625. Can you replace the "$${PATH}" with ${PATH:Q} and try again, please?
Roland