Summary: | subversion-1.6.0 upgrade breaks trac-0.11.2 (Python bindings libsvn/_fs.so: undefined symbol: svn_fs_path_change2_create) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | MarisN <maris.gis> |
Component: | [OLD] Server | Assignee: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrei.ivanov, galtgendo, harningt, nbkolchin, olemarkus, Werner.Peter |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
MarisN
2009-03-25 11:28:18 UTC
I don't have trac installed and your testcase doesn't produce any errors for me. A naming conflict ? What package does own /usr/lib64/svn-python/libsvn/fs.py and /usr/lib64/svn-python/svn/fs.py ? thx for the report, assigning to maintainers First - downgrading SVN to dev-util/subversion-1.5.6 fixes problem. Upgrading back to 1.6.0 makes problem to reappear. Only relation to Trac seems to be Trac's dependency on SVN, as as failing import is taken from Trac log: "from svn import fs, repos, core, delta" Rafał, can You, please, at first emerge subversion-1.5.6 and then upgrade it to 1.6.0 and only then try that python import statement? Second - there are no such directory as /usr/lib64/svn*: # ls /usr/lib64/svn* ls: cannot access /usr/lib64/svn*: No such file or directory Closest match are located in /usr/lib64/python2.5/site-packages: equery b /usr/lib64/python2.5/site-packages/libsvn/fs.py [ Searching for file(s) /usr/lib64/python2.5/site-packages/libsvn/fs.py in *... ] dev-util/subversion-1.6.0 (/usr/lib64/python2.5/site-packages/libsvn/fs.py) equery b /usr/lib64/python2.5/site-packages/svn/fs.py [ Searching for file(s) /usr/lib64/python2.5/site-packages/svn/fs.py in *... ] dev-util/subversion-1.6.0 (/usr/lib64/python2.5/site-packages/svn/fs.py) Try building subversion with -dso in the use flags. The implied "--enable-runtime-module-search" seems to break at least python and perl bindings in 1.6.0 and has caused problems in earlier versions before (see bug #221931). (In reply to comment #4) > Try building subversion with -dso in the use flags. The implied > "--enable-runtime-module-search" seems to break at least python and perl > bindings in 1.6.0 and has caused problems in earlier versions before (see bug > #221931). > Actually, that may be it - I had that disabled, cause git required it. And I did have 1.5.5 before I gone to 1.6.0. Also, /usr/lib64/svn-python/svn/fs.py and /usr/lib64/svn-python/libsvn/fs.py was a quote from your own post. (In reply to comment #4) > Try building subversion with -dso in the use flags. The implied > "--enable-runtime-module-search" seems to break at least python and perl > bindings in 1.6.0 and has caused problems in earlier versions before (see bug > #221931). > Yes, that's it. I emerged 1.6.0 with USE="-dso" and now it works just fine. Is there specific bug for dso and broken subversion bindings? Mark this as duplicate if there is one. Rafał Mużyło - thanks for testing. Also it's strange why python was reporting errors with non-existing files /usr/lib64/svn-python/svn/fs.py Fixed. 1.6.0 installed fine, but 1.6.0-r1 now gives me this: x86_64-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -march=athlon64 -O3 -pipe -fomit-frame-pointer -fno-strict-aliasing -pthread -I./subversion/include -I./subversion -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -I/usr/include/neon -I/usr/include -o subversion/svnadmin/main.o -c subversion/svnadmin/main.c cd subversion/svnadmin && /bin/sh /var/tmp/portage/dev-util/subversion-1.6.0-r1/work/subversion-1.6.0/libtool --tag=CC --silent --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -pipe -fomit-frame-pointer -fno-strict-aliasing -pthread -Wl,-O1 -L/usr/lib64 -rpath /usr/lib64 -o svnadmin main.o ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib64/libaprutil-1.la /usr/lib64/libapr-1.la /var/tmp/portage/dev-util/subversion-1.6.0-r1/work/subversion-1.6.0/subversion/libsvn_fs/.libs/libsvn_fs-1.so: undefined reference to `svn_fs__path_change2_create' collect2: ld returned 1 exit status make: *** [subversion/svnadmin/svnadmin] Error 1 * * ERROR: dev-util/subversion-1.6.0-r1 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 5754: Called die * The specific snippet of code: * emake local-all || die "Building of core of Subversion failed"; * The die message: * Building of core of Subversion failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-util/subversion-1.6.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/subversion-1.6.0-r1/temp/environment'. Portage 2.1.6.11 (default/linux/amd64/2008.0/server, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5 Timestamp of tree: Sun, 29 Mar 2009 11:45:01 +0000 app-shells/bash: 4.0_p10-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.4-r2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="candy distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/" LDFLAGS="-Wl,-O1" 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.europe.gentoo.org/gentoo-portage" USE="3dnow aalib acl acpi adns alsa amd64 apache2 bzip2 cairo caps cli cracklib crypt curl curlwrappers dio exif expat fam flac fortran ftp gd gif gmp gpm iconv idn imagemagick imap imlib isdnlog jpeg lzma mad maildir mailwrapper memlimit mhash midi mmap mmx mudflap multilib ncurses network-cron nocxx nptl nptlonly offensive oggvorbis openmp pam pcntl pcre png posix pppd readline reflection samba session shared sharedmem slang soap sockets speex spl sse sse2 ssl svg sysfs sysvipc tcpd theora tiff truetype unicode urandom usb vhosts vim-syntax wmf xml xmlrpc xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" 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="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY (In reply to comment #10) It was already fixed. Please wait 1 hour and run `emerge --sync`. I see... I thought it was an effect of the fix for this bug :-) *** Bug 264241 has been marked as a duplicate of this bug. *** |