Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 451744 (automake-1.13)

Summary: [TRACKER] Packages failing to build (or still using AM_CONFIG_HEADER, AM_PROG_CC_STDC) with automake 1.13
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: ag4ve.us, brent.saner, che, ed, eugene.shalygin, jason.mours, mail, marduk, mattmcadoo, pacho, tdalman
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.flameeyes.eu/autotools-mythbuster/forwardporting/automake.html
Whiteboard: AM_CONFIG_HEADER and AM_PROG_CC_STDC were fatal in 1.13.1 but was reverted in 1.13.2. The bugs should still be handled for future 1.14!
Package list:
Runtime testing required: ---
Bug Depends on: 467610, 467664, 469030, 469794, 470240, 471960, 482462, 482736, 359637, 451590, 451750, 452118, 452124, 454956, 454960, 455444, 466410, 466412, 466938, 466940, 466944, 466946, 466948, 466950, 466952, 466954, 466956, 466958, 466960, 466962, 466964, 466966, 466968, 466970, 466972, 466976, 466978, 466980, 466984, 466986, 466990, 466996, 466998, 467000, 467002, 467006, 467010, 467012, 467014, 467016, 467018, 467020, 467022, 467024, 467026, 467028, 467030, 467032, 467042, 467058, 467064, 467070, 467086, 467090, 467096, 467100, 467102, 467104, 467108, 467120, 467126, 467206, 467228, 467230, 467244, 467330, 467414, 467462, 467464, 467498, 467520, 467522, 467532, 467536, 467538, 467540, 467542, 467544, 467546, 467548, 467550, 467552, 467554, 467556, 467558, 467560, 467562, 467564, 467568, 467570, 467572, 467574, 467576, 467578, 467580, 467582, 467584, 467586, 467588, 467590, 467592, 467594, 467596, 467598, 467600, 467602, 467604, 467606, 467608, 467612, 467614, 467616, 467618, 467620, 467626, 467628, 467630, 467632, 467634, 467636, 467638, 467642, 467656, 467658, 467660, 467666, 467668, 467670, 467672, 467674, 467676, 467678, 467680, 467682, 467684, 467694, 467704, 467708, 467736, 467746, 467752, 467770, 467778, 467784, 467788, 467812, 467816, 467818, 467822, 467838, 467852, 467860, 467888, 467910, 467950, 467980, 467988, 468016, 468068, 468070, 468090, 468116, 468134, 468200, 468212, 468214, 468242, 468264, 468368, 468432, 468438, 468448, 468456, 468458, 468496, 468562, 468586, 468608, 468632, 468638, 468668, 468692, 468694, 468700, 468714, 468716, 468732, 468746, 468750, 468754, 468764, 468808, 468850, 468856, 468974, 468976, 469054, 469106, 469126, 469208, 469292, 469322, 469394, 469406, 469476, 469504, 469584, 469698, 469704, 469818, 469824, 469872, 469968, 470114, 470242, 470802, 471294, 471372, 471950, 471966, 471970, 472018, 472024, 472232, 472522, 473642, 476196, 476716, 478312, 479890, 483800, 484020, 484024, 486542, 486722, 487042, 488444, 496772, 515220    
Bug Blocks: 481904    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2013-01-13 14:33:49 UTC
As usual, create new bugs blocking against this rather than commenting on the tracker itself.
Comment 1 Gilles Dartiguelongue gentoo-dev 2013-04-24 08:45:50 UTC
I have a question for the tracker though, what is the recommended fix for this problem ? Add autoconf patch or regen upstream packages with modern autotools ?
Comment 2 白川間瀬流 2013-04-29 18:37:45 UTC
As far as i seen, most of these bugs can be workarounded with an

sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die

in the src_prepare section

Is this a proper solution or rather an quick&dirty workaround?
Comment 3 Lars Wendler (Polynomial-C) gentoo-dev 2013-05-06 12:39:57 UTC
*** Bug 468754 has been marked as a duplicate of this bug. ***
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2013-05-07 18:48:27 UTC
(In reply to comment #2)

It is. But don't forget to create patch and send it upstream.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-05-15 20:58:25 UTC
In automake-1.13.2 the uses of of AM_CONFIG_HEADER and AM_PROG_CC_STDC and are warnings instead of errors again, due to people like eg. Fedora maintainers wanting it so
Anyways we should still convert the already opened bugs because they will eventually go away anway
Comment 6 Tolga Dalman 2013-05-15 21:06:12 UTC
(In reply to comment #5)
> Anyways we should still convert the already opened bugs because they will
> eventually go away anway

I agree. Also, I doubt that AM_CONFIG_HEADER and AM_PROG_CC_STDC will stay forever in future automake releases. So, keep up good work :)
Comment 7 Pacho Ramos gentoo-dev 2013-05-15 21:59:22 UTC
(In reply to comment #2)
> sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die

Why isn't this change done at autotools.eclass level instead of needing to change it in lots of packages? (if it was only this change, ok, but this will probably be needed again and again in the future when automake will require other to be renamed)
Comment 8 Jason Mours 2013-05-16 01:21:30 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Anyways we should still convert the already opened bugs because they will
> > eventually go away anway
> 
> I agree. Also, I doubt that AM_CONFIG_HEADER and AM_PROG_CC_STDC will stay
> forever in future automake releases. So, keep up good work :)

I agree, I'm masking 1.13.2 for now. All this work is good code. Thanks
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-29 14:23:37 UTC
*** Bug 482924 has been marked as a duplicate of this bug. ***
Comment 10 Anthony Basile gentoo-dev 2013-09-25 10:57:45 UTC
(In reply to Pacho Ramos from comment #7)
> (In reply to comment #2)
> > sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
> 
> Why isn't this change done at autotools.eclass level instead of needing to
> change it in lots of packages? (if it was only this change, ok, but this
> will probably be needed again and again in the future when automake will
> require other to be renamed)

We could, but then won't that shortcut producing patches and sending them upstream?  It might be worth alerting upstream maintainers to the change.
Comment 11 Pacho Ramos gentoo-dev 2013-09-25 17:24:52 UTC
In most cases I think upstream is not being notified by us, for two causes:
1. Some failing packages have dead upstream and won't ever be fixed.
2. Those packages with active upstreams will be fixed in future new versions as this affects to all distributions