[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn 1.7.1 cannot build in multilib system

From: appzer0 <appzer0_at_free.fr>
Date: Thu, 24 Nov 2011 16:54:35 +0100

Hello,

My distro is a full multilib capable system, it has 32-bits libs in /lib
and /usr/lib and 64-bit libs in /lib64 and /usr/lib64. Subversion build
system has never complained before, as I have an exotic multilib distro
but it now fails (1.7.1), especially the 32-bit build :

Below are the command I used then the error I met.

Thanks.

The command I used and the configure output:

---
+ CC='gcc -m32'
+ CXX='g++ -m32'
+ CFLAGS='-O2 -march=i686 -pipe'
+ CXXFLAGS='-O2 -march=i686 -pipe'
+ 
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig
+ LDFLAGS='-L/usr/lib -L/lib'
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--libdir=/usr/lib --mandir=/usr/man --infodir=/usr/info 
--docdir=/usr/doc/subversion-1.7.1 --with-apr=/usr --with-apr-util=/usr 
--with-neon=/usr --with-zlib=/usr --with-pic --with-ssl --with-jdk 
--with-swig --build=i686-0-linux-gnu
configure: Configuring Subversion 1.7.1
configure: creating config.nice
checking for gcc... gcc -m32
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m32 accepts -g... yes
checking for gcc -m32 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m32 accepts -g... yes
checking how to run the C preprocessor... gcc -m32 -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... i686-0-linux-gnu
checking host system type... i686-0-linux-gnu
checking target system type... i686-0-linux-gnu
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.4.2
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... yes
checking APR-UTIL version... 1.3.9
checking for pkg-config... /usr/bin/pkg-config
configure: checking neon library
checking neon library version... 0.29.3
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to look for GSSAPI (Kerberos)... no
configure: looking for apr_memcache as part of apr-util
checking apr_memcache.h usability... yes
checking apr_memcache.h presence... yes
checking for apr_memcache.h... yes
checking for apr_memcache_create in -laprutil-1... yes
checking for Apache module support via DSO through APXS... found at 
/usr/sbin/apxs
checking httpd version... recent enough
checking whether Apache version is compatible with APR version... yes
==================================================================
WARNING: You have chosen to compile Subversion with a different
          compiler than the one used to compile Apache.
     Current compiler:      gcc -m32
    Apache's compiler:      gcc -m64
This could cause some problems.
==================================================================
configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sqlite library version (via header)... okay
checking for sqlite3_close in -lsqlite3... yes
configure: configuring libtool now
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -m32... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-0-linux-gnu file names to i686-0-linux-gnu 
format... func_convert_file_noop
checking how to convert i686-0-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc -m32 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -m32 supports -fno-rtti -fno-exceptions... no
checking for gcc -m32 option to produce PIC... -fPIC -DPIC
checking if gcc -m32 PIC flag -fPIC -DPIC works... yes
checking if gcc -m32 static flag -static works... yes
checking if gcc -m32 supports -c -o file.o... yes
checking if gcc -m32 supports -c -o file.o... (cached) yes
checking whether the gcc -m32 linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -m32 -E
checking for ld used by g++ -m32... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ -m32 linker (/usr/bin/ld) supports shared 
libraries... yes
checking for g++ -m32 option to produce PIC... -fPIC -DPIC
checking if g++ -m32 PIC flag -fPIC -DPIC works... yes
checking if g++ -m32 static flag -static works... yes
checking if g++ -m32 supports -c -o file.o... yes
checking if g++ -m32 supports -c -o file.o... (cached) yes
checking whether the g++ -m32 linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: building both shared and static libraries
checking whether libtool needs -no-undefined... no
checking whether to avoid circular linkage at all costs... no
checking for trang... none
checking for doxygen... /usr/bin/doxygen
checking for Expat... yes
checking for socket in -lsocket... no
checking for availability of Berkeley DB... yes
checking whether to look for SASL... yes
configure: Looking in default locations
checking sasl/sasl.h usability... no
checking sasl/sasl.h presence... no
checking for sasl/sasl.h... no
checking for sasl/sasl.h... (cached) no
checking for availability of Cyrus SASL v2... no
checking for Mac OS KeyChain Services... no
checking whether APR has support for DSOs... yes
checking for D-Bus .pc file... yes
checking D-Bus version... 1.4.6
checking for D-Bus... yes
checking whether to look for GNOME Keyring... no
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for library containing bindtextdomain... none required
checking for bind_textdomain_codeset... yes
checking if we are using GNU gettext... yes
checking magic.h usability... yes
checking magic.h presence... yes
checking for magic.h... yes
checking for magic_open in -lmagic... yes
checking whether to look for KWallet... no
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for symlink... yes
checking for readlink... yes
checking for -Wl,--no-undefined... yes
configure: zlib library configuration
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for python... /usr/bin/python
checking for JDK... /usr/lib64/jdk/include/jni.h
checking for perl... /usr/bin/perl
checking for ruby... /usr/bin/ruby
checking rb_hash_foreach... yes
checking for rdoc... /usr/bin/rdoc
checking for Ruby major version... 1
checking for Ruby minor version... 9
configure: WARNING: The detected Ruby is too new for Subversion to use
configure: WARNING: Only 1.8.x releases are supported at this time
checking for swig... /usr/bin/swig
checking swig version... 1.3.40
configure: Configuring python swig binding
checking for Python includes... -I/usr/include/python2.6
checking for compiling Python extensions... gcc -m32 -pthread -fPIC
checking for linking Python extensions... gcc -m32 -pthread -shared
checking for linking Python libraries...
checking for apr_int64_t Python/C API format string... l
checking perl version... 5012002
checking for ctypesgen.py... none
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tools/backup/hot-backup.py
config.status: creating tools/hook-scripts/commit-access-control.pl
config.status: creating subversion/bindings/swig/perl/native/Makefile.PL
config.status: creating subversion/svn_private_config.h.tmp
config.status: executing libtool commands
config.status: executing svn_private_config.h.tmp commands
+ make -j3
---
The error I met and a few lines before it:
---
cd subversion/tests/libsvn_wc && /bin/sh /tmp/subversion-1.7.1/libtool 
--tag=CC --silent --mode=link gcc -m32  -O2 -march=i686 -pipe   
-pthread  -D_LARGEFILE64_SOURCE -DNE_LFS 
-Werror=implicit-function-declaration  -L/usr/lib -L/lib     -rpath 
/usr/lib  -o entries-compat-test  entries-compat.lo utils.lo 
../../../subversion/libsvn_client/libsvn_client-1.la 
../../../subversion/tests/libsvn_test-1.la 
../../../subversion/libsvn_wc/libsvn_wc-1.la 
../../../subversion/libsvn_subr/libsvn_subr-1.la -laprutil-1 -lapr-1
cd subversion/tests/libsvn_wc && /bin/sh /tmp/subversion-1.7.1/libtool 
--tag=CC --silent --mode=link gcc -m32  -O2 -march=i686 -pipe   
-pthread  -D_LARGEFILE64_SOURCE -DNE_LFS 
-Werror=implicit-function-declaration  -L/usr/lib -L/lib     -rpath 
/usr/lib  -o op-depth-test  op-depth-test.lo utils.lo 
../../../subversion/libsvn_client/libsvn_client-1.la 
../../../subversion/tests/libsvn_test-1.la 
../../../subversion/libsvn_wc/libsvn_wc-1.la 
../../../subversion/libsvn_subr/libsvn_subr-1.la -laprutil-1 -lapr-1
cd subversion/tests/libsvn_wc && /bin/sh /tmp/subversion-1.7.1/libtool 
--tag=CC --silent --mode=link gcc -m32  -O2 -march=i686 -pipe   
-pthread  -D_LARGEFILE64_SOURCE -DNE_LFS 
-Werror=implicit-function-declaration  -L/usr/lib -L/lib     -rpath 
/usr/lib  -o pristine-store-test  pristine-store-test.lo utils.lo 
../../../subversion/libsvn_client/libsvn_client-1.la 
../../../subversion/tests/libsvn_test-1.la 
../../../subversion/libsvn_wc/libsvn_wc-1.la 
../../../subversion/libsvn_subr/libsvn_subr-1.la -laprutil-1 -lapr-1
cd subversion/tests/libsvn_wc && /bin/sh /tmp/subversion-1.7.1/libtool 
--tag=CC --silent --mode=link gcc -m32  -O2 -march=i686 -pipe   
-pthread  -D_LARGEFILE64_SOURCE -DNE_LFS 
-Werror=implicit-function-declaration  -L/usr/lib -L/lib     -rpath 
/usr/lib  -o tree-conflict-data-test  tree-conflict-data-test.lo 
utils.lo ../../../subversion/libsvn_client/libsvn_client-1.la 
../../../subversion/tests/libsvn_test-1.la 
../../../subversion/libsvn_wc/libsvn_wc-1.la 
../../../subversion/libsvn_subr/libsvn_subr-1.la -laprutil-1 -lapr-1
cd tools/client-side/svnmucc && /bin/sh /tmp/subversion-1.7.1/libtool 
--tag=CC --silent --mode=link gcc -m32  -O2 -march=i686 -pipe   
-pthread  -D_LARGEFILE64_SOURCE -DNE_LFS 
-Werror=implicit-function-declaration  -L/usr/lib -L/lib     -rpath 
/usr/lib  -o svnmucc  svnmucc.lo 
../../../subversion/libsvn_client/libsvn_client-1.la 
../../../subversion/libsvn_ra/libsvn_ra-1.la 
../../../subversion/libsvn_subr/libsvn_subr-1.la 
../../../subversion/libsvn_delta/libsvn_delta-1.la -laprutil-1 -lapr-1 
-lneon -lz -L/usr/lib -lssl -lcrypto -ldl -L/usr/lib -lproxy -lexpat
+ fakeroot make install DESTDIR=/tmp/build/subversion
/usr/bin/ginstall -c -d /tmp/build/subversion/usr/lib
cd subversion/libsvn_subr ; /bin/sh /tmp/subversion-1.7.1/libtool 
--mode=install /usr/bin/ginstall -c libsvn_subr-1.la 
/tmp/build/subversion/usr/lib/libsvn_subr-1.la
libtool: install: /usr/bin/ginstall -c .libs/libsvn_subr-1.so.0.0.0 
/tmp/build/subversion/usr/lib/libsvn_subr-1.so.0.0.0
libtool: install: (cd /tmp/build/subversion/usr/lib && { ln -s -f 
libsvn_subr-1.so.0.0.0 libsvn_subr-1.so.0 || { rm -f libsvn_subr-1.so.0 
&& ln -s libsvn_subr-1.so.0.0.0 libsvn_subr-1.so.0; }; })
libtool: install: (cd /tmp/build/subversion/usr/lib && { ln -s -f 
libsvn_subr-1.so.0.0.0 libsvn_subr-1.so || { rm -f libsvn_subr-1.so && 
ln -s libsvn_subr-1.so.0.0.0 libsvn_subr-1.so; }; })
libtool: install: /usr/bin/ginstall -c .libs/libsvn_subr-1.lai 
/tmp/build/subversion/usr/lib/libsvn_subr-1.la
libtool: install: /usr/bin/ginstall -c .libs/libsvn_subr-1.a 
/tmp/build/subversion/usr/lib/libsvn_subr-1.a
libtool: install: chmod 644 /tmp/build/subversion/usr/lib/libsvn_subr-1.a
libtool: install: ranlib /tmp/build/subversion/usr/lib/libsvn_subr-1.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
cd subversion/libsvn_delta ; /bin/sh /tmp/subversion-1.7.1/libtool 
--mode=install /usr/bin/ginstall -c libsvn_delta-1.la 
/tmp/build/subversion/usr/lib/libsvn_delta-1.la
libtool: install: warning: relinking `libsvn_delta-1.la'
libtool: install: (cd /tmp/subversion-1.7.1/subversion/libsvn_delta; 
/bin/sh /tmp/subversion-1.7.1/libtool  --tag CC --silent --mode=relink 
gcc -m32 -O2 -march=i686 -pipe -pthread -D_LARGEFILE64_SOURCE -DNE_LFS 
-Werror=implicit-function-declaration -L/usr/lib -L/lib -rpath /usr/lib 
-version-info 0 -Wl,--no-undefined -o libsvn_delta-1.la cancel.lo 
compat.lo compose_delta.lo debug_editor.lo default_editor.lo 
depth_filter_editor.lo editor.lo path_driver.lo svndiff.lo text_delta.lo 
version.lo xdelta.lo ../../subversion/libsvn_subr/libsvn_subr-1.la 
-laprutil-1 -lapr-1 -lz -inst-prefix-dir /tmp/build/subversion)
.libs/path_driver.o: In function `svn_delta_path_driver':
path_driver.c:(.text+0x259): undefined reference to 
`svn_relpath_get_longest_ancestor'
path_driver.c:(.text+0x310): undefined reference to `svn_relpath_split'
path_driver.c:(.text+0x597): undefined reference to 
`svn_fspath__get_longest_ancestor'
path_driver.c:(.text+0x5b9): undefined reference to `svn_fspath__split'
collect2: ld returned 1 exit status
libtool: install: error: relink `libsvn_delta-1.la' with the above 
command before installing it
make: *** [install-fsmod-lib] Erreur 1
---
Received on 2011-11-24 19:07:00 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.