Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 259591

Summary: Patch for setuptools issue 43 needed for pylucene-jcc to compile well
Product: Gentoo Linux Reporter: Jacob Floyd <cognifloyd+gentoobugs>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED NEEDINFO    
Severity: normal CC: bberberov+gentoo, serkan
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.python.org/setuptools/issue43
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 258896    
Attachments: setuptools-0.6_rc9 to setuptools-0.6_rc9-r1 diff including the sharedlib patch
patches the setuptools source to include the force_shared flag

Description Jacob Floyd 2009-02-19 13:14:44 UTC
Issue 43 ( http://bugs.python.org/setuptools/issue43 ) contains a patch that is needed to build dev-python/pylucene-jcc libraries properly (as shared libraries instead of static libraries)

With this patch setuptools will function as normal (building static libraries) unless the force_shared flag is deliberately flipped, as is done in pylucene-jcc's setup.py, in which case the libraries are built as shared libraries.

Upstream python has yet to comment on this issue at the time of filing this bug.
Comment 1 Jacob Floyd 2009-02-19 13:17:24 UTC
Created attachment 182548 [details, diff]
setuptools-0.6_rc9 to setuptools-0.6_rc9-r1 diff including the sharedlib patch

Here's the diff to update the rc9 ebuild to use the new sharedlib patch. It compiles and runs fine for me (x86 I have not tested other arches).
Comment 2 Jacob Floyd 2009-02-19 13:19:42 UTC
Created attachment 182549 [details, diff]
patches the setuptools source to include the force_shared flag

This is files/setuptools-0.6_rc9-sharedlib.patch mentioned in issue 43 which creates the force_shared flag, so that packages can compile as shared libraries if they wish.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-10 03:27:22 UTC
Can you reproduce this bug with dev-python/setuptools-0.6.1?
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-04 18:40:00 UTC
Reopen this bug after providing required informations.