Can't update apr1 on 7.3 stable

eculp eculp at encontacto.net
Sun Nov 7 13:30:56 UTC 2010


Quoting Christer Solskogen <christer.solskogen at gmail.com>:

> On Sun, Nov 7, 2010 at 3:44 AM, eculp <eculp at encontacto.net> wrote:
>> Trying to update all my ports on 7.3-STABLE FreeBSD 7.3-STABLE #1135: Fri
>> Oct 29 07:32:29 CDT 2010.
>>
>> I can't get apr1 to build. &nbsp;It breaks with the following messages:
>>
>
> Try uninstallling automake, autoconf and libtool first.
>
> --
> chs,
>
Thanks so much, Chris.  Hopefully someone can see the errors in my  
ways while doing this.    I have done that many times already but I  
think that maybe I may be leaving something undone or in the wrong  
order, etc.  So, I just did the following:

               First check the existing packages
# ls -d /var/db/pkg/automake* /var/db/pkg/autoconf* /var/db/pkg/libtool*
/var/db/pkg/autoconf-2.68               /var/db/pkg/automake-1.11.1     
          /var/db/pkg/automake-wrapper-20071109
/var/db/pkg/autoconf-wrapper-20071109   /var/db/pkg/automake-1.4.6_6    
          /var/db/pkg/libtool-2.2.10

                Deinstall them
/# pkg_deinstall /var/db/pkg/automake* /var/db/pkg/autoconf*  
/var/db/pkg/libtool*
--->  Deinstalling 'automake-1.11.1'
--->  Deinstalling 'automake-1.4.6_6'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1153  
packages found (-1 +0) (...) done]
--->  Deinstalling 'autoconf-2.68'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1152  
packages found (-1 +0) (...) done]
--->  Deinstalling 'automake-wrapper-20071109'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1151  
packages found (-1 +0) (...) done]
--->  Deinstalling 'libtool-2.2.10'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1150  
packages found (-1 +0) (...) done]
--->  Deinstalling 'autoconf-wrapper-20071109'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1149  
packages found (-1 +0) (...) done]
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1148  
packages found (-1 +0) (...) done]

                     Verify that they have actually been deinstalled
# ls -d /var/db/pkg/automake* /var/db/pkg/autoconf* /var/db/pkg/libtool*
ls: /var/db/pkg/autoconf*: No such file or directory
ls: /var/db/pkg/automake*: No such file or directory
ls: /var/db/pkg/libtool*: No such file or directory

                     I did not delete the original apr1 - first in the list
ls -d /var/db/pkg/*apr*
/var/db/pkg/apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1   
/var/db/pkg/xf86dgaproto-2.1                             
/var/db/pkg/xineramaproto-1.2

                     I then ran
# portmaster apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1

                     The end is again repeated

===>  Building for apr-ipv6-devrandom-gdbm-db46-ldap24-1.4.2.1.3.10
cd /new/usr/local/ports/devel/apr1/work/apr-1.4.2; /usr/bin/env  
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES  
ACLOCAL=/usr/local/bin/aclocal-1.11  
AUTOMAKE=/usr/local/bin/automake-1.11 AUTOMAKE_VERSION=111  
AUTOCONF=/usr/local/bin/autoconf-2.68  
AUTOHEADER=/usr/local/bin/autoheader-2.68  
AUTOIFNAMES=/usr/local/bin/ifnames-2.68  
AUTOM4TE=/usr/local/bin/autom4te-2.68  
AUTORECONF=/usr/local/bin/autoreconf-2.68  
AUTOSCAN=/usr/local/bin/autoscan-2.68  
AUTOUPDATE=/usr/local/bin/autoupdate-2.68 AUTOCONF_VERSION=268  
LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize  
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 PREFIX=/usr/local   
LOCALBASE=/usr/local X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib  
-lXm -lXp" LIBDIR="/usr/lib"  CC="cc" CPP="cpp" CXX="c++"  CFLAGS="-O2  
-fno-strict-aliasing -pipe -DLDAP_DEPRECATED" CXXFLAGS="-O2  
-fno-strict-aliasing -pipe -DLDAP_DEPRECATED"  MANPREFIX="/usr/local"  
BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"   
BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"   
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"   
BSD_INSTALL_DATA="install  -o root -g wheel -m 444"   
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" /usr/bin/make
/bin/sh /new/usr/local/ports/devel/apr1/work/apr-1.4.2/libtool  
--silent --mode=compile cc -g -O2   -DHAVE_CONFIG_H    -I./include  
-I/new/usr/local/ports/devel/apr1/work/apr-1.4.2/include/arch/unix  
-I./include/arch/unix  
-I/new/usr/local/ports/devel/apr1/work/apr-1.4.2/include/arch/unix  
-I/new/usr/local/ports/devel/apr1/work/apr-1.4.2/include  -o  
passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch  
passwd/apr_getpass.lo
X--mode=compile: not found
*** Warning: inferring the mode of operation is deprecated.: not found
*** Future versions of Libtool will require --mode=MODE be specified.:  
not found
Xcc: not found
X-g: not found
X-O2: not found
X-DHAVE_CONFIG_H: not found
/new/usr/local/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include:  
not found
/new/usr/local/ports/devel/apr1/work/apr-1.4.2/libtool:  
X-I/new/usr/local/ports/devel/apr1/work/apr-1.4.2/include/arch/unix:  
not found
/new/usr/local/ports/devel/apr1/work/apr-1.4.2/libtool:  
X-I./include/arch/unix: not found
/new/usr/local/ports/devel/apr1/work/apr-1.4.2/libtool:  
X-I/new/usr/local/ports/devel/apr1/work/apr-1.4.2/include/arch/unix:  
not found
/new/usr/local/ports/devel/apr1/work/apr-1.4.2/libtool:  
X-I/new/usr/local/ports/devel/apr1/work/apr-1.4.2/include: not found
X-c: not found
/new/usr/local/ports/devel/apr1/work/apr-1.4.2/libtool:  
Xpasswd/apr_getpass.lo: not found
libtool: compile: cannot determine name of library object from `': not found
*** Error code 1

Stop in /new/usr/local/ports/devel/apr1/work/apr-1.4.2.
*** Error code 1

Stop in /new/usr/local/ports/devel/apr1/work/apr-1.4.2.
*** Error code 1

Stop in /new/usr/local/ports/devel/apr1.
*** Error code 1

Stop in /new/usr/local/ports/devel/apr1.

===>>> make failed for devel/apr1
===>>> Aborting update

===>>> The following actions were performed:
         Installation of devel/autoconf-wrapper (autoconf-wrapper-20071109)
         Installation of devel/autoconf268 (autoconf-2.68)
         Installation of devel/automake-wrapper (automake-wrapper-20071109)
         Installation of devel/automake111 (automake-1.11.1)
         Installation of devel/libtool22 (libtool-2.2.10)


===>>> You can restart from the point of failure with this command line:
        portmaster <flags> devel/apr1

Thanks for any corrections to the procedure or anything else that I  
could be doing wrong.

Thanks again,

ed


More information about the freebsd-ports mailing list