Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376339 - dev-python/wxpython tries to link with preserved wxGTK libs
Summary: dev-python/wxpython tries to link with preserved wxGTK libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
: 462726 (view as bug list)
Depends on:
Blocks: 462544
  Show dependency tree
 
Reported: 2011-07-25 11:23 UTC by niks1024
Modified: 2013-03-26 03:24 UTC (History)
2 users (show)

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


Attachments
wxpython build.log.gz (build.log.gz,8.42 KB, application/x-gzip)
2011-07-25 23:08 UTC, niks1024
Details
build.log (build.log,71.90 KB, text/plain)
2011-07-26 10:51 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niks1024 2011-07-25 11:23:04 UTC
I haven't done full testing but it seems that dev-python/wxpython-2.8.12.0 (cairo opengl -doc -examples) requires x11-libs/wxGTK-2.8.12.0 to be built with gstreamer USE flag which at the moment is not required by the former ebuild. This is likely true for all the other versions of the two programs as well.
If possible a way to build wxpython without gstreamer would be good too.
Comment 1 Pacho Ramos gentoo-dev 2011-07-25 18:06:57 UTC
Please attach full build.log
Comment 2 niks1024 2011-07-25 23:08:47 UTC
Created attachment 280965 [details]
wxpython build.log.gz

I hope this is the right one.
Comment 3 Pacho Ramos gentoo-dev 2011-07-26 10:51:32 UTC
Created attachment 281037 [details]
build.log

Compressing a file two times with gzip won't save space, better use bzip2 or xz for compressing text files a lot ;-), anyway, this is small enough to attach here without compression
Comment 4 Patrick Lauer gentoo-dev 2011-07-28 22:04:59 UTC
I can't reproduce this error, wxpython installs properly with wxGTK USE="-gstreamer". Any hints how to trigger it welcome :)
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2011-07-29 01:29:18 UTC
I can reproduce it fine.
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2011-07-29 01:39:27 UTC
I need your emerge --info.  Did you recently change the USE flags on wxGTK?  Is libwx_gtk2u_media-2.8.so.0 a preserved lib (portageq list_preserved_libs /)?
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2011-07-29 03:28:52 UTC
I see the problem.  findLib in config.py returns true if it finds anything matching "libwx_gtk2u_libname-2.8*".  So even though we've removed the linker name of the library it'll still find the soname/realname and add it to the linker command line.

 622     for d in dirs:
 623         p = os.path.join(d, name)
 624         if glob.glob(p+'*') != []:
 625             return True

You can workaround it for now by just deleting the leftover link and library (after everything else needing it has been rebuilt), but we'll need an actual fix here.
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2013-03-26 01:45:15 UTC
*** Bug 462726 has been marked as a duplicate of this bug. ***