Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308515 - gcc-apple doesn't prepare with >=sys-devel/autoconf-2.64
Summary: gcc-apple doesn't prepare with >=sys-devel/autoconf-2.64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High critical (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autoconf-2.64
  Show dependency tree
 
Reported: 2010-03-08 20:37 UTC by Fabian Groffen
Modified: 2010-03-26 19:27 UTC (History)
2 users (show)

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


Attachments
Missing m4_undefine (gcc-apple-AC_ARG_VAR_PRECIOUS.patch,339 bytes, patch)
2010-03-09 14:38 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.