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

Bug 308515

Summary: gcc-apple doesn't prepare with >=sys-devel/autoconf-2.64
Product: Gentoo/Alt Reporter: Fabian Groffen <grobian>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: critical CC: srcshelton, ssuominen
Priority: High    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 257596    
Attachments: Missing m4_undefine

Description Fabian Groffen gentoo-dev 2010-03-08 20:37:11 UTC
the prepare phase for gcc-apple-4.2.1_p5647 fails with an autoconf error:

configure.ac:113: error: m4_copy: won't overwrite defined macro: _AC_ARG_VAR_PRECIOUS
configure.ac:113: the top level
autom4te-2.65: /Volumes/Scratch/Gentoo/usr/bin/m4 failed with exit status: 1

autoconf version 2.63 works fine.
Comment 1 Fabian Groffen gentoo-dev 2010-03-08 20:40:40 UTC
something here hints to use _force variants:
http://ubuntuforums.org/showthread.php?t=1311495
Comment 2 Stuart Shelton 2010-03-09 14:19:25 UTC
Confirmed - gcc-apple will prepare with autoconf-2.63-r01.1, but not with autoconf-2.64 or autoconf-2.65.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 14:38:35 UTC
Created attachment 222835 [details, diff]
Missing m4_undefine

This is how it was fixed in libffi (also in 3.0.9 release). If this is wrong, please let me know... that would mean it's wrong also in libffi's release 
now. :-(
Comment 4 Fabian Groffen gentoo-dev 2010-03-10 20:07:40 UTC
(In reply to comment #3)
> Created an attachment (id=222835) [details]
> Missing m4_undefine
> 
> This is how it was fixed in libffi (also in 3.0.9 release). If this is wrong,
> please let me know... that would mean it's wrong also in libffi's release 
> now. :-(

http://osdir.com/ml/bug-gnu-utils-gnu/2009-10/msg01692.html

that comment by Ralf Wildenhaus would suggest that the suggested patch would be indeed the correct approach 
Comment 5 Fabian Groffen gentoo-dev 2010-03-26 19:27:25 UTC
Thanks, I applied the patch to all 4.2.1-based gcc-apple's.