On Wed, Jan 11, 2006 at 11:12:47AM -0600, Jolan Luff wrote: > If USE_LIBTOOL=Yes then libtool is added as a build time dependency and > libtool gets installed. This works fine, at least on all of the > developer's systems... Maybe you could give us a list of steps to > reproduce?
Perhaps there's something wrong with my ports tree -- but here's the steps in more detail I use for a package refresh: pkg_delete /var/db/pkg/* cd /usr/ports ; rm -rf bulk update packages make -kf mymakefile install mymakefile contains: SUBDIR += shells/tcsh SUBDIR += x11/tk/8.4 SUBDIR += mail/mutt/snapshot [snip - gettext is a dependency for mutt, the rest of my apps aren't pertinant] .include <bsd.port.subdir.mk> /etc/mk.conf contains: SUDO=/usr/bin/sudo BULK=Yes BIN_PACKAGES=Yes TRUST_PACKAGES=Yes LOCKDIR=/tmp LOCK_CMD=/usr/bin/touch UNLOCK_CMD=/bin/rm I'm looking through the typescript output, and, what caught my eye was: ------ Making all in doc Making all in intl sed -e 's,@''HAVE_POSIX_PRINTF''@,1,g' -e 's,@''HAVE_ASPRINTF''@,1,g' -e 's,@''HAVE_SNPRINTF''@,1,g' -e 's,@''HAVE_WPRINTF''@,0,g' < ./libgnuintl.h.in > libgnuintl.h /usr/local/bin/libtool --mode=compile cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe ./bindtextdom.c /bin/sh: /usr/local/bin/libtool: not found *** Error code 127 Stop in /usr/ports/devel/gettext/w-gettext-0.14.5p0/gettext-0.14.5/gettext-runtime/intl (line 182 of Makefile). *** Error code 1 ------ I now notice that when gettext first begins building, I get a recoverable error due to a missing library (-current as of yesterday, via cvsup from rt.fm), followed by a *warning message* which is probably where libtool doesn't get built: ------ ===> mutt-1.5.11p1 depends on: gettext->=0.14.5 - not found ===> Verifying install for gettext->=0.14.5 in devel/gettext ===> Checking files for gettext-0.14.5p0 `/usr/ports/distfiles/gettext-0.14.5.tar.gz' is up to date. >> Checksum OK for gettext-0.14.5.tar.gz. (sha1) ===> Verifying specs: expat.4 iconv.2 c Missing library for iconv.2 Fatal error *** Error code 1 (continuing) `_internal-libs-depends' not remade because of errors. ===> Extracting for gettext-0.14.5p0 ===> Patching for gettext-0.14.5p0 ===> Configuring for gettext-0.14.5p0 ------ Later on in mutt's build, I do see: ------ ===> libiconv-1.9.2p3 depends on: libtool-1.5.22 - not found ------ at which point libtool begins to build.