apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 51244] Incorrect aprlib will be used for aprutil
Date Thu, 20 Dec 2012 16:09:14 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51244

kirsche40@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
                 CC|                            |kirsche40@gmx.de
           Severity|normal                      |blocker

--- Comment #14 from kirsche40@gmx.de ---
This annoying issue still exists in v1.5.1. Here the tail from my try to build
this mess:

/bin/sh /opt/eldk/powerpc/sysroots/powerpc-linux/usr/build-1/libtool --silent
--mode=link  powerpc-linux-gcc -pthread  -m32 -mhard-float 
--sysroot=/opt/eldk-5.1/powerpc/sysroots/powerpc-linux -DHAVE_CONFIG_H
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -m32 -mhard-float 
--sysroot=/opt/eldk-5.1/powerpc/sysroots/powerpc-linux
-I/home/jddev/czsensor-development/czsensor-libraries/apr-util-1.5.1/include
-I/home/jddev/czsensor-development/czsensor-libraries/apr-util-1.5.1/include/private
 -I/opt/eldk/powerpc/sysroots/powerpc-linux/usr/include/apr-1 
-I/home/jddev/czsensor-development/czsensor-libraries/apr-util-1.5.1/xml/expat/lib
 -version-info 5:1:5   --sysroot=/opt/eldk-5.1/powerpc/sysroots/powerpc-linux
-o libaprutil-1.la -rpath /opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib
buckets/apr_brigade.lo buckets/apr_buckets.lo buckets/apr_buckets_alloc.lo
buckets/apr_buckets_eos.lo buckets/apr_buckets_file.lo
buckets/apr_buckets_flush.lo buckets/apr_buckets_heap.lo
buckets/apr_buckets_mmap.lo buckets/apr_buckets_pipe.lo
buckets/apr_buckets_pool.lo buckets/apr_buckets_refcount.lo
buckets/apr_buckets_simple.lo buckets/apr_buckets_socket.lo
crypto/apr_crypto.lo crypto/apr_md4.lo crypto/apr_md5.lo crypto/apr_passwd.lo
crypto/apr_sha1.lo crypto/crypt_blowfish.lo crypto/getuuid.lo crypto/uuid.lo
dbd/apr_dbd.lo dbm/apr_dbm.lo dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm.lo
dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo
encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_stub.lo
ldap/apr_ldap_url.lo memcache/apr_memcache.lo misc/apr_date.lo
misc/apr_queue.lo misc/apr_reslist.lo misc/apr_rmm.lo misc/apr_thread_pool.lo
misc/apu_dso.lo misc/apu_version.lo strmatch/apr_strmatch.lo uri/apr_uri.lo
xlate/xlate.lo xml/apr_xml.lo    -luuid -lrt -lcrypt  -lpthread 
/home/jddev/czsensor-development/czsensor-libraries/apr-util-1.5.1/xml/expat/libexpat.la
             /opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libapr-1.la
-luuid -lrt -lcrypt -lpthread
/bin/grep: /usr/lib/libuuid.la: No such file or directory
/bin/sed: can't read /usr/lib/libuuid.la: No such file or directory
libtool: link: `/usr/lib/libuuid.la' is not a valid libtool archive
make[1]: *** [libaprutil-1.la] Error 1
make[1]: Leaving directory
`/home/jddev/czsensor-development/czsensor-libraries/apr-util-1.5.1'
make: *** [all-recursive] Error 1


Searching for the library at the correct place in cross toolchanin gives the
expected result:

~$ ls /opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libuuid*
/opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libuuid.a  
/opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libuuid.so   
/opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libuuid.so.1.2
/opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libuuid.la 
/opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libuuid.so.1 
/opt/eldk/powerpc/sysroots/powerpc-linux/usr/lib/libuuid.so.1.3.0


Obviously configure script does set the library paths incorrect and does ignore
LDFLAGS.

Because this bug is rather old and apr-utils is still unusable on non-intel
platform I set this issue to blocker and raise the importance level.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message