Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35179 - aclocal.m4 is broken in ppmd
Summary: aclocal.m4 is broken in ppmd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-06 00:13 UTC by Brian Harring (RETIRED)
Modified: 2003-12-08 18:42 UTC (History)
0 users

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


Attachments
ppmd-9.1.ebuild patch (patch,533 bytes, patch)
2003-12-06 00:16 UTC, Brian Harring (RETIRED)
Details | Diff
ppmd-9.1.ebuild patch, v2... (patch,536 bytes, patch)
2003-12-06 20:55 UTC, Brian Harring (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2003-12-06 00:13:21 UTC
If the configure script detects that configure.in or Makefile.am are newer, it'll attempt to regenerate 
the files- in attempting to regenerate the configure script it will *always* fail.
autoreconf fixes this nicely.

Reproducible: Always
Steps to Reproduce:
1.ebuild ppmd-9.1.ebuild unpack
2.touch ${s}/Makefile.am ${s}/configure.in
3. ebuild ppmd-9.1.ebuild compile
Actual Results:  
Attempts to regenerate configure, and dies in the process.

Expected Results:  
Shouldn't be 

The applied patch creates Makefile.am and configure.in *after* it creates Makefile and configure.  I 
think the forum poster got unlucky, and Makefile.am and configure.in ended up w/ a different 
timestamp then configure/makefile, thus exposing the broken aclocal.m4 .

note, emerge info left out (this is a break in the source, not the ebuild);
Comment 1 Brian Harring (RETIRED) gentoo-dev 2003-12-06 00:16:59 UTC
Created attachment 21778 [details, diff]
ppmd-9.1.ebuild patch

Fixed a makefile error (over-riding the users cflags), along w/ a permenant fix
for correcting the aclocal.m4 problem.
Comment 2 Brian Harring (RETIRED) gentoo-dev 2003-12-06 00:21:56 UTC
Pardon; the "expected results" I seem to have screwed up- expected result is that this ebuild emerges rather then possibly borking.
Comment 3 Brian Harring (RETIRED) gentoo-dev 2003-12-06 20:55:29 UTC
Created attachment 21815 [details, diff]
ppmd-9.1.ebuild patch, v2...

Should (hopefully) be the final tweak needed.
Comment 4 Brian Harring (RETIRED) gentoo-dev 2003-12-06 20:57:28 UTC
Comment on attachment 21815 [details, diff]
ppmd-9.1.ebuild patch, v2...

Contains the original aclocal.m4 fix, and a switch from using 'head -3' to
'head -n 3' due to the former being deprecated...
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-08 18:42:33 UTC
fixed in cvs, thanks brian