Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192606 - Have python-2.5 ebuild build libpython2.5.dylib
Summary: Have python-2.5 ebuild build libpython2.5.dylib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 188120
  Show dependency tree
 
Reported: 2007-09-15 16:35 UTC by Philipp Bunge
Modified: 2007-10-11 13:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Bunge 2007-09-15 16:35:47 UTC
The ebuilds for python-2.4 built libpython2.4.dylib. Have python2.5 do the same.

I tried adapting the patch from 2.4 myself, but ended up having src_compile fail with:
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option

I haven't had time to inspect this further yet.

Reproducible: Always
Comment 1 Philipp Bunge 2007-09-15 17:03:47 UTC
Progress: building with -fno-common resolves the previous error, but now I get:

ld: Undefined symbols:
_environ
Comment 2 Fabian Groffen gentoo-dev 2007-09-19 19:27:17 UTC
the environ thing can be solved this way:

+#ifdef __darwin__
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+#endif

Can you post your patch so we can get it into the tree asap?  I like having a libpython myself too.  Thanks for looking into this!
Comment 3 Fabian Groffen gentoo-dev 2007-10-11 13:21:02 UTC
Fixed in dev-lang/python-2.5.1-r02.2