it looks like it's using wxGTK-2.4 but it depends on wxGTK-2.6 in the ebuild. /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so, may conflict with libstdc++.so.6 /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_detach' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_attach' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name' collect2: LINK src/base64tool ld gab 1 als Ende-Status zur
it looks like it's using wxGTK-2.4 but it depends on wxGTK-2.6 in the ebuild. /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so, may conflict with libstdc++.so.6 /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_detach' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_attach' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name' collect2: LINK src/base64tool ld gab 1 als Ende-Status zurück make: *** [src/mkvinfo] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse... !!! ERROR: media-video/mkvtoolnix-1.6.5 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! make failed /usr/lib/libstdc++-v3/libstdc++.so.5 is available on the system.
Hrm, well the issue you're hitting here is not related to different wxGTK dependency, but rather to mixing two different major GCC versions. Can you provide configure output? Here it links correctly against 2.6 (but I don't even have 2.4 installed).
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-lzo --enable-bz2 --enable-gui --with-flac --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ld... i686-pc-linux-gnu-ld checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking for vsscanf... yes checking whether the byte order is big-endian... no checking gcc version... 3.4.5 checking if being compiled with mingw32... no checking for int64_t... yes checking for uint64_t... yes checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for PRId64 and PRIu64... yes checking for posix_fadvise... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo... yes checking for ogg_sync_init in -logg... yes checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes checking for vorbis_synthesis_init in -lvorbis... yes checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for FLAC__seekable_stream_decoder_new in -lFLAC... yes checking for FLAC__StreamMetadata_StreamInfo.sample_rate... yes checking for FLAC__seekable_stream_decoder_skip_single_frame in -lFLAC... yes checking for libebml version >= 0.7.3... yes checking if linking against libebml requires -DEBML_DLL... no checking for libmatroska version >= 0.7.5... yes checking if linking against libmatroska requires -DMATROSKA_DLL... no checking for XML_ParserCreate in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for zlibVersion in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for lzo1x_1_compress in -llzo... yes checking lzo1x.h usability... yes checking lzo1x.h presence... yes checking for lzo1x.h... yes checking for BZ2_bzCompress in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for wx-config... /usr/bin/wx-config checking for wxWidgets 2.4.0 or newer... no: test program could not be compiled configure: creating ./config.status config.status: creating Makefile config.status: creating avilib-0.6.10/Makefile config.status: creating librmff/Makefile config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating src/input/Makefile config.status: creating src/output/Makefile config.status: creating src/mpegparser/Makefile config.status: creating src/mmg/Makefile config.status: creating src/extract/Makefile config.status: creating src/merge/Makefile config.status: creating src/info/Makefile config.status: creating config.h *** The mkvtoolnix configuration is complete. *** Optional features that are built: FLAC audio (1.1.1 or newer); LZO compression; BZ2 compression *** Optional features that are NOT built: GUIs CXX src/merge/cluster_helper.cpp CXX src/merge/mkvmerge.cpp CXX src/merge/output_control.cpp CXX src/merge/pr_generic.cpp CXX src/merge/timecode_factory.cpp CXX src/common/aac_common.cpp CXX src/common/ac3_common.cpp CXX src/common/base64.cpp CXX src/common/chapter_parser_cue.cpp CXX src/common/chapter_parser_xml.cpp CXX src/common/chapters.cpp CXX src/common/chapter_writer.cpp CXX src/common/checksums.cpp CXX src/common/common.cpp CXX src/common/commonebml.cpp CXX src/common/compression.cpp src/common/compression.cpp: In static member function `static compressor_ptr compressor_c::create(const char*)': src/common/compression.cpp:355: Fehler: expected primary-expression vor
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-lzo --enable-bz2 --enable-gui --with-flac --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /bin/install -c checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ld... i686-pc-linux-gnu-ld checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking for vsscanf... yes checking whether the byte order is big-endian... no checking gcc version... 3.4.5 checking if being compiled with mingw32... no checking for int64_t... yes checking for uint64_t... yes checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for PRId64 and PRIu64... yes checking for posix_fadvise... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo... yes checking for ogg_sync_init in -logg... yes checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes checking for vorbis_synthesis_init in -lvorbis... yes checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for FLAC__seekable_stream_decoder_new in -lFLAC... yes checking for FLAC__StreamMetadata_StreamInfo.sample_rate... yes checking for FLAC__seekable_stream_decoder_skip_single_frame in -lFLAC... yes checking for libebml version >= 0.7.3... yes checking if linking against libebml requires -DEBML_DLL... no checking for libmatroska version >= 0.7.5... yes checking if linking against libmatroska requires -DMATROSKA_DLL... no checking for XML_ParserCreate in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for zlibVersion in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for lzo1x_1_compress in -llzo... yes checking lzo1x.h usability... yes checking lzo1x.h presence... yes checking for lzo1x.h... yes checking for BZ2_bzCompress in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for wx-config... /usr/bin/wx-config checking for wxWidgets 2.4.0 or newer... no: test program could not be compiled configure: creating ./config.status config.status: creating Makefile config.status: creating avilib-0.6.10/Makefile config.status: creating librmff/Makefile config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating src/input/Makefile config.status: creating src/output/Makefile config.status: creating src/mpegparser/Makefile config.status: creating src/mmg/Makefile config.status: creating src/extract/Makefile config.status: creating src/merge/Makefile config.status: creating src/info/Makefile config.status: creating config.h *** The mkvtoolnix configuration is complete. *** Optional features that are built: FLAC audio (1.1.1 or newer); LZO compression; BZ2 compression *** Optional features that are NOT built: GUIs CXX src/merge/cluster_helper.cpp CXX src/merge/mkvmerge.cpp CXX src/merge/output_control.cpp CXX src/merge/pr_generic.cpp CXX src/merge/timecode_factory.cpp CXX src/common/aac_common.cpp CXX src/common/ac3_common.cpp CXX src/common/base64.cpp CXX src/common/chapter_parser_cue.cpp CXX src/common/chapter_parser_xml.cpp CXX src/common/chapters.cpp CXX src/common/chapter_writer.cpp CXX src/common/checksums.cpp CXX src/common/common.cpp CXX src/common/commonebml.cpp CXX src/common/compression.cpp src/common/compression.cpp: In static member function `static compressor_ptr compressor_c::create(const char*)': src/common/compression.cpp:355: Fehler: expected primary-expression vor »(«-Zeichen src/common/compression.cpp:355: Fehler: »lzo_compressor_c« wurde nicht deklariert src/common/compression.cpp: In member function `bool content_decoder_c::initialize(libmatroska::KaxTrackEntry&)': src/common/compression.cpp:532: Fehler: expected primary-expression vor »(«-Zeichen src/common/compression.cpp:532: Fehler: »lzo_compressor_c« wurde nicht deklariert make: *** [src/common/compression.o] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse... !!! ERROR: media-video/mkvtoolnix-1.6.0 failed. Call stack: ebuild.sh, line 1933: Called dyn_compile ebuild.sh, line 971: Called src_compile !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant.
I have problems with compiling 1.5.5, which is marked as stable now. I have both wxGTK 2.4 and 2.6 installed. The mkvtoolnix configure script uses wx-config which belongs to wxGTK-2.4.2. It is actually a symlink pointing to wxgtk2u-2.4-config: $ equery -N files wxGTK | egrep "Contents|-config" * Contents of x11-libs/wxGTK-2.4.2-r4: /usr/bin/wx-config -> wxgtk2u-2.4-config /usr/bin/wxgtk2-2.4-config /usr/bin/wxgtk2u-2.4-config * Contents of x11-libs/wxGTK-2.6.2-r1: /usr/bin/wx-config-2.6 Please see attachments for more information.
Created attachment 81684 [details] "emerge mkvtoolnix" output
Created attachment 81685 [details] config.log mkvtoolnix configure log
Created attachment 81686 [details] "emerge info" output
using /usr/bin/wx-config-2.6 is successful. temporarily changing the link does the trick, should be resolved in the next ebuild, like checking for wx-version beforehand and using the right wx-config.