Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 2009 15:32:39 GMT
From:      Troy <troy@twisted.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/137843: Cannot compile devel/apr (version 1.3.8.1.3.9) on AMD64
Message-ID:  <200908161532.n7GFWdH1026938@www.freebsd.org>
Resent-Message-ID: <200908161540.n7GFe4ov031486@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         137843
>Category:       amd64
>Synopsis:       Cannot compile devel/apr (version 1.3.8.1.3.9) on AMD64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 16 15:40:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Troy
>Release:        7.2-STABLE
>Organization:
>Environment:
FreeBSD foo.bar.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat May 23 10:45:33 CDT 2009     foobar@foo.bar.net:/usr/obj/usr/src/sys/FOO  amd64
>Description:
Cannot compile devel/apr.  I run into the following error. I'm also pasting the 9750-9759 lines from /usr/local/shar/libtool/libltdl/configure below the output of build failure.



/usr/ports/devel/apr# make
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on file: /usr/local/bin/python2.6 - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on file: /usr/local/bin/perl5.8.9 - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on file: /usr/local/bin/automake-1.9 - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on file: /usr/local/bin/libtool - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on shared library: expat.6 - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on shared library: gdbm.3 - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on shared library: iconv.3 - found
===>   apr-gdbm-db42-1.3.8.1.3.9 depends on shared library: db-4.2.2 - found
===>  Configuring for apr-gdbm-db42-1.3.8.1.3.9
cd /usr/ports/devel/apr/work/apr-1.3.8 ;  /usr/bin/env CC="cc" CFLAGS="-O2 -fno-strict-aliasing -pipe" PYTHON="/usr/local/bin/python2.6" SHELL=/bin/sh CONFIG_SHELL=/bin/sh ACLOCAL=/usr/local/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/autoheader-2.62 AUTOIFNAMES=/usr/local/bin/ifnames-2.62 AUTOM4TE=/usr/local/bin/autom4te-2.62 AUTORECONF=/usr/local/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/share/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.
Creating include/arch/unix/apr_private.h.in ...
configure.in:190: warning: LTOPTIONS_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
configure.in:190: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:190: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:190: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
Creating configure ...
configure.in:190: warning: LTOPTIONS_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
configure.in:190: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:190: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:190: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:9755: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:12392: error: possibly undefined macro: _LT_SET_OPTIONS
configure:12392: error: possibly undefined macro: LT_INIT
Generating 'make' outputs ...
rebuilding rpm spec file
cd /usr/ports/devel/apr/work/apr-util-1.3.9 ;  /bin/rm -fr xml/expat
cd /usr/ports/devel/apr/work/apr-util-1.3.9 ;  /usr/bin/env CC="cc" CFLAGS="-O2 -fno-strict-aliasing -pipe" PYTHON="/usr/local/bin/python2.6" SHELL=/bin/sh CONFIG_SHELL=/bin/sh ACLOCAL=/usr/local/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/autoheader-2.62 AUTOIFNAMES=/usr/local/bin/ifnames-2.62 AUTOM4TE=/usr/local/bin/autom4te-2.62 AUTORECONF=/usr/local/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/share/aclocal/libtool.m4 lt_cv_sys_max_cmd_len=262144 /bin/sh ./buildconf  --with-apr=/usr/ports/devel/apr/work/apr-1.3.8

Looking for apr source in /usr/ports/devel/apr/work/apr-1.3.8
Creating include/private/apu_config.h ...
Creating configure ...
Generating 'make' outputs ...
rebuilding rpm spec file
cd /usr/ports/devel/apr/work/apr-1.3.8;  /usr/bin/env CC="cc" CFLAGS="-O2 -fno-strict-aliasing -pipe" PYTHON="/usr/local/bin/python2.6" SHELL=/bin/sh CONFIG_SHELL=/bin/sh ACLOCAL=/usr/local/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/autoheader-2.62 AUTOIFNAMES=/usr/local/bin/ifnames-2.62 AUTOM4TE=/usr/local/bin/autom4te-2.62 AUTORECONF=/usr/local/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/share/aclocal/libtool.m4 lt_cv_sys_max_cmd_len=262144 /bin/sh  ./configure --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --with-installbuilddir=/usr/local/share/apr/build-1 --enable-threads --disable-ipv6
checking build system type... x86_64-unknown-freebsd7.2
checking host system type... x86_64-unknown-freebsd7.2
checking target system type... x86_64-unknown-freebsd7.2
Configuring APR library
Platform: x86_64-unknown-freebsd7.2
checking for working mkdir -p... yes
APR Version: 1.3.8
checking for chosen layout... apr
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
Applying APR hints file rules for x86_64-unknown-freebsd7.2
  setting apr_lock_method to "USE_FLOCK_SERIALIZE"
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... cc -E
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for ar... ar
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether system uses EBCDIC... no
performing libtool configuration...
./configure: 9753: Syntax error: word unexpected (expecting ")")
*** Error code 2

Stop in /usr/ports/devel/apr.
*** Error code 1

Stop in /usr/ports/devel/apr.

The following output are the lines 9750-9766 from: /usr/local/share/libtool/libltdl/configure 

9750     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct                        
9751     # soname into executable. Probably we can add versioning support to                                          
9752     # collect2, so additional links can be useful in future.                                                     
9753     if test "$aix_use_runtimelinking" = yes; then                                                                
9754       # If using run time linking (on AIX 4.2 or later) use lib<name>.so                                         
9755       # instead of lib<name>.a to let people know that these are not                                             
9756       # typical AIX shared libraries.                                                                            
9757       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $li      bname${shared_ext}'                                                                                              
9758     else                                                                                                         
9759       # We preserve .a as extension for shared libraries through AIX4.2                                          
9760       # and later when we are not doing run time linking.                                                        
9761       library_names_spec='${libname}${release}.a $libname.a'                                                     
9762       soname_spec='${libname}${release}${shared_ext}$major'                                                      
9763     fi                                                                                                           
9764     shlibpath_var=LIBPATH                                                                                        
9765   fi                                                                                                             
9766   ;;






>How-To-Repeat:
just going into /usr/ports/devel/apr

and type make

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908161532.n7GFWdH1026938>