Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259591 - Patch for setuptools issue 43 needed for pylucene-jcc to compile well
Summary: Patch for setuptools issue 43 needed for pylucene-jcc to compile well
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/setuptools/iss...
Whiteboard:
Keywords:
Depends on:
Blocks: 258896
  Show dependency tree
 
Reported: 2009-02-19 13:14 UTC by Jacob Floyd
Modified: 2009-12-04 18:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
setuptools-0.6_rc9 to setuptools-0.6_rc9-r1 diff including the sharedlib patch (setuptools-0.6_rc9-r1.ebuild.diff,729 bytes, patch)
2009-02-19 13:17 UTC, Jacob Floyd
Details | Diff
patches the setuptools source to include the force_shared flag (setuptools-0.6_rc9-sharedlib.patch,5.79 KB, patch)
2009-02-19 13:19 UTC, Jacob Floyd
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.