[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-05-03 Thread Thomas Heller

Thomas Heller thel...@ctypes.org added the comment:

Tested myself, on a mipsel debian qemu instance.

--
resolution: accepted - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-04-28 Thread Thomas Heller

Thomas Heller thel...@ctypes.org added the comment:

I've applied py-issue-4305.patch and reran configure 2.61. Committed as
rev 72081 (trunk), 72082 (py3k branch), 72083 (release26-maint branch),
72084 (release30-maint branch).

Can someone please confirm that it works now, so that I can close this
issue?

--
resolution:  - accepted
stage:  - committed/rejected
title: ctypes fails to build on mipsel-linux-gnu (detects mips  instead of 
mipsel) - ctypes fails to build on mipsel-linux-gnu (detects mips instead of 
mipsel)
type:  - compile error
versions: +Python 3.0, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-04-26 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

Thomas, the report is for:

ffi_sources += ffi_platforms['MIPS']
KeyError: 'MIPS'

you may test patch without to cross-compile. As example create two
directories.

In first one run:
/Modules/_ctypes/libffi/configure --host=mips-pc-linux F77=no CXX=no
and in the second one:
/Modules/_ctypes/libffi/configure --host=mips-sgi-irix5.0 FC=no

Compare directories as example:
$ diff -ur --exclude=config.* [DIR1] [DIR2]

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-04-25 Thread Thomas Heller

Thomas Heller thel...@ctypes.org added the comment:

I wonder if fixes for issues like these (ctypes build errors on some
plaforms) could be verified by using cross compilers on linux?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-04-17 Thread Joshua Kinard

Joshua Kinard ku...@gentoo.org added the comment:

Is there any movement on this perchance?  Just bumped into this on my
MIPS platform and discovered this bug.

--
nosy: +kumba

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-04-17 Thread Thomas Heller

Thomas Heller thel...@ctypes.org added the comment:

Joshua Kinard schrieb:
 Joshua Kinard ku...@gentoo.org added the comment:
 
 Is there any movement on this perchance?  Just bumped into this on my
 MIPS platform and discovered this bug.

There is no MIPS buildbot at the moment, and I'm unclear which one
of the patches solves the issue.

--
title: ctypes fails to build on mipsel-linux-gnu (detects mips instead of 
mipsel) - ctypes fails to build on mipsel-linux-gnu (detects mipsinstead 
of mipsel)

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-14 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

May I propose a simple py-issue-4305.patch. Let me know if patch work
for you.

--
nosy: +rpetrov
Added file: http://bugs.python.org/file13083/py-issue-4305.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-14 Thread Mark Miller

Mark Miller m...@mirell.org added the comment:

Not entirely. I applied what you had for the autoconf section to my
configure, since I do not have autoconf installed in my environment. 

Specifically, this part of configure is what's messing with the build:

if test x$TARGET = xMIPS; then
  MIPS_TRUE=
  MIPS_FALSE='#'
else
  MIPS_TRUE='#'
  MIPS_FALSE=
fi

Since the target is being renamed to MIPS_LINUX or MIPS_IRIX, this test
assumes the target is not MIPS.

The patch you have gets past the build break, but doesn't actually
compile what I believe is a working libffi for MIPS.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-14 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

So I attach patch with changes in Modules/_ctypes/libffi/configure for
the tests.

Added file: http://bugs.python.org/file13084/py-issue-4305+configure.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-13 Thread Mark Miller

Mark Miller m...@mirell.org added the comment:

Would it be possible to get some feedback as to whether this is a
candidate for Python 2.6 on this patch?

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-01-05 Thread Mark Miller

Mark Miller m...@mirell.org added the comment:

It's actually due to the merge of the libffi3 branch back in March,
which removed the logic for configure to deal with MIPS in
fficonfig.py.in. I've attached a patch which allows the build to work
correctly on the QEMU instance of the MIPSEL machine I have.

--
keywords: +patch
nosy: +mirell
Added file: http://bugs.python.org/file12617/mips-ffi.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-01-05 Thread Mark Miller

Mark Miller m...@mirell.org added the comment:

Adding this as affecting the 2.6 branch as well, since I initially
tested on a 2.6.1 tarball with this problem.

--
versions: +Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2008-11-12 Thread Matthias Klose

New submission from Matthias Klose [EMAIL PROTECTED]:

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

--
assignee: theller
components: ctypes
messages: 75781
nosy: doko, theller
severity: normal
status: open
title: ctypes fails to build on mipsel-linux-gnu (detects mips instead of 
mipsel)
versions: Python 2.7

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4305
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com