New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel) #48555
Comments
seen on the mipsel buildbot running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers
Traceback (most recent call last):
File "./setup.py", line 1880, in <module>
main()
File "./setup.py", line 1875, in main
'Lib/smtpd.py']
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/core.py",
line 152, in setup
dist.run_commands()
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/dist.py",
line 975, in run_commands
self.run_command(cmd)
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/command/build.py",
line 134, in run
self.run_command(cmd_name)
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/command/build_ext.py",
line 343, in run
self.build_extensions()
File "./setup.py", line 201, in build_extensions
build_ext.build_extensions(self)
File
"/home/doko/buildarea/trunk.klose-debian-mipsel/build/Lib/distutils/command/build_ext.py",
line 469, in build_extensions
self.build_extension(ext)
File "./setup.py", line 234, in build_extension
if not self.configure_ctypes(ext):
File "./setup.py", line 1684, in configure_ctypes
execfile(ffi_configfile, globals(), fficonfig)
File "build/temp.linux-mips-2.7-pydebug/libffi/fficonfig.py", line 32,
in <module>
ffi_sources += ffi_platforms['MIPS']
KeyError: 'MIPS'
[47349 refs]
make: *** [sharedmods] Error 1 |
It's actually due to the merge of the libffi3 branch back in March, |
Adding this as affecting the 2.6 branch as well, since I initially |
Would it be possible to get some feedback as to whether this is a |
May I propose a simple py-issue-4305.patch. Let me know if patch work |
Not entirely. I applied what you had for the autoconf section to my Specifically, this part of configure is what's messing with the build: if test x$TARGET = xMIPS; then Since the target is being renamed to MIPS_LINUX or MIPS_IRIX, this test The patch you have gets past the build break, but doesn't actually |
So I attach patch with changes in Modules/_ctypes/libffi/configure for |
Is there any movement on this perchance? Just bumped into this on my |
Joshua Kinard schrieb:
There is no MIPS buildbot at the moment, and I'm unclear which one |
I wonder if fixes for issues like these (ctypes build errors on some |
Thomas, the report is for: In first one run: Compare directories as example: |
I've applied py-issue-4305.patch and reran configure 2.61. Committed as Can someone please confirm that it works now, so that I can close this |
Tested myself, on a mipsel debian qemu instance. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: