Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6407 closed enhancement (fixed)

Update Python to 2.6.4 (patches/files included)

Reported by: riskable@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: python Cc:

Description

The attached files will update the Python package from 2.6.1 to 2.6.4. Due to some (minor) changes in 2.6.4 the 080-distutils-dont_adjust_files.patch needs to be replaced as well (attached).

I've also attached my 090-fix-ctypes.patch from ticket #6192 which fixes a segmentation fault with the ctypes module.

For reference, the only changes to the Makefile are the version number and the md5sum.

Attachments (3)

Makefile (13.7 KB) - added by riskable@… 8 years ago.
Updated Makefile for Python (brings it to version 2.6.4)
080-distutils-dont_adjust_files.patch (2.3 KB) - added by riskable@… 8 years ago.
Updated 080-distutils-dont_adjust_files.patch to work with Python 2.6.4
090-fix-ctypes.patch (622 bytes) - added by riskable@… 8 years ago.
Patch to fix a segmentation fault encountered when using the ctypes module

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by riskable@…

Updated Makefile for Python (brings it to version 2.6.4)

Changed 8 years ago by riskable@…

Updated 080-distutils-dont_adjust_files.patch to work with Python 2.6.4

Changed 8 years ago by riskable@…

Patch to fix a segmentation fault encountered when using the ctypes module

comment:1 Changed 8 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in r18969, thanks!

comment:2 Changed 8 years ago by marca56@…

Florian:

See below...

Python/mactoolboxglue.c:471: error: expected declaration specifiers or '...' before 'CFURLRef'
Python/mactoolboxglue.c:471: error: expected declaration specifiers or '...' before 'CFURLRef'
Python/mactoolboxglue.c: In function 'OptionalCFURLRefObj_Convert':
Python/mactoolboxglue.c:471: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c:471: error: too many arguments to function 'PyMacGluePtr_OptionalCFURLRefObj_Convert'
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:472: warning: parameter names (without types) in function declaration
Python/mactoolboxglue.c:472: error: expected ')' before 'cobj'
make[4]: * [Python/mactoolboxglue.o] Error 1
make[3]:
* /Users/marca56/openwrt/build_dir/target-mips_uClibc-0.9.30.1/Python-2.6.4/.built Error 2
make[2]: * [package/feeds/packages/python/compile] Error 2
make[1]:
* /Users/marca56/openwrt/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package_compile Error 2
make: * [world] Error 2
marca56:openwrt marca56$

With the update to Python 2.6.4, the compilation on OS X gets much further, but bombs out on the mactoolboxglue.c step. It used to fail under Python 2.6.1 at the pymath.o step. Maybe an ARCH tweak for cross-compile on MIPS is still needed?

marc.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.