Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92675 - media-video/vlc-0.8.1-r3 doesn't work without wxGTK-2.4*
Summary: media-video/vlc-0.8.1-r3 doesn't work without wxGTK-2.4*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-15 01:52 UTC by Ira Snyder
Modified: 2005-05-18 13:54 UTC (History)
2 users (show)

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 Ira Snyder 2005-05-15 01:52:21 UTC
I had wxGTK-2.4.2-r3 merged. I ran emerge sync, which caused media-video/vlc-0.8.1-r3 to get upgraded. Also wxGTK got updated to 2.6.0-r1 by the vlc ebuild.

Afterward, I unmerged wxGTK-2.4.2-r3, since I do not have any other packages which use wxGTK. Running revdep-rebuild told me that vlc needed to be re-emerged, so I re-emerged it. Now all I get is the remote control interface, no gui shows up.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -up vlc
3. emerge unmerge =wxGTK-2.4*
4. revdep-rebuild
5. vlc

Actual Results:  
Only the remote control interface shows up.

Expected Results:  
The wxwindows gui should appear.

irasnyd@yuki ~ $ emerge info
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-morph6 i686)
=================================================================
System uname: 2.6.11-morph6 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
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.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fforce-addr -fweb
-ftracer -funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fforce-addr -fweb
-ftracer -funit-at-a-time -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.llarian.net/
http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext S3TC X a52 aac acpi aim alsa avi berkdb
bigger-fonts bitmap-fonts bzip2 cdr cups curl dvd dvdr dvdread fbcon flac
foomaticdb freetype gdbm gif gimpprint gpm gstreamer gtk gtk2 hal imlib imlib2
jabber java jpeg kdeenablefinal mad matroska mmap mmx mmx2 mmxext mozilla
moznocompose moznoirc moznomail mp3 mpeg ncurses nptl nptlonly offensive ogg
oggvorbis opengl oscar pam pdflib png ppds python radeon readline real rtc sdl
slang spell sse ssl truetype truetype-fonts unicode usb userlocales vim-with-x
vorbis win32codecs xine xml xml2 xprint xv xvid zlib video_cards_radeon
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LINGUAS, MAKEOPTS
Comment 1 jack_mort 2005-05-15 02:33:29 UTC
I had the same problem. It(s because the symlink wx-config is not updated/created. After unmerging wxGTK-2.4, I only had wx-config-2.6...So I remerged wxGTK-2.6 and now, vlc is detecting wxGTK (wx-config is back), but it fails to compile :

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwindows` -Wsign-compare -Wsign-compare -Wall -march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers -pipe -c -o libwxwindows_plugin_a-open.o `test -f 'open.cpp' || echo './'`open.cpp
open.cpp: In constructor `wxvlc::OpenDialog::OpenDialog(intf_thread_t*, wxWindow*, int, int, int)':
open.cpp:393: erreur: appel du surcharg
Comment 2 jack_mort 2005-05-15 02:33:29 UTC
I had the same problem. It(s because the symlink wx-config is not updated/created. After unmerging wxGTK-2.4, I only had wx-config-2.6...So I remerged wxGTK-2.6 and now, vlc is detecting wxGTK (wx-config is back), but it fails to compile :

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwindows` -Wsign-compare -Wsign-compare -Wall -march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers -pipe -c -o libwxwindows_plugin_a-open.o `test -f 'open.cpp' || echo './'`open.cpp
open.cpp: In constructor `wxvlc::OpenDialog::OpenDialog(intf_thread_t*, wxWindow*, int, int, int)':
open.cpp:393: erreur: appel du surchargé « wxComboBox(wxPanel*&, <anonymous enum>, const wchar_t[1], wxPoint, wxSize, int, NULL) » est ambiguë
/usr/include/wx-2.6/wx/gtk/combobox.h:65: note: candidats sont: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxArrayString&, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.6/wx/gtk/combobox.h:54: note:                 wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, int, const wxString*, long int, const wxValidator&, const wxString&)
open.cpp:463: attention : « __comp_ctor » est obsolète (déclaré à /usr/include/wx-2.6/wx/sizer.h:788)
open.cpp: In member function `wxPanel* wxvlc::OpenDialog::FilePanel(wxWindow*)':
open.cpp:584: erreur: appel du surchargé « wxComboBox(wxPanel*&, <anonymous enum>, const wchar_t[1], wxPoint, wxSize, int, NULL) » est ambiguë
/usr/include/wx-2.6/wx/gtk/combobox.h:65: note: candidats sont: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxArrayString&, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.6/wx/gtk/combobox.h:54: note:                 wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, int, const wxString*, long int, const wxValidator&, const wxString&)
open.cpp: In member function `void wxvlc::OpenDialog::OnSubsFileSettings(wxCommandEvent&)':
open.cpp:1281: attention : transtypage d'un pointeur vers un entier de taille différente
open.cpp:1285: attention : transtypage d'un pointeur vers un entier de taille différente
make[6]: *** [libwxwindows_plugin_a-open.o] Erreur 1
make[6]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules/gui/wxwindows'
make[5]: *** [all-modules] Erreur 1
make[5]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules/gui/wxwindows'
make[4]: *** [all-recursive] Erreur 1
make[4]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules/gui'
make[3]: *** [all] Erreur 2
make[3]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules/gui'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1'
make: *** [all] Erreur 2

!!! ERROR: media-video/vlc-0.8.1-r3 failed.
!!! Function src_compile, Line 211, Exitcode 2
!!! make of VLC failed
!!! If you need support, post the topmost build error, NOT this status message.

emerge info :

Portage 2.0.51.21-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.11
ccache version 2.4 [disabled]
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.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg distlocks sandbox strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-emul-soundlibs /usr/local/portage-emul-compat"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa bash-completion bitmap-fonts cdr crypt cups curl dedicated dvd dvdr encode font-server gif gtk gtk2 hal imagemagick imlib java jp2 jpeg lzw lzw-tiff mad matroska mp3 mpeg ncurses nls nptl ogg opengl oss pam perl png python readline samba sdl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xine xml xml2 xpm xprint xv xvid zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, MAKEOPTS
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-15 05:53:00 UTC
Seems like vlc's configure is tfu.
I've masked it until I can fix it completely.
A new version of vlc is expected soon anyway.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-18 07:02:04 UTC
Ok I'm modifying vlc to support wxWindows 2.6, but this will require many 
changes. I took a couple of patches from vlc's svn and now I'm trying to fix 
them, but you need to wait still for a bit. 
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-18 07:40:07 UTC
I've committed a new version of vlc-0.8.1-r3 (see for PATCHLEVEL="2") with a  
big patch, partially from VLC svn, which made it compile and run with wxGTK  
2.6.  
  
It still needs testing before unmasking for all, but if you want to try it,  
unmask it and tell if something breaks.  
 
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-18 13:54:56 UTC
Ok tried and tested with a couple of friends and works fine. Ok for me to 
unmask.