econf of app-office/dia-0.97 fails here because it is looking for libpython2.6.a in /usr/lib/python2.6/config for it, but the dev-lang/python ebuild has actually put it into /usr/lib. Reproducible: Always Steps to Reproduce:
Created attachment 192966 [details] Patch which makes configure look for libpython2.6.a in /usr/lib too This is how I fixed it, configure now looks in /usr/lib too, but maybe (probably?) there is a better solution...
I can confirm this bug. For some odd reason I can not apply the patch whatsoever - There's another patch applied bei epatch in the ebuild, which is not applied during emerge either. Any recommendations on this?
This bug exists on x86_64 as well.
*** Bug 272741 has been marked as a duplicate of this bug. ***
Rather every package should use libpythonX.Y.so instead of libpythonX.Y.a. (See bug #252372.)
Upstream bug http://bugzilla.gnome.org/show_bug.cgi?id=581533
vincent's patch looks better.
Christian: have a look to the patch submitted to upstream, it's already needed to choice a shared object (when it's possible of course) instead of a 'ar lib', the first is totally dynamic , the second is totally static, when the API will be updated for example packages compiled with static libs will must be recompiled to include new behaviours (from the new API)... not with a shared object ;) However, thanks for your patch anyway :)
Fixed into the tree without a revision bump, patch fixed a bit and attached to upstream. Thanks for reporting ;)
*** Bug 277093 has been marked as a duplicate of this bug. ***
This bug applies to app-office/dia-0.96.1-r1[python] with dev-lang/python-2.5.4-r3 too. Not sure how much effort to give it because app-office/dia-0.96 contains security bug and will be superseded by newer version (bug #257020).
Please stop commenting on every other bug you come across, if you want the fix that is in dia 0.97, please just fill a damn stabilization request.
problem of the proposed patch are twofold: - it still prints ".a" but checks ".so" - it assumes the shared object is called ".so", iso .dll, .dylib, .sl, etc. as on non-ELF platforms That's basically what bug #298232 is about. Isn't there a way to pull from python what the shared lib object is supposed to be?
Maybe sysconfig.get_config_var("LDLIBRARY")...