Bug 35179 - aclocal.m4 is broken in ppmd
Bug#: 35179 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: ferringb@gmail.com
Component: Applications
URL:  http://forums.gentoo.org/viewtopic.php?t=53406&start=100
Summary: aclocal.m4 is broken in ppmd
Keywords:  
Status Whiteboard: 
Opened: 2003-12-06 00:13 0000
Description:   Opened: 2003-12-06 00:13 0000
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 From Brian Harring 2003-12-06 00:16:59 0000 -------
Created an attachment (id=21778) [details]
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 From Brian Harring 2003-12-06 00:21:56 0000 -------
Pardon; the "expected results" I seem to have screwed up- expected result is
that this ebuild emerges rather then possibly borking.

------- Comment #3 From Brian Harring 2003-12-06 20:55:29 0000 -------
Created an attachment (id=21815) [details]
Contains the original aclocal.m4 fix, and a switch from using 'head -3' to
'head -n 3' due to the former being deprecated...

Should (hopefully) be the final tweak needed.

------- Comment #4 From Brian Harring 2003-12-06 20:57:28 0000 -------
(From update of attachment 21815 [details])
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 From Seemant Kulleen (RETIRED) 2003-12-08 18:42:33 0000 -------
fixed in cvs, thanks brian