Please never call autotools directly, instead use eautoreconf (or eautomake, and JUST THESE TWO) from autotools.eclass. If you have any reason why those don't work, please let me know to fix them. Thanks, Diego
Please use eautoconf instead of eautoreconf.
If the ebuild is using automake too, eautoreconf is the right choice. eautoconf should be used *only* by projects not using automake at all.
Subversion does not use Automake.
whats this ? http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/subversion/subversion-1.5.0_rc9.ebuild?r1=1.2&r2=1.3 this breaks building subversion with libtool 2.2: /bin/sh /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool --tag=CC --silent --mode=compile 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 -O2 -pipe -g -ggdb -fno-strict-aliasing -pthread -I./subversion/include -I./subversion -I/usr/include/neon -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.6 -I/usr/local/include -o subversion/libsvn_delta/debug_editor.lo -c subversion/libsvn_delta/debug_editor.c /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool: line 467: CDPATH: command not found /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool: line 467: CDPATH: command not found /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool: line 467: CDPATH: command not found /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool: line 1159: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 libtool: and run autoconf again. /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool: line 1159: func_opt_split: command not found make: *** [subversion/libsvn_delta/cancel.lo] Error 63 make: *** Waiting for unfinished jobs.... libtool: Version mismatch error. This is libtool 2.2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 libtool: and run autoconf again. /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool: line 1159: func_opt_split: command not found make: *** [subversion/libsvn_delta/compat.lo] Error 63 /var/tmp/portage/dev-util/subversion-1.5.0_rc9/work/subversion-1.5.0-rc9/libtool: line 1159: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 libtool: and run autoconf again. libtool: Version mismatch error. This is libtool 2.2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 libtool: and run autoconf again. make: *** [subversion/libsvn_delta/debug_editor.lo] Error 63 make: *** [subversion/libsvn_delta/compose_delta.lo] Error 63 * * ERROR: dev-util/subversion-1.5.0_rc9 failed. there must be a better way to do it
fixed (again) in 1.5.0_rc9-r1
I've this problem with subversion-1.5.6 /bin/sh /var/tmp/portage/dev-util/subversion-1.5.6/work/subversion-1.5.6/libtool --tag=CC --silent --mode=compile none -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/ usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.5 -I/var/tmp/portag e/dev-util/subversion-1.5.6/work/subversion-1.5.6/subversion/bindings/swig/ruby/ libsvn_swig_ruby -prefer-pic -c -o subversion/bindings/swig/ruby/core.lo subvers libsvn_swig_ruby -prefer-pic -c -o subversion/bindings/swig/ruby/core.lo subvers ion/bindings/swig/ruby/core.c /var/tmp/portage/dev-util/subversion-1.5.6/work/subversion-1.5.6/libtool: line 1 318: none: command not found make: *** [subversion/bindings/swig/ruby/svn_client.lo] Error 1 make: *** Waiting for unfinished jobs.... /var/tmp/portage/dev-util/subversion-1.5.6/work/subversion-1.5.6/libtool: line 1 318: none: command not found make: *** [subversion/bindings/swig/ruby/core.lo] Error 1 /var/tmp/portage/dev-util/subversion-1.5.6/work/subversion-1.5.6/libtool: line 1 318: none: command not found make: *** [subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo] Error 1 * * ERROR: dev-util/subversion-1.5.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5950: Called die * The specific snippet of code: * emake swig-rb || die "Building of Subversion Ruby bindings failed"; * The die message: * Building of Subversion Ruby bindings failed *
(In reply to comment #6) You have completely different problem (Probably Ruby not found.)
Maybe portage must emerge it as a dependency involved by the ruby's use flag for subversion?
(In reply to comment #8) > Maybe portage must emerge it as a dependency involved by the ruby's use flag > for subversion? And Portage does it. subversion-1.5.6.ebuild contains appropriate dependency: ruby? ( >=dev-lang/ruby-1.8.2 )