ports/137558: devel/apr: fails to build with libtool-2.2
Ben Morrow
ben at morrow.me.uk
Sat Aug 8 05:40:02 UTC 2009
>Number: 137558
>Category: ports
>Synopsis: devel/apr: fails to build with libtool-2.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 08 05:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Ben Morrow
>Release: 7.1-RELEASE-p6
>Organization:
>Environment:
uname -a: FreeBSD osiris.mauzo.dyndns.org 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #3: Wed Jun 10 18:16:05 BST 2009 root at osiris.mauzo.dyndns.org:/usr/obj/usr/src/sys/OSIRIS i386
libtool-2.2.6a is installed.
>Description:
Attempting to build devel/apr after installing libtool22 fails. First
buildconf says
===> Configuring for apr-gdbm-db44-1.3.8.1.3.9
cd /var/spool/portbuild/usr/ports/devel/apr/work/apr-1.3.8 ; /usr/bin/e
nv CC="cc" CFLAGS="-O2 -fno-strict-aliasing -pipe -march=pentium4" TMPDI
R="/tmp" TMPDIR="/tmp" PYTHON="/usr/local/bin/python2.6" SHELL=/bin/sh C
ONFIG_SHELL=/bin/sh ACLOCAL=/usr/local/bin/aclocal-1.9 AUTOMAKE=/usr/loc
al/bin/automake-1.9 AUTOMAKE_VERSION=19 AUTOCONF=/usr/local/bin/autoconf
-2.62 AUTOHEADER=/usr/local/bin/autoheader-2.62 AUTOIFNAMES=/usr/local/b
in/ifnames-2.62 AUTOM4TE=/usr/local/bin/autom4te-2.62 AUTORECONF=/usr/lo
cal/bin/autoreconf-2.62 AUTOSCAN=/usr/local/bin/autoscan-2.62 AUTOUPDATE
=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262 LIBTOOL=/usr/local/
bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize LIBTOOL_M4=/usr/local/s
hare/aclocal/libtool.m4 lt_cv_sys_max_cmd_len=262144 /bin/sh ./buildconf
buildconf: checking installation...
buildconf: python version 2.6.2 (ok)
buildconf: autoconf version 2.62 (ok)
buildconf: libtool version 2.2.6 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4.
./buildconf: cannot create build/libtool.m4: Permission denied
Creating include/arch/unix/apr_private.h.in ...
configure.in:190: warning: LTOBSOLETE_VERSION is m4_require'd but not m4
_defun'd
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:190: the top level
Creating configure ...
configure.in:190: warning: LTOBSOLETE_VERSION is m4_require'd but not m4
_defun'd
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:190: the top level
Generating 'make' outputs ...
then later configure says
checking whether system uses EBCDIC... no
performing libtool configuration...
LTOBSOLETE_VERSION: not found
checking for a sed that does not truncate output... /usr/bin/sed
and
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing default commands
and finally the build fails when it gets to
cd /var/spool/portbuild/usr/ports/devel/apr/work/apr-1.3.8; /usr/bin/env
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES ACLOCAL=/usr/loca
l/bin/aclocal-1.9 AUTOMAKE=/usr/local/bin/automake-1.9 AUTOMAKE_VERSION=
19 AUTOCONF=/usr/local/bin/autoconf-2.62 AUTOHEADER=/usr/local/bin/autoh
eader-2.62 AUTOIFNAMES=/usr/local/bin/ifnames-2.62 AUTOM4TE=/usr/local/b
in/autom4te-2.62 AUTORECONF=/usr/local/bin/autoreconf-2.62 AUTOSCAN=/usr
/local/bin/autoscan-2.62 AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOC
ONF_VERSION=262 LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin
/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 PREFIX=/usr/l
ocal LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/li
b -lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict-aliasing
-pipe -march=pentium4" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pi
pe -march=pentium4" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install
-s -m 555" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="
install -m 444" BSD_INSTALL_MAN="install -m 444" /usr/bin/make
/bin/sh /libtool --silent --mode=compile cc -O2 -fno-strict-aliasing -
pipe -march=pentium4 -DHAVE_CONFIG_H -I./include -I/var/spool/portbui
ld/usr/ports/devel/apr/work/apr-1.3.8/include/arch/unix -I./include/arch
/unix -I/var/spool/portbuild/usr/ports/devel/apr/work/apr-1.3.8/include/
arch/unix -I/var/spool/portbuild/usr/ports/devel/apr/work/apr-1.3.8/incl
ude -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/ap
r_getpass.lo
/libtool: Can't open /libtool: No such file or directory
*** Error code 2
Stop in /var/spool/portbuild/usr/ports/devel/apr/work/apr-1.3.8.
It seems from
http://www.mail-archive.com/debian-apache@lists.debian.org/msg11490.html
that this is a known problem with libtool-2.2; that message includes a
patch that supposedly fixes the problem (at least on Debian).
>How-To-Repeat:
Install devel/libtool22.
Attempt to install devel/apr.
>Fix:
There is a potential patch in
http://www.mail-archive.com/debian-apache@lists.debian.org/msg11490.html .
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list