Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190395 Details for
Bug 268705
dev-lang/python-2.6 / MIPS build failure + patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix Python-2.6 build on MIPS
python-2.6.2-gentoo-support-mips.patch (text/plain), 2.59 KB, created by
Manuel Lauss
on 2009-05-05 10:26:03 UTC
(
hide
)
Description:
Fix Python-2.6 build on MIPS
Filename:
MIME Type:
Creator:
Manuel Lauss
Created:
2009-05-05 10:26:03 UTC
Size:
2.59 KB
patch
obsolete
>Building python-2.6 on MIPS bombs out building libffi: > >config.status: linking /var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/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 1921, in <module> > main() > File "./setup.py", line 1916, in main > 'Lib/smtpd.py'] > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/core.py", line 152, in setup > dist.run_commands() > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/dist.py", line 975, in run_commands > self.run_command(cmd) > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/dist.py", line 995, in run_command > cmd_obj.run() > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/command/build.py", line 134, in run > self.run_command(cmd_name) > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/cmd.py", line 333, in run_command > self.distribution.run_command(command) > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/dist.py", line 995, in run_command > cmd_obj.run() > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/command/build_ext.py", line 345, in run > self.build_extensions() > File "./setup.py", line 214, in build_extensions > build_ext.build_extensions(self) > File "/var/tmp/portage/dev-lang/python-2.6.2/work/Python-2.6.2/Lib/distutils/command/build_ext.py", line 471, in build_extensions > self.build_extension(ext) > File "./setup.py", line 248, in build_extension > if not self.configure_ctypes(ext): > File "./setup.py", line 1725, in configure_ctypes > execfile(ffi_configfile, globals(), fficonfig) > File "build/temp.linux-mips-2.6/libffi/fficonfig.py", line 32, in <module> > ffi_sources += ffi_platforms['MIPS'] >KeyError: 'MIPS' >make: *** [sharedmods] Error 1 > > >--- Python-2.6.2/Modules/_ctypes/libffi/fficonfig.py.in~orig 2009-05-05 12:16:51.272277152 +0200 >+++ Python-2.6.2/Modules/_ctypes/libffi/fficonfig.py.in 2009-05-05 12:17:03.545598681 +0200 >@@ -5,6 +5,7 @@ src/prep_cif.c > ffi_platforms = { > 'MIPS_IRIX': ['src/mips/ffi.c', 'src/mips/o32.S', 'src/mips/n32.S'], > 'MIPS_LINUX': ['src/mips/ffi.c', 'src/mips/o32.S'], >+ 'MIPS': ['src/mips/ffi.c', 'src/mips/o32.S'], > 'X86': ['src/x86/ffi.c', 'src/x86/sysv.S'], > 'X86_FREEBSD': ['src/x86/ffi.c', 'src/x86/sysv.S'], > 'X86_WIN32': ['src/x86/ffi.c', 'src/x86/win32.S'],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268705
: 190395