I have dev-utils/subversion-1.1.3 emerged. I also have net-www/apache-2.0.52-r1 emerged. I get this during an emerge: Calculating world dependencies ...done! [blocks B ] >=net-www/apache-2* (is blocking dev-util/subversion-1.1.3) I can unmerge either one to solve the dependency problem. According to the subversion ebuild, it looks like this version of Apache should work: # Presently subversion doesn't build with swig-1.3.22, bug 65424 RDEPEND="apache2? ( >=net-www/apache-2.0.49 ) !apache2? ( !>=net-www/apache-2* ) !dev-libs/apr ... So which is it? Anything greate than or exqual to 2.0.49, or deny all Apache 2? The second one is effective, even though I have 2.0.52. If I take the second apache line out, the problem goes away. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: [blocks B ] >=net-www/apache-2* (is blocking dev-util/subversion-1.1.3) Expected Results: (no conflict)
I know. Currently with stable if you want apache2 and subversion together you must specify the apache2 useflag for subversion (You could add it for subversion only to /etc/portage/package.use). In the unstable series this is not needed any longer as that uses the dev-util/apr-utils package. Older apache and subversion ebuilds each provided their own apr libraries that would overlap. When specifying the apache2 useflag for subversion, subversion will use the ones from apache instead of it's own. In the new apache2 and subversion ebuild the apr-util (and apr) library comes from a shared dependency.
I am getting this error which I think may be related to this bug: cd subversion/tests/libsvn_repos && /bin/sh /var/tmp/portage/subversion-1.1.4/work/subversion-1.1.4/libtool --silent --mode=link i686-pc-linux-gnu-gcc -L/var/tmp/portage/subversion-1.1.4/image//usr/lib -march=pentium4 -O3 -pipe -fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -rpath /usr/lib -o md5args md5args.o ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-0.la -lgdbm -ldb -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl cd subversion/tests/libsvn_subr && /bin/sh /var/tmp/portage/subversion-1.1.4/work/subversion-1.1.4/libtool --silent --mode=link i686-pc-linux-gnu-gcc -L/var/tmp/portage/subversion-1.1.4/image//usr/lib -march=pentium4 -O3 -pipe -fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -rpath /usr/lib -o target-test target-test.o ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-0.la -lgdbm -ldb -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/lib/libaprutil-0.so: undefined reference to `db_create_4001' /usr/lib/libaprutil-0.so: undefined reference to `db_strerror_4001' collect2: ld returned 1 exit status make: *** [subversion/tests/libsvn_subr/target-test] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/libaprutil-0.so: undefined reference to `db_create_4001' /usr/lib/libaprutil-0.so: undefined reference to `db_strerror_4001' collect2: ld returned 1 exit status make: *** [subversion/tests/libsvn_repos/md5args] Error 1 I do not have nor want Apache installed on this box. I have subversion-1.1.3-r1 installed but cannot update to 1.1.4. For reference, my emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 19 2005, 22:50:49)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 a52 aac acpi alsa audiofile avi bash-completion berkdb bzlib cdr crypt divx4linux emboss encode ffmpeg flac gdbm imap java jikes libg++ libwww mad maildir mikmod mime mmx mp3 mpeg mysql nas ncurses network nls nptl nptlonly ogg oggvorbis perl python quicktime readline samba sdl sndfile sockets speex sse sse2 ssl tcpd theora truetype-fonts type1-fonts xml2 xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Well, I was going to bite the bullet and install Apache and Subversion, but I can't install Apache either. Check out bug #84406 for details on the apr goofiness. I think that is stymying my attempt to update to subversion-1.1.4 and apache-2.0.53.
Ok Gregg, the subversion problem is caused by your libaprutil-0.so being compiled against an old version of db. As don't run stable you must go the apache upgrade path. The apache-2.0.53 ebuild does not build this library anymore. You must upgrade apr and apr-util. Probably the best way to go would be to unmerge apr apr-util and apache and then to merge apache (which will pull in the correct apr-util). Subverion should then build correctly.