Bug 695038 - ijs build issue on mac os x 10.4
Summary: ijs build issue on mac os x 10.4
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on: 692040
Blocks:
  Show dependency tree
 
Reported: 2014-02-12 21:42 UTC by Hin-Tak Leung
Modified: 2015-01-22 07:43 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hin-Tak Leung 2014-02-12 21:42:23 UTC
Most of it was explained in:
http://bugs.ghostscript.com/show_bug.cgi?id=692040#c3

I got a somewhat clean Mac OS X 10.4 machine to looking at one ijs related issue on powerpc.

It is shipped with automake-1.6.3 and libtool 1.5 (1.1220 2003/04/05 19:32:58).
And ijs built successfully with it, although the change in bug 692040 mistakenly requires 1.8 .

I don't think 1.8 works with libtool 2.x either. The lesson is really that you should use the GNU auto* packages all of the same vintage, not mixing old with new.
Comment 1 Chris Liddell (chrisl) 2014-02-13 07:43:28 UTC
None of my systems have automake 1.6 on them, and I'm not inclined to spend a lot of time on this - given that the current automake version is 1.14, and any reasonably up to date set of autotools versions will work correctly.

If anyone wants to send me a tested set of patches with the requisite version requirements checks to interact correctly, I happily apply them.
Comment 2 Hin-Tak Leung 2014-02-13 11:23:49 UTC
(In reply to comment #1)
> None of my systems have automake 1.6 on them, and I'm not inclined to spend
> a lot of time on this - given that the current automake version is 1.14, and
> any reasonably up to date set of autotools versions will work correctly.
> 
> If anyone wants to send me a tested set of patches with the requisite
> version requirements checks to interact correctly, I happily apply them.

Yes and no. Any reasonably up to date set of autotools versions will work correctly, but the current autogen.sh contain codes to use specific versions if multiple versions exist on this system.

Hence the problem in bug 692040: fedora shipped an older specific version (simultaneously with the then current) which does not work. The mistaken bogus fix was  simply to ask for a non-existent specific version, and therefore the latest get used.

I'd probably suggest removing the specific older version selection code, or make it as tolerant as possible (i.e. reverting the change in bug 692040); trying to be more specific - and adding code to look for specific combinations - seems to be where it all started. FWIW, libtool 1.x doesn't have a "--version" it seems.
Comment 3 Chris Liddell (chrisl) 2014-02-13 11:37:12 UTC
It would be good to get Richard's view on this from the Fedora perspective - I've added him to the cc-list on this bug.
Comment 4 Richard Hughes 2014-02-13 11:54:15 UTC
I'm pretty easy going on updated automake deps. In Fedora I only really care about using the latest automake and libtool packages.
Comment 5 Chris Liddell (chrisl) 2014-02-13 12:51:28 UTC
So, the earliest commit we have is from 2004, and it sets the automake version to 1.6, as it was before - I'd be reticent to go earlier than that.

That commit also includes the crazy nonsense in autogen.sh for picking the version, I'm not sure about that, at all! I'm tempted to remove it, but I'm concerned as I've no record of why it was done in the first place....
Comment 6 Chris Liddell (chrisl) 2014-04-08 02:01:15 UTC
My inclination, after some thought, is to comment out the code in autgen.sh that tries to use specific versions, and see if it causes anyone problems. If it does, they can uncomment the code, and keep working, then we'll work out an alternative solution. If it doesn't cause problems, we're good....

Thoughts?
Comment 7 Chris Liddell (chrisl) 2015-01-22 07:43:58 UTC
I've backed the automake version down to 1.6 again, and removed the stuff in autogen.sh used to select the specific version:

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c09cc83