Bug 218717 - gnome-common needs Requires automake < 1.10
Summary: gnome-common needs Requires automake < 1.10
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-common
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Toshio Kuratomi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-06 22:35 UTC by sean
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-07 06:50:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description sean 2006-12-06 22:35:22 UTC
Description of problem:

/usr/bin/gnome-autogen.sh dies with automake > 1.9

I filed this bug here because gnome-common is not listed in bugzilla.

gnome-autogen.sh will not accept automake > 1.9:

case $REQUIRED_AUTOMAKE_VERSION in
    1.4*) automake_progs="automake-1.4" ;;
    1.5*) automake_progs="automake-1.5 automake-1.6 automake-1.7 automake-1.8
automake-1.9" ;;
    1.6*) automake_progs="automake-1.6 automake-1.7 automake-1.8 automake-1.9" ;;
    1.7*) automake_progs="automake-1.7 automake-1.8 automake-1.9" ;;
    1.8*) automake_progs="automake-1.8 automake-1.9" ;;
    1.9*) automake_progs="automake-1.9" ;;
esac

At the least, the rpm for gnome-common should have a Require for the correct
version of automake.

Version-Release number of selected component (if applicable):

gnome-common-2.12.0-3.fc6
How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Maybe you could even nudge upstream to include automake-1.10 :)

Comment 1 Toshio Kuratomi 2006-12-06 22:49:27 UTC
I'll go nudge upstream.

Comment 2 Toshio Kuratomi 2006-12-07 00:31:02 UTC
The fixes are in upstream CVS.  I'm thinking of updating to a CVS snapshot.  The
only major change I see is:

2005-09-20  Stepan Kasal  <kasal>

	* macros2/gnome-autogen.sh: Prefer newer versions of Automake.
	From bug #305641.

Which means if you have automake 1.5, 1.8, and 1.10 installed and didn't
configure  a specific version, the old gnome-common would use 1.5.  The new
gnome-common will use 1.10.
http://bugzilla.gnome.org/show_bug.cgi?id=305641

It looks like James Henstridge did some extensive testing with the change and
found only one breakage in gnome's cvs tree (has been fixed.)  The changes have
been in gnome-common being used by the modules in gnome-cvs for over a year. 
I'll put this in devel tonight.

Comment 4 sean 2006-12-07 15:34:34 UTC
Works For Me

But don't we still need a Requires in the spec file?



Comment 5 Toshio Kuratomi 2006-12-07 19:29:05 UTC
Didn't mean to close this earlier, sorry.  Closed now fixed for next release --
2.12.0-4

Re: Comment #4

It's a bit complex.  gnome-common will work with any version of automake from
1.4 up.  So I don't need the automake package, I need something that provides an
automake[VERSION] program and the scripts to back it up.

In Fedora we have automake "compat" packages automake14, automake18, etc which
satisfy this need.  Just using Require: automake <= 1.10 won't pick up these
additional packages.

automake and the automake compat packages don't have any sort of virtual provide
that I can depend on (Like Provides: automake(abi) = 1.4) so I'm unable to
Require: automake(abi) >= 1.4, automake(abi) <= 1.10

So that's why there's currently no Requires: automake in the spec file.


Note You need to log in before you can comment on or make changes to this bug.