The ebuild for VLC finds the unicode version of wxGTK installed, but then uses the ansi version. Here's an excerpt from the build log: * Checking wxGTK-2.6 for X support ... [ ok ] * Checking wxGTK-2.6 for unicode support ... [ ok ] * Requested: unicode 2.6 * Using: gtk2-unicode-release-2.6 >>> Unpacking source... ... ... >>> Compiling source in /var/tmp/portage/media-video/vlc-0.8.6c/work/vlc-0.8.6c ... ... ./configure ..... WX_CONFIG=/usr/lib/wx/config/gtk2-ansi-release-2.6 ... As far as I can tell, the WX_CONFIG in the configure command line is the one defined globally in the wxwidgets eclass, and not the one from need-wxwidgets(). This seems to break the vlc GUI for me: ~ $ vlc --reset-plugins-cache -v VLC media player 0.8.6c Janus [00000001] main private warning: cannot load module `/usr/lib/vlc/gui/libwxwidgets_plugin.so' (/usr/lib/vlc/gui/libwxwidgets_plugin.so: undefined symbol: _ZN5wxApp10InitializeERiPPw) ... Works fine when forcing to use unicode wxGTK (hardcoded gtk2-unicode... in the ebuild) Reproducible: Always Steps to Reproduce:
looks like i had the fall through logic in the global code backwards so it was overwriting the result of need-wxwidgets between phases. if you sync up in an hour or so it should be fixed. thanks for the report.
I am having the exact same problem as the original poster, but with vlc-0.8.6d: * Checking wxGTK-2.6 for X support [ ok ] * Checking wxGTK-2.6 for unicode support [ ok ] * Requested: unicode 2.6 * Using: gtk2-unicode-release-2.6 ... >>> Compiling source in /var/tmp/portage/media-video/vlc-0.8.6d/work/vlc-0.8.6d ... ./configure ... WX_CONFIG=/usr/lib64/wx/config/gtk2-ansi-release-2.6 then running VLC, I get: [00000001] main private warning: cannot load module `/usr/lib64/vlc/gui/libwxwidgets_plugin.so' (/usr/lib64/vlc/gui/libwxwidgets_plugin.so: undefined symbol: _ZN5wxApp10InitializeERiPPw) # emerge --info Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64) ================================================================= System uname: 2.6.23-gentoo-r3 x86_64 AMD Sempron(tm) Processor 2800+ Timestamp of tree: Fri, 11 Jan 2008 16:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -msse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LINGUAS="he en" MAKEOPTS="-j 2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/sunrise /usr/local/layman/arcon-portage /usr/local/layman/roslin /usr/local/layman/emacs /usr/local/layman/java-overlay /usr/local/portage /usr/local/overlays/java-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi alsa amd64 apache2 arts asf avi berkdb bidi bitmap-fonts cairo cddb cdparanoia cdr cli cracklib crypt cups curl dbus divx4linux dri dv dvd dvdr dvdread emacs emboss emul-linux-x86 encode esd evo exif fam fame firefox flac foomaticdb fortran ftp gdbm geoip gif glitz gpm gstreamer gtk gzip hal iconv imagemagick imlib isdnlog java jpeg kde kerberos ldap mad midi mikmod mimencode mmx mp3 mpeg mplayer msn mudflap mysql ncurses nls normalizemime nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slang sockets spell spl sqlite sse sse2 ssl subtitles svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis wma wmf xine xml xorg xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="he en" USERLAND="GNU" VIDEO_CARDS="via vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
look for this like in the configure output: checking for wx-config... /usr/lib/wx/config/gtk2-unicode-debug-2.6
Unfortunately, it's checking for wx-config... /usr/lib64/wx/config/gtk2-ansi-release-2.6
try taking this line right out of the ebuild. Index: vlc-0.8.6d.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.8.6d.ebuild,v retrieving revision 1.6 diff -u -B -r1.6 vlc-0.8.6d.ebuild --- vlc-0.8.6d.ebuild 19 Jan 2008 16:12:09 -0000 1.6 +++ vlc-0.8.6d.ebuild 21 Jan 2008 01:16:57 -0000 @@ -266,7 +266,6 @@ --enable-libtool \ $(use_enable nsplugin mozilla) \ XPIDL="${XPIDL}" MOZILLA_CONFIG="${MOZILLA_CONFIG}" \ - WX_CONFIG="${WX_CONFIG}" \ ${myconf} || die "configuration failed" if [[ $(gcc-major-version) == 2 ]]; then
can you also attach /var/tmp/portage/media-video/vlc-0.8.6d/temp/eclass.debug?
Created attachment 141433 [details] eclass-debug.log from vlc-0.8.6-d
I also removed that line from the build, but results are the same
there's your trouble: eclass exists: /usr/local/layman/arcon-portage/eclass/wxwidgets.eclass eclass exists: /usr/local/layman/roslin/eclass/wxwidgets.eclass inherit: wxwidgets -> /usr/local/layman/roslin/eclass/wxwidgets.eclass
I removed rosling overlay and now it works fine. Thanks for your help However, I am not sure - is this a bug with the overlay itself? Should I report it there?