| Summary: | Cant bootstrap Gentoo Prefix because it installs python 2.6 and portage needs 2.7 | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Johan Andersson <j> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | rabbe |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | output from bootstrapping python | ||
|
Description
Johan Andersson
2011-07-29 12:53:30 UTC
please edit the bootstrap_python function and set PV to 2.7.2, and see if that gets through on your side didn't work so good.. i get this error with python (will attach the whole output):
Traceback (most recent call last):
File "./setup.py", line 1921, in <module>
main()
File "./setup.py", line 1915, in main
'Lib/smtpd.py']
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "./setup.py", line 250, in build_extensions
build_ext.build_extensions(self)
File "/Users/johan/Gentoo/tmp/var/tmp/python-2.7.2/Python-2.7.2/Lib/distutils/command/build_ext.py", line 449, in build_extensions
self.build_extension(ext)
File "./setup.py", line 286, in build_extension
if not self.configure_ctypes(ext):
File "./setup.py", line 1726, in configure_ctypes
exec f in fficonfig
File "build/temp.macosx-10.4-x86_64-2.7/libffi/fficonfig.py", line 33, in <module>
ffi_sources += ffi_platforms['X86_DARWIN']
KeyError: 'X86_DARWIN'
make: *** [sharedmods] Error 1
spaam:~ johan$
Created attachment 281443 [details]
output from bootstrapping python
oh joy, the same as I have on ppc-macos. *sigh* *** Bug 376945 has been marked as a duplicate of this bug. *** So, the path to fix this is (as I see it): 1) Introduce a "bootstrap portage" that just needs py-2.6 since 2.7 won't build reliably. Does it build later though for those that can't build it early? 2) Make portage depend on py-2.6 (not likely, as gx86 (or upstream) has this depend too) py-2.6 is just a lost case. I'm trying hard to get py-2.7.2 compiling. plain (unpatched) python compiles out of the box on Darwin, for a change redownload bootstrap-prefix.sh. It should now bootstrap python-2.7.2 it works now :) good job fabian :) |