Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249664 - dev-util/subversion-1.5.4 failed to compile / aprutil related ?
Summary: dev-util/subversion-1.5.4 failed to compile / aprutil related ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 22:47 UTC by Markus Giese
Modified: 2008-12-03 13:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the complete error (subversion,8.68 KB, text/plain)
2008-12-03 10:55 UTC, Markus Giese
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Giese 2008-12-02 22:47:53 UTC
subversion 1.5.4 fails to compile with lots of apr errors

libaprutil-1.la /usr/lib/libapr-1.la 
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make: *** [subversion/svnsync/svnsync] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make: *** [subversion/svnadmin/svnadmin] Error 1
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make: *** [subversion/svndumpfilter/svndumpfilter] Error 1
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make: *** [subversion/svnlook/svnlook] Error 1
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make: *** [subversion/svnversion/svnversion] Error 1
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status

Reproducible: Always

Steps to Reproduce:
1.emerge subversion
2.
3.

Actual Results:  
stops process

Expected Results:  
should compile fine
Comment 1 Markus Giese 2008-12-02 22:51:06 UTC
 emerge --info
Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Timestamp of tree: Tue, 02 Dec 2008 22:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r9, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/sunrise /usr/local/portage /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X ace acl acpi alsa amr apache arts asf audiofile avi bash-completion berkdb cairo cdr cli cracklib crypt cups dbus divx4linux dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk hal httpd iconv icq ipv6 isdnlog java jpeg kde kerberos ldap live mad midi mikmod mmx mmxext mp3 mpeg mpg mplayer mudflap mysql ncurses nls nmap nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl php png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sse sse2 ssl stream svcd svg tcpd tiff truetype unicode usb userlocales vcd vorbis win32codecs x86 xgl xine xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="cmi8738" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host mod_php access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter filter case_filter case-filter-in deflate mime-magic cern-meta expires headers proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Rafał Mużyło 2008-12-03 01:03:24 UTC
Could you post following:
full command that triggered the error
your version of apr/apr-util

Check your output of
ldd -r /usr/lib/libaprutil-1.so
ldd -r /usr/lib/libapr-1.so
- there should be no errors.

Those missing symbols are, of course in libapr-1.so,
but libaprutil-1.so should be linked with it.
Comment 3 Markus Giese 2008-12-03 10:55:00 UTC
Created attachment 174148 [details]
the complete error

thw whole error
Comment 4 Markus Giese 2008-12-03 10:59:52 UTC
2 apr-util versions merged :
dev-libs/apr-util-1.3.2
dev-libs/apr-util-0.9.12


 # ldd -r /usr/lib/libaprutil-1.so
undefined symbol: apr_os_uuid_get	(/usr/lib/libaprutil-1.so)
	linux-gate.so.1 =>  (0xb7fd7000)
	libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7f8f000)
	libdb-4.5.so => /usr/lib/libdb-4.5.so (0xb7e7d000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7e5e000)
	libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7e39000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xb7e33000)
	librt.so.1 => /lib/librt.so.1 (0xb7e2a000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7dfc000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7de5000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7de1000)
	libc.so.6 => /lib/libc.so.6 (0xb7cb1000)
	/lib/ld-linux.so.2 (0x80000000)



and 


 # ldd -r /usr/lib/libapr-1.so
	linux-gate.so.1 =>  (0xb7f33000)
	librt.so.1 => /lib/librt.so.1 (0xb7ee1000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7eb3000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7e9c000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7e98000)
	libc.so.6 => /lib/libc.so.6 (0xb7d67000)
	/lib/ld-linux.so.2 (0x80000000)






Comment 5 Markus Giese 2008-12-03 13:15:05 UTC
i recompiled dev-libs/apr-util-1.3.2
and now there is no error anymore, i was able to compile subversion :

# ldd -r /usr/lib/libaprutil-1.so
	linux-gate.so.1 =>  (0xb7f32000)
	libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7eea000)
	libdb-4.5.so => /usr/lib/libdb-4.5.so (0xb7dd8000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7db9000)
	libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7d94000)
	librt.so.1 => /lib/librt.so.1 (0xb7d8a000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d5c000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7d45000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7d41000)
	libc.so.6 => /lib/libc.so.6 (0xb7c11000)
	/lib/ld-linux.so.2 (0x80000000)