Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42887

Summary: Subversion 1.0 compile problem with subversion/libsvn_subr/libsvn_subr-1.la
Product: Gentoo Linux Reporter: Stefan Wimmer <stefan>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Wimmer 2004-02-25 06:50:50 UTC
I just tried to emerge the new subversion 1.0 with "emerge -u /usr/portage/dev-util/subversion/subversion-1.0.0.ebuild --nodeps -v" (the nodeps flag is necessary because neon is masked) and I stops compiling with the error shown in the results panel ...

Reproducible: Always
Steps to Reproduce:
1. emerge -u /usr/portage/dev-util/subversion/subversion-1.0.0.ebuild --nodeps -v
2.
3.

Actual Results:  
cd subversion/libsvn_subr && /bin/sh ./libtool --silent --mode=link gcc  -O2
-march=athlon-xp -mcpu=athlon-xp -ffast-math -fomit-frame-pointer -funroll-loops
-fprefetch-loop-arrays -pipe   -pthread  -DNEON_ZLIB -DNEON_SSL   -rpath
/usr/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo
config_file.lo config_win.lo date.lo error.lo hash.lo io.lo md5.lo opt.lo
path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo
svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo
/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/apr-util/libaprutil-0.la
-lgdbm -ldb -lexpat
/var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/apr/libapr-0.la -lrt -lm
-lcrypt -lnsl  -ldl
./libtool: ./libtool: No such file or directory
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 127
make: *** Waiting for unfinished jobs....
In file included from /usr/include/python2.3/Python.h:8,
                 from subversion/bindings/swig/swigutil_py.c:20:
/usr/include/python2.3/pyconfig.h:859:1: warning: "_XOPEN_SOURCE" redefined
<command line>:7:1: warning: this is the location of the previous definition

!!! ERROR: dev-util/subversion-1.0.0 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! make of subversion failed


Expected Results:  
Just compile it until the end and succeed installing it :)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -ffast-math -fomit-frame-pointer
-funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -ffast-math -fomit-frame-pointer
-funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS=" ftp://ftp.snt.utwente.nl/pub/linux/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb cdr crypt cups curl dga directfb dvd encode esd faad
fbcon foomaticdb gd gdbm gif gphoto2 gpm gtk gtk2 imlib imlib2 java jpeg libg++
libwww mad mbox mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png prelink python qt quicktime readline sdl slang spell ssl
svga tcltk tcpd tetex transcode truetype usb x86 xml2 xmms xv xvid zlib"
Comment 1 Akinori Hattori gentoo-dev 2004-02-25 07:50:25 UTC
autoconf 2.58 has a bug.
so you need to use 2.57 or 2.59.
Comment 2 Stefan Wimmer 2004-02-25 08:08:27 UTC
Yes indeed - downgrading to autoconf-2.57-r1 resolved the problem. Additionally I removed the check for neon from the ebuild because I don't need the WEBDAV functionality (this is just as a little extra information).

Greetz
Stefan