Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93606 - Can't emerge mkvtoolnix-1.4.2 with wxGTK-2.6.0-r1
Summary: Can't emerge mkvtoolnix-1.4.2 with wxGTK-2.6.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 13:18 UTC by Luká Polívka
Modified: 2005-05-30 10: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 Luká Polívka 2005-05-22 13:18:39 UTC
I want to emerge mkvtoolnix with GUI, but it complains that I didn't compile
wxGTK with gtk2 USE-flag.

mkvtoolnix ebuild searches for certain wxGTK-2.4 files, while I have wxGTK-2.6.0-r1.

As you can see in 'emerge info', gtk2 and wxwindows USE-flags are really set.

Reproducible: Always
Steps to Reproduce:
1. USE="gtk2 wxwindows" to /etc/make.conf
2. emerge wxGTK mkvtoolnix

Actual Results:  
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/bin/wxgtk2-2.4-config not found
!!! set-wxconfig:         /usr/bin/wxgtk2d-2.4-config not found
!!! You need to emerge wxGTK with gtk2 in your USE

Expected Results:  
mkvtoolnix compiled with GUI

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-
r0, 2.6.11-co-0.7.1 i686)
=================================================================
System uname: 2.6.11-co-0.7.1 i686 AMD Athlon(tm) XP 1900+
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac alsa ape apm atm avi bash-completion berkdb
bitmap-fonts bzip2 cairo canna cdr cjk crypt cups curl directfb dts dv dvd dvdr
dvdread emboss encode fam fbcon flac foomaticdb fortran gdbm gif gimpprint glut
gnutls gpm gstreamer gtk gtk2 hal iconv icu imagemagick imlib java jpeg libg++
libwww lzo mad matroska mikmod mmx mmxext mono motif mozilla moznomail mozsvg
mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl png
python qt readline ruby sdl slang spell sse ssl svg svga tcltk tcpd threads tiff
truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis
wxwindows ml2 xmms xprint xv xvid zlib video_cards_radeon userland_GNU
kernel_linux libc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-30 03:03:26 UTC
Thanks now it depends directly on wxGTK 2.4 until a 2.6 compatible version 
isn't available. 
 
Comment 2 Luká Polívka 2005-05-30 09:36:35 UTC
Actualy, just now, I tried making symlink:
ln -s /usr/bin/wx-config-2.6 /usr/bin/wxgtk2-2.4-config

And you know what? It WORKS! mkvtoolnix-1.4.2 compiles cleanly, runs cleanly,
even after the symlink is deleted, without downgrading to the older wxGTK.

That check for wxgtk2-2.4-config is done by something in the mkvtoolnix source
package or in the ebuild? Maybe one could do some kind of workaround in the
ebuild - either check for REAL version of the package emerged, or create
temporary symlink.
Comment 3 Bapt 2005-05-30 09:43:32 UTC
The bug is when invoking the eclass.

The wxwidget.eclass says :
#If you want to use wxGTK-2.6* export WX_GTK_VER in your ebuild
in the function "need-wxwidgets"

so the ebuild must be modified to export WX_GTK_VER=2.6 if the wxGTK-2.6 version
is detected (maybe a new useflag)

I added it manually and it works fine (on amd64 and x86)
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-30 10:21:00 UTC
I'll add a version using 2.6 as soon as I have time to test them, but the 
current version will be just 2.4 until they can be tested. 
 
Unfortunately 2.6 support breaks from time to time.