Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428006 - sci-physics/clhep-2.1.0.1 - configure.ac:15: version mismatch. This is Automake 1.11.1, but the definition used by this AM_INIT_AUTOMAKE comes from Automake 1.9.6.
Summary: sci-physics/clhep-2.1.0.1 - configure.ac:15: version mismatch. This is Autom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-25 09:34 UTC by Hypnos
Modified: 2012-08-07 18:06 UTC (History)
0 users

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


Attachments
clhep-2.1.0.1.ebuild_automake.patch (clhep-2.1.0.1.ebuild_automake.patch,431 bytes, patch)
2012-07-25 09:34 UTC, Hypnos
Details | Diff
clhep_build.log (clhep_build.log,3.08 KB, text/plain)
2012-07-25 10:09 UTC, Hypnos
Details
cave_info_clhep.log (cave_info_clhep.log,5.28 KB, text/plain)
2012-07-25 10:12 UTC, Hypnos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2012-07-25 09:34:56 UTC
Created attachment 319198 [details, diff]
clhep-2.1.0.1.ebuild_automake.patch

I get the following error during eautoreconf when trying to build clhep-2.1.0.1:

----------

**** automake *****
***** PWD: /var/tmp/paludis/sci-physics-clhep-2.1.0.1/work/2.1.0.1/CLHEP/Units
***** automake --add-missing --copy --foreign

configure.ac:15: version mismatch.  This is Automake 1.11.1,
configure.ac:15: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:15: comes from Automake 1.9.6.  You should recreate
configure.ac:15: aclocal.m4 with aclocal and run automake again.
~                                                                           
----------

Adding automake-1.9 to the deps and specifying via WANT_AUTOMAKE allows clhep to build successfully.  I am attaching a patch with these changes.
Comment 1 Rafał Mużyło 2012-07-25 09:48:04 UTC
Your "fix" will most likely be invalid.

Attach full build log of the failure.
Comment 2 Hypnos 2012-07-25 10:09:43 UTC
Created attachment 319200 [details]
clhep_build.log

Here is the build log using the unmodified ebuild.  I already pasted the automake.out in the first comment.
Comment 3 Hypnos 2012-07-25 10:12:01 UTC
Created attachment 319202 [details]
cave_info_clhep.log

Output from "cave info clhep" (I use Paludis).
Comment 4 Rafał Mużyło 2012-07-25 11:20:08 UTC
Well, OK.

1. even *if* WANT_AUTOMAKE should have ben used, the proper place for it is before inherits - that way the deps is added automatically

2. seems I'm bit rusty in regard of this eclass, cause it looks like doing it properly would involve diving into eclass (or wrapper) internals - try something like removing the relevant Makefile.in

(perhaps the issue of selecting automake (or rather forcing to try the latest) should be reopened in regard of the eclass ?)
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2012-08-07 18:06:01 UTC
+*clhep-2.1.2.4 (07 Aug 2012)
+
+  07 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> +clhep-2.1.2.4.ebuild,
+  +files/clhep-2.1.2.4-libdir.patch, -clhep-2.1.1.0.ebuild,
+  -clhep-2.1.2.0.ebuild, -clhep-2.1.2.2.ebuild,
+  -files/clhep-2.1.2.2-automake-1.12.patch, clhep-2.1.0.1.ebuild, metadata.xml:
+  Version bump, fixed older version for automake-1.9, bug #428006
+