Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226577 - dev-util/subversion: autoconf/autoreconf/automake/libtool called directly
Summary: dev-util/subversion: autoconf/autoreconf/automake/libtool called directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bad-autotools
  Show dependency tree
 
Reported: 2008-06-14 11:50 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-05-15 17:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 11:50:30 UTC
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
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-15 18:20:22 UTC
Please use eautoconf instead of eautoreconf.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-15 18:44:56 UTC
If the ebuild is using automake too, eautoreconf is the right choice.
eautoconf should be used *only* by projects not using automake at all.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-15 18:48:46 UTC
Subversion does not use Automake.
Comment 4 Alexis Ballier gentoo-dev 2008-06-16 07:29:02 UTC
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
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2008-06-16 08:35:45 UTC
fixed (again) in 1.5.0_rc9-r1
Comment 6 LAj 2009-05-14 15:08:53 UTC
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
 *
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-14 16:37:55 UTC
(In reply to comment #6)

You have completely different problem (Probably Ruby not found.)
Comment 8 LAj 2009-05-15 09:55:37 UTC
Maybe portage must emerge it as a dependency involved by the ruby's use flag for subversion?
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-15 17:11:12 UTC
(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 )