| Summary: | python fails to bootstrap on x86_64-apple-darwin10 | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Guilherme Amadio <amadio> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lil_tux, sebastian |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | IA64 | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Guilherme Amadio
2010-03-21 18:12:17 UTC
thanks for heiko_, who knew that this was the patch to revert... Can I get the error output, please? I don't know what to revert on that patch. This is what I get:
configure: creating ./config.status
config.status: creating include/ffi.h
config.status: creating fficonfig.py
config.status: creating fficonfig.h
config.status: linking /Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Modules/_ctypes/libffi/src/x86/ffitarget.h to include/ffitarget.h
config.status: linking /Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Modules/_ctypes/libffi/include/ffi_common.h to include/ffi_common.h
config.status: executing depfiles commands
config.status: executing include commands
config.status: executing src commands
Traceback (most recent call last):
File "./setup.py", line 1876, in <module>
main()
File "./setup.py", line 1870, in main
'Lib/smtpd.py']
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/command/build.py", line 134, in run
self.run_command(cmd_name)
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "./setup.py", line 214, in build_extensions
build_ext.build_extensions(self)
File "/Users/amadio/Library/Gentoo/tmp/var/tmp/python-2.6.4/Python-2.6.4/Lib/distutils/command/build_ext.py", line 449, in build_extensions
self.build_extension(ext)
File "./setup.py", line 249, in build_extension
if not self.configure_ctypes(ext):
File "./setup.py", line 1682, in configure_ctypes
execfile(ffi_configfile, globals(), fficonfig)
File "build/temp.macosx-10.4-i386-2.6/libffi/fficonfig.py", line 32, in <module>
ffi_sources += ffi_platforms['X86_DARWIN']
KeyError: 'X86_DARWIN'
make: *** [sharedmods] Error 1
I can confirm that problem on my host. Reverting that patch was the quickest (and maybe dirtiest) i could come up with that day. Maybe that patch needs another patch as dependency that is not applied during bootstrap? Yesterday I updated a new python patched tarball that doesn't have that patch applied. Is it still failing now? It is fixed, I just tested it and python now bootstraps normally. |