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

Bug 642600

Summary: media-video/mediainfo-18.03 fails with SYMLINK_LIB=no
Product: Gentoo Linux Reporter: charles17
Component: Current packagesAssignee: media-video herd <media-video>
Severity: normal CC: alexander, mgorny, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    
Attachments: build.log
emerge --info '=media-video/mediainfo-0.7.99::gentoo'

Description charles17 2017-12-29 06:12:45 UTC
Created attachment 511928 [details]

checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0 (--unicode=yes --static=no)... no

WxWidgets not yet compiled, try to compile
Comment 1 charles17 2017-12-29 06:15:53 UTC
Created attachment 511930 [details]
emerge --info '=media-video/mediainfo-0.7.99::gentoo'
Comment 2 Alexander Tsoy 2017-12-29 06:50:32 UTC
ebuild inherits wxwidgets eclass but doesn't call setup-wxwidgets(). Try the following patch:

@@ -26,7 +26,10 @@
 pkg_setup() {
-	use wxwidgets && TARGETS+=" GUI"
+	if use wxwidgets; then
+		setup-wxwidgets
+	fi
 src_prepare() {
Comment 3 charles17 2017-12-29 06:52:43 UTC
Created attachment 511932 [details]
Comment 4 charles17 2018-02-04 08:15:08 UTC
Meanwhile 17.12 wenat stable without the fix.  Why??
Comment 5 charles17 2018-05-06 08:49:26 UTC
As was closed without a merge:
Is the "no-symlink-lib" dead?
Comment 6 charles17 2018-05-10 09:15:06 UTC
Same problem with media-video/mediainfo-18.03

checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0 (--unicode=yes --static=no)... no

WxWidgets not yet compiled, try to compile

File Shared/Project/WxWidgets/ not found

configure: error: 
            wxWidgets must be installed on your system.

            Please check that wx-config is in path, the directory
            where wxWidgets libraries are installed (returned by
            'wx-config --libs' or 'wx-config --static --libs' command)
            is in LD_LIBRARY_PATH or equivalent variable and
            wxWidgets version is 2.6.0 or above, and the compilation
            is compatible with
            --unicode=yes --static=no

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/mediainfo-18.03/work/MediaInfo/Project/GNU/GUI/config.log
Comment 7 charles17 2018-06-06 05:42:00 UTC
And media-video/mediainfo-18.03 even went stable, still ignoring the no-symlink-lib tracker and
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-06-17 06:31:05 UTC
Broken on new profiles.  Maintainer didn't manage to reply in half a year.  No revdeps.  Time to treeclean?
Comment 9 Pacho Ramos gentoo-dev 2018-06-17 11:13:19 UTC
it has media-video/bashnapi as reverse dep (also there is a 18.05 newer version)
Comment 10 Larry the Git Cow gentoo-dev 2018-09-15 12:24:45 UTC
The bug has been closed via the following commit(s):

commit 3dd31dc605d4ccf8d114828608a35507e8357e7b
Author:     Tim Harder <>
AuthorDate: 2018-09-15 12:14:45 +0000
Commit:     Tim Harder <>
CommitDate: 2018-09-15 12:22:04 +0000

    media-video/mediainfo: fix wxwidgets eclass usage
    Fixes: thanks to charles17

 media-video/mediainfo/mediainfo-18.05.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)