the error is clear: it tries to link with an already installed subversion lib, instead of just compiled one. cd subversion/clients/cmdline && /bin/sh /var/tmp/portage/subversion-1.3.1/work/subversion-1.3.1/libtool --tag=CC --silent --mode=link i686-pc-linux-gnu-gcc -L/var/tmp/portage/subversion-1.3.1/image//usr/lib -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -L/usr/lib -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -rpath /usr/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o lock-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o unlock-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-1.la -lldap -llber -lgdbm -ldb-4.2 -lpq -lsqlite3 -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/libneon.la -lz /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/bin/ld: warning: libapr-0.so.0, needed by /usr/lib/libsvn_fs-1.so.0, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/bin/ld: warning: libaprutil-0.so.0, needed by /usr/lib/libsvn_fs_fs-1.so.0, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/libsvn_fs_fs-1.so.0, not found (try using -rpath or -rpath-link) /usr/lib/libapr-1.so: undefined reference to `sock_is_ipv6' /usr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make: *** [subversion/clients/cmdline/svn] Error 1 i'll try this solution: unmerge old 1.3.0 and remerge 1.3.1, i'm almost sure it will work.
after unmerging and remerging neon now i have: cd subversion/clients/cmdline && /bin/sh /var/tmp/portage/subversion-1.3.1/work/subversion-1.3.1/libtool --tag=CC --silent --mode=link i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort -L/usr/lib -rpath /usr/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o lock-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o unlock-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-1.la -lldap -llber -lgdbm -ldb-4.2 -lpq -lsqlite3 -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/libneon.la -lz /usr/lib/libapr-1.so: undefined reference to `sock_is_ipv6' /usr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make: *** [subversion/clients/cmdline/svn] Error 1 i've deleted the -as-needed LDFLAG as you can see, but doesn't work.
according to http://svn.haxx.se/dev/archive-2005-12/0663.shtml seems a bug in libapr without ipv6. i forgot to add i unmasked new versions for apache 2.2. can you patch apr?
this can be a usefull patch, but apache guys should look at it. http://www.opensubscriber.com/message/log4cxx-user%40logging.apache.org/1741050.html
(In reply to comment #2) > according to http://svn.haxx.se/dev/archive-2005-12/0663.shtml > > seems a bug in libapr without ipv6. See Bug 123320. > warning: libexpat.so.0, needed by /usr/lib/libsvn_fs_fs-1.so.0, not found It compiles just fine here. You also apparently need to run revdep-rebuild wrt the expat upgrade.
the revdep was done, but different error still there (as i wrote in other comments) however the apr patch http://bugs.gentoo.org/attachment.cgi?id=80392 is really needed and should be committed. and...once again..check the first comment, the problem is the linking with old compiled lib, instead of fresh one.
(In reply to comment #5) > and...once again..check the first comment, the problem is the linking with old > compiled lib, instead of fresh one. I'm probably missing something, which old lib you mean? I see just a lot of mess because of your inconsistent linkage.
jacub this: /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/bin/ld: warning: libapr-0.so.0, needed by /usr/lib/libsvn_fs-1.so.0, not found (try using -rpath or -rpath-link) takes the 1.3.0 installed lib /usr/lib/libsvn_fs-1.so.0 (the missing lib warned is a different problem..fixed with revdep, but it let me see the problem)
however i have compilation errors too. cd /var/tmp/portage/subversion-1.3.1/work/subversion-1.3.1/subversion/bindings/swig/perl/native; make make[1]: Entering directory `/var/tmp/portage/subversion-1.3.1/work/subversion-1.3.1/subversion/bindings/swig/perl/native' i686-pc-linux-gnu-gcc -c -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.2 -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl -I../../../../../subversion/include -I../../../../../subversion/bindings/swig -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" core.c In file included from /usr/include/apr-1/apr_pools.h:37, from ../../../../../subversion/include/svn_time.h:25, from core.c:1094: /usr/include/apr-1/apr.h:270: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘apr_off_t’ In file included from ../../../../../subversion/include/svn_string.h:71, from ../../../../../subversion/include/svn_props.h:30, from ../../../../../subversion/include/svn_error_codes.h:48, from ../../../../../subversion/include/svn_error.h:48, from ../../../../../subversion/include/svn_time.h:28, from core.c:1094: /usr/include/apr-1/apr_strings.h:297: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ /usr/include/apr-1/apr_strings.h:313: error: expected ‘)’ before ‘*’ token /usr/include/apr-1/apr_strings.h:349: error: expected ‘)’ before ‘size’ In file included from /usr/include/apr-1/apr_file_io.h:29, from ../../../../../subversion/include/svn_diff.h:48, from core.c:1102: /usr/include/apr-1/apr_file_info.h:204: error: expected specifier-qualifier-list before ‘apr_off_t’ In file included from ../../../../../subversion/include/svn_diff.h:48, from core.c:1102: /usr/include/apr-1/apr_file_io.h:548: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ /usr/include/apr-1/apr_file_io.h:740: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ In file included from ../../../../../subversion/include/svn_diff.h:52, from core.c:1102: ../../../../../subversion/include/svn_io.h:872: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ In file included from core.c:1102: ../../../../../subversion/include/svn_diff.h:218: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:219: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:220: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:221: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:222: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:223: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:237: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:238: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:239: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:240: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:241: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:242: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:251: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:252: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:253: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:254: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:255: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:256: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:263: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:264: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:265: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:266: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:267: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:268: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:280: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:281: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:282: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:283: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:284: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ ../../../../../subversion/include/svn_diff.h:285: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ In file included from ../../../../../subversion/include/svn_wc.h:46, from ../../../../../subversion/include/svn_client.h:38, from ../../../../../subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:36, from core.c:1109: ../../../../../subversion/include/svn_ra.h:181: error: expected ‘)’ before ‘progress’ ../../../../../subversion/include/svn_ra.h:372: error: expected specifier-qualifier-list before ‘svn_ra_progress_notify_func_t’ In file included from ../../../../../subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:36, from core.c:1109: ../../../../../subversion/include/svn_client.h:535: error: expected specifier-qualifier-list before ‘svn_ra_progress_notify_func_t’ core.c:1259: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1259: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1259: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1259: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1259: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1259: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c: In function ‘svn_diff_output_fns_invoke_output_common’: core.c:1260: error: ‘original_start’ undeclared (first use in this function) core.c:1260: error: (Each undeclared identifier is reported only once core.c:1260: error: for each function it appears in.) core.c:1260: error: ‘original_length’ undeclared (first use in this function) core.c:1260: error: ‘modified_start’ undeclared (first use in this function) core.c:1260: error: ‘modified_length’ undeclared (first use in this function) core.c:1260: error: ‘latest_start’ undeclared (first use in this function) core.c:1260: error: ‘latest_length’ undeclared (first use in this function) core.c:1260: error: too many arguments to function ‘_obj->output_common’ core.c: At top level: core.c:1264: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1264: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1264: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1264: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1264: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1264: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c: In function ‘svn_diff_output_fns_invoke_output_diff_modified’: core.c:1265: error: ‘original_start’ undeclared (first use in this function) core.c:1265: error: ‘original_length’ undeclared (first use in this function) core.c:1265: error: ‘modified_start’ undeclared (first use in this function) core.c:1265: error: ‘modified_length’ undeclared (first use in this function) core.c:1265: error: ‘latest_start’ undeclared (first use in this function) core.c:1265: error: ‘latest_length’ undeclared (first use in this function) core.c:1265: error: too many arguments to function ‘_obj->output_diff_modified’ core.c: At top level: core.c:1269: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1269: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1269: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1269: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1269: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1269: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c: In function ‘svn_diff_output_fns_invoke_output_diff_latest’: core.c:1270: error: ‘original_start’ undeclared (first use in this function) core.c:1270: error: ‘original_length’ undeclared (first use in this function) core.c:1270: error: ‘modified_start’ undeclared (first use in this function) core.c:1270: error: ‘modified_length’ undeclared (first use in this function) core.c:1270: error: ‘latest_start’ undeclared (first use in this function) core.c:1270: error: ‘latest_length’ undeclared (first use in this function) core.c:1270: error: too many arguments to function ‘_obj->output_diff_latest’ core.c: At top level: core.c:1274: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1274: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1274: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1274: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1274: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1274: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c: In function ‘svn_diff_output_fns_invoke_output_diff_common’: core.c:1275: error: ‘original_start’ undeclared (first use in this function) core.c:1275: error: ‘original_length’ undeclared (first use in this function) core.c:1275: error: ‘modified_start’ undeclared (first use in this function) core.c:1275: error: ‘modified_length’ undeclared (first use in this function) core.c:1275: error: ‘latest_start’ undeclared (first use in this function) core.c:1275: error: ‘latest_length’ undeclared (first use in this function) core.c:1275: error: too many arguments to function ‘_obj->output_diff_common’ core.c: At top level: core.c:1279: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1279: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1279: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ core.c:1279: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ [cut] Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16.1 i686) ================================================================= System uname: 2.6.16.1 i686 Pentium III (Katmai) Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.91.0.6-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control /var/run/dspam" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it" LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/myportage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa apache2 apm arts asf audiofile avi bash-completion berkdb bidi bitmap-fonts bootsplash browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgi chroot clamav cli client codecs crypt css ctype cups curl dba dbus dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foomaticdb force-cgi-redirect foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile h264 hal iconv idea idn imagemagick imap imlib innodb ipod irda irmc isdnlog jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb memlimit mhash mikmod mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg openal opengl openssl operanom2 oss pam pcre pda pdf pdflib pdo pear perl php png pnp posix postgres ppds pppd pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging sguil simplexml slang slp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell spl sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales vidix vorbis win32codecs wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvm xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_joystick kernel_linux linguas_it userland_GNU video_cards_i128 video_cards_fbdev video_cards_vesa video_cards_vga video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS
OK, please - don't mix multiple different issues into one bug. Also, most of the problems you are having are due to hardmasked apache 2.2 (and realated apr stuff), I suspect. This compiles and works just fine w/ latest ~arch apr and kinda sane LDFLAGS.
yes jacub this is probably true, but consider that apr 1.2.2 must be tested by someone to get unmasked. that's why i'm reporting this problem.
I can't really fix this now. Subversion will probably add compatibility with apr-2.2 soon. In concern to old libraries linked. That's known to happen. It is caused by libtool. Unfortunately there is no really good way to solve that.
found the fix. it's not related to apr version but a bug in makefile scripts you have to patch Makefile.PL to include result of apr-1-config --cppflags (on my system result is: -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE) and that will work perfectly. svn is already apr 1.2 compatible
If you would provide a patch to that extend, I'd be happy to include it. I remember that I have actually found that problem before, but did not yet find a correction. I'm not at home in perl, so didn't find an easy way to fix it myself.
the problem is that configure scripts should be fixed properly. my fix is this: cd /var/tmp/portage/subversion-1.3.1/work/subversion-1.3.1/subversion/bindings/swig/perl/native about at line 29 of Makefle.PL my $apr_cflags= ' -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE '; my $apu_cflags = ' -I/usr/include/apr-1 -I/usr/include/db4.2'; where the problem is? that file is rewritten every configure, so i had to ctrl+z...hack..and resume.. configure script should add apr-1-config --cppflags result there. try to hack yourself. it's an autotool problem, not perl one
uhm... i don't even have the 1.3.1 ebuild. how do i get it? i'm on ~amd64.
The apr problem should be fixed now. A patch has been applied to 1.3.1 (If you don't have that, don't use the axxo overlay ;-)) For the original error, the information is insufficient. For some reason certain libraries were not built. I need to know why not. If in doubt, please attach a full build log.
binutils bug with --as--needed, see http://farragut.flameeyes.is-a-geek.org/articles/2006/06/04/summing-up-the-binutils-trouble Closing.