Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420701 - =x11-libs/agg-2.5-r2 "Failed Running aclocal"
Summary: =x11-libs/agg-2.5-r2 "Failed Running aclocal"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
: 465446 466596 (view as bug list)
Depends on:
Blocks: automake-1.12
  Show dependency tree
 
Reported: 2012-06-11 14:32 UTC by yarma
Modified: 2013-04-20 22:55 UTC (History)
3 users (show)

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


Attachments
the aclocal.out error file (aclocal.out,690 bytes, text/plain)
2012-06-11 14:34 UTC, yarma
Details
new ebuild with the workaround (agg-2.5-r3.ebuild,1.54 KB, text/plain)
2012-06-11 14:36 UTC, yarma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yarma 2012-06-11 14:32:55 UTC
the =x11-libs/agg-2.5-r2 build failed caused to a now deprecated feature (AM_C_PROTOTYPES) used in configure.in

this is the same problem as several other ebuilds, with an easy workaround described in https://bugs.gentoo.org/show_bug.cgi?id=420223#c6
I applied the https://bugs.gentoo.org/show_bug.cgi?id=420223#c11 fix to this ebuild and now it compile fine !


As the latest official release of agg occured in 2006, I suggest to simply apply the fix in the ebuild and to not wait for an upstream patch ...

Reproducible: Always

Steps to Reproduce:
try to emerge x11-libs/agg
Actual Results:  
failed with a "Failed Running aclocal !" error due to the use of AM_C_PROTOTYPES in configure.in

Expected Results:  
compile fine
Comment 1 yarma 2012-06-11 14:34:06 UTC
Created attachment 315013 [details]
the aclocal.out error file
Comment 2 yarma 2012-06-11 14:36:49 UTC
Created attachment 315015 [details]
new ebuild with the workaround

just added 

	sed -e "s/^AM_C_PROTOTYPES$/#AM_C_PROTOTYPES/" configure.in > configure.in.new
	mv configure.in.new configure.in

in the src_prepare() section
Comment 3 Rafał Mużyło 2012-06-11 15:16:01 UTC
:roll: again, for clarity sake: 'sed -i'; also, checked if the macro is really unused - that was the case in libmng, but not quite so in a2ps (bug 420503).
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-12 12:56:26 UTC
Fixed in CVS.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-10 21:38:50 UTC
*** Bug 465446 has been marked as a duplicate of this bug. ***
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-20 22:54:11 UTC
*** Bug 466596 has been marked as a duplicate of this bug. ***