Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372215 - dev-vcs/subversion-1.6.16 fails to build when dev-libs/apr built without uuid flag
Summary: dev-vcs/subversion-1.6.16 fails to build when dev-libs/apr built without uuid...
Status: RESOLVED DUPLICATE of bug 355489
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-18 22:45 UTC by ta2002
Modified: 2011-07-04 21:42 UTC (History)
1 user (show)

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


Attachments
/var/log/portage/dev-vcs:subversion-1.6.16:20110701-144845.log (20110701-144845.log,171.46 KB, text/plain)
2011-07-01 14:55 UTC, ta2002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2011-06-18 22:45:41 UTC
See summary.

Reproducible: Always

Steps to Reproduce:
1. USE=-uuid emerge -1 dev-libs/apr
2. emerge -1 dev-vcs/subversion

Actual Results:  
From the build log:

[...]

cd subversion/svnversion && /bin/sh /var/tmp/portage/dev-vcs/subversion-1.6.16/work/subversion-1.6.16/libtool --tag=CC --silent --mode=link i686-pc-linux-gnu-gcc  -march=prescott -O2 -pipe -fomit-frame-pointer -mfpmath=sse   -pthread -D_LARGEFILE64_SOURCE -DNE_LFS     -Wl,-O1 -Wl,--as-needed    -L/usr/lib -L/usr/lib/qt4   -L/usr/lib  -rpath /usr/lib -o svnversion  main.o ../../subversion/libsvn_wc/libsvn_wc-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib -R/usr/lib -laprutil-1 -L/usr/lib -R/usr/lib -lapr-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
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: dev-vcs/subversion-1.6.16 failed (compile phase):
 *   Building of core of Subversion failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8230:  Called die
 * The specific snippet of code:
 *       emake local-all || die "Building of core of Subversion failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-vcs/subversion-1.6.16',
 * the complete build log and the output of 'emerge -pqv =dev-vcs/subversion-1.6.16'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""


Expected Results:  
Not to crash. :)

Builds fine if I then do:
1. USE=+uuid emerge -1 dev-libs/apr
2. emerge -1 dev-vcs/subversion

I don't know if subversion needs a requirement for apr build with uuid or if the uuid flag needs to be extended to subversion, but at the moment, an inconsistency exists.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-06-24 13:24:40 UTC
Please paste your emerge --info and attach full build.log.

Try to rebuild dev-libs/apr-util after 1. I guess it needs use flag= dependency.
Comment 2 Pacho Ramos gentoo-dev 2011-06-30 08:21:00 UTC
(In reply to comment #1)
> Please paste your emerge --info and attach full build.log.
> 
> Try to rebuild dev-libs/apr-util after 1. I guess it needs use flag=
> dependency.

Please reopen when replying
Comment 3 ta2002 2011-07-01 14:52:43 UTC
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 30 Jun 2011 14:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit R X a52 aac aalib accessibility acpi additions alsa amd64 aspell ass audio audiofile bluray bookmarks bwscheduler bzip2 cairo caps cdda cdio cdr chm client consolekit cracklib crypt css cups cxx dbus device-mapper dga directfb djvu downloadorder dri dvd dvdnav dvdr encode exceptions exif expat fam fbcon ffmpeg flac fontconfig fortran gallium gcj gecko ggi gif glib glibc-omitfp gmp gphoto2 gpm gstreamer gtk handbook hardcoded-tables hddtemp holidays hpn iconv idea imap infowidget iostats ipc ipfilter ipv6 jabber javascript jbig jit joystick jpeg kde lcms less libkms libwww live lm_sensors logviewer lzma mad matroska mbox mdns-bundled memlimit midi mmx mmxext mp3 mpeg mta mudflap multilib nas ncurses net netapi network nls no-old-linux nodrm nptl nptlonly ntp ocamlopt offlinehelp ofx ogg opengl openmedia openmp oscar osdmenu pcre pdf perl pm-utils png policykit portmon ps qt3support quotes raptor readline recursion-limit redland rss rtc rtmp scanfolder scanner sdl search secure-delete sensord server shm silc smbclient smtp sndfile sound speex spell sse sse2 ssl ssse3 stats subversion svg sysfs tcpd theora threads threadsafe tiff tremor truetype udev unicode upnp urandom usb userlocales utils v4l2 vcd video vorbis wav webdav-neon webinterface win64 wps xcb xinerama xml xorg xpdf-headers xv xvid yahoo zlib zrtp" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 ta2002 2011-07-01 14:55:10 UTC
Created attachment 278797 [details]
/var/log/portage/dev-vcs:subversion-1.6.16:20110701-144845.log
Comment 5 ta2002 2011-07-01 14:57:22 UTC
Forgot to reopen (my only choices are "confirmed" and "verified" - hope I picked the right one).
Comment 6 ta2002 2011-07-01 15:11:01 UTC
(In reply to comment #1)

> Try to rebuild dev-libs/apr-util after 1. I guess it needs use flag=
> dependency.

Oops. Forgot to reply to this. Yes, that does make a difference. Building apr with USE=-uuid, THEN apr-util, THEN subversion works.

I guess that is just a matter of fixing the ebuilds so that things happen (or don't happen) in the correct order.
Comment 7 Christian Ruppert (idl0r) gentoo-dev 2011-07-04 21:29:03 UTC
You forgot to rebuilt apr-util.
Comment 8 Christian Ruppert (idl0r) gentoo-dev 2011-07-04 21:30:11 UTC
Oops, sorry.. mistake on my side :(
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-07-04 21:42:45 UTC

*** This bug has been marked as a duplicate of bug 355489 ***