Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285841 - dev-lang/python-2.6.2-r01.4: configure: error: Unexpected output of 'arch' on OSX
Summary: dev-lang/python-2.6.2-r01.4: configure: error: Unexpected output of 'arch' on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 15:44 UTC by Crazor
Modified: 2009-09-29 18:10 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,145.59 KB, text/plain)
2009-09-21 15:45 UTC, Crazor
Details
Disable qt module with use flag (python-2.6.2-r2.ebuild.fix_qt.patch,1.03 KB, patch)
2009-09-26 15:51 UTC, Pete Black
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Crazor 2009-09-21 15:44:10 UTC
When I try to bootstrap on Mac OS X 10.6.1, i get the following message:
"configure: error: Unexpected output of 'arch' on OSX"
while configuring python-2.6.2-r01.4 while executing code listing 1.9 (emerge portage).
I started with ./bootstrap-prefix.sh $EPREFIX tree, although I then tried with latest_tree and also with emerge --sync before re-emerging portage.
Comment 1 Crazor 2009-09-21 15:45:34 UTC
Created attachment 204829 [details]
config.log
Comment 2 Crazor 2009-09-21 20:42:49 UTC
Whereas /usr/bin/arch returns i386 on my (K64-booted) system, the one inside the prefix returns x86_64. When I replace arch by a script that echos i386, python emerges fine.
Comment 3 Fabian Groffen gentoo-dev 2009-09-21 20:44:30 UTC
Aha, that explains.  So we better fix python a bit more.
Comment 4 Stuart Shelton 2009-09-22 16:58:11 UTC
Same problem here.
Comment 5 Fabian Groffen gentoo-dev 2009-09-22 18:16:10 UTC
I just did an attempt to fix this:
http://overlays.gentoo.org/proj/alt/changeset/51311/trunk/prefix-overlay
Comment 6 Pete Black 2009-09-26 15:51:31 UTC
Created attachment 205304 [details, diff]
Disable qt module with use flag

I had've been having problems with compiles failing when truing to build the _Qt module. Sorry, just deleted the logs, but I could get those if someone's interested.

The patch is python-2.6.2-r2.ebuild and disables the building of the _Qt module by default.
Comment 7 Pete Black 2009-09-26 15:53:23 UTC
(In reply to comment #5)
> I just did an attempt to fix this:
> http://overlays.gentoo.org/proj/alt/changeset/51311/trunk/prefix-overlay
> 

Can confirm that this fixes the 'arch' problem. I have used a similar version locally.