Summary: | vlc-0.8.2 problems compiling with slp and without also : wx | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kaouete <kaouete> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mal, patrizio.bassi, wxwidgets |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
kaouete
2005-06-27 00:27:21 UTC
Hi, i tried to compile vlc-0.8.2, i was using 0.8.1 without any problem, there are my uses : [ebuild U ] media-video/vlc-0.8.2 [0.8.1-r3] -3dfx +X +a52 +aac +aalib +alsa (-altivec) -arts +bidi +cdda +corba* +daap* -debug +dts +dvb +dvd -esd +fbcon +ffmpeg +flac +freetype +ggi +gnutls +gtk2 +hal +httpd* +joystick +libcaca +lirc +live +matroska -mod +mozilla +mp3 +mpeg +ncurses +nls +ogg +opengl +oss +png -samba +screen* +sdl +slp +speex +stream +svg +svga +theora +unicode +v4l +vcd +vlm +vorbis +wxwindows +xml2 +xosd +xv 0 kB When i compile it with slp enabled, there is te compile output : i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin slp` -Wsign-compare -Wall -march=pentium4 -O3 -pipe -fomit-frame-pointer -pipe -c -o libslp_plugin_a-slp.o `test -f 'slp.c' || echo './'`slp.c `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. slp.c: In function `SrvUrlCallback': slp.c:198: erreur: structure n'a pas de membre nommé « i_group » slp.c: In function `Open': slp.c:332: erreur: « playlist_group_t » non déclaré (première utilisation dans cette fonction) slp.c:332: erreur: (Chaque identificateur non déclaré est rapporté une seule fois slp.c:332: erreur: pour chaque fonction dans laquelle il apparaît.) slp.c:332: erreur: « p_group » non déclaré (première utilisation dans cette fonction) slp.c:343: attention : déclaration implicite de la fonction « playlist_CreateGroup » slp.c:364: erreur: structure n'a pas de membre nommé « psz_demux » slp.c:364: erreur: structure n'a pas de membre nommé « psz_demux » slp.c:366: erreur: structure n'a pas de membre nommé « psz_demux » slp.c:369: erreur: structure n'a pas de membre nommé « pf_read » slp.c:370: erreur: structure n'a pas de membre nommé « pf_set_program » slp.c:371: erreur: structure n'a pas de membre nommé « pf_set_area » slp.c:372: erreur: structure n'a pas de membre nommé « pf_seek » slp.c:374: erreur: structure n'a pas de membre nommé « stream » slp.c:375: erreur: structure n'a pas de membre nommé « stream » slp.c:376: erreur: structure n'a pas de membre nommé « stream » slp.c:377: erreur: structure n'a pas de membre nommé « stream » slp.c:378: erreur: structure n'a pas de membre nommé « stream » slp.c:379: erreur: structure n'a pas de membre nommé « stream » slp.c:379: erreur: « INPUT_METHOD_SLP » non déclaré (première utilisation dans cette fonction) slp.c:380: erreur: structure n'a pas de membre nommé « stream » slp.c:381: erreur: structure n'a pas de membre nommé « i_mtu » slp.c: In function `Init': slp.c:410: erreur: structure n'a pas de membre nommé « stream » slp.c:410: erreur: « INPUT_METHOD_SLP » non déclaré (première utilisation dans cette fonction) slp.c:415: erreur: structure n'a pas de membre nommé « pf_demux » slp.c:416: erreur: structure n'a pas de membre nommé « pf_demux_control » slp.c:416: erreur: « demux_vaControlDefault » non déclaré (première utilisation dans cette fonction) slp.c:417: erreur: structure n'a pas de membre nommé « pf_rewind » make[4]: *** [libslp_plugin_a-slp.o] Erreur 1 and if i remove slp from uses : i686-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=pentium4 -O3 -pipe -fomit-frame-pointer -pipe -c -o libwxwindows_plugin_a-preferences.o `test -f 'preferences.cpp' || echo './'`preferences.cpp `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. preferences.cpp: In constructor `PrefsTreeCtrl::PrefsTreeCtrl(wxWindow*, intf_thread_t*, wxvlc::PrefsDialog*, wxBoxSizer*)': preferences.cpp:339: erreur: ne peut convertir « const char* » à « const wxChar* » pour l'argument « 5 » vers « void wxAssert(int, const wxChar*, int, const wxChar*, const wxChar*) » make[6]: *** [libwxwindows_plugin_a-preferences.o] Erreur 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-gentoo i686) ================================================================= System uname: 2.6.12-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 3 2005, 20:18:15)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.5, 1.4_p6, 1.6.3, 1.8.5-r3, 1.7.9-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 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/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors2/ftp.gentoo.org/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage" USE="x86 3ds X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bzip2 bzlib canna ccache cdda cddb cdio cdparanoia cdr corba crypt cups curl curlwrappers daap dba dga directfb divx4linux djvu dts dv dvb dvd dvdr dvdread dvi dxr3 edl eds emboss encode exif expat f2c faac faad fam fame fbcon ffmpeg flac font-server foomaticdb fortran fpx freetype ftp gcj gd gdbm geoip ggi gif gimpprint gnutls gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imap imlib immqt immqt-bc insecure-drivers ipv6 jabber jack java javascript jbig jce joystick jpeg jpeg2k kerberos krb4 lcms ldap libcaca libg++ libgda libwww lirc live lm_sensors logitech-mouse lzo m17n-lib mad matroska md5sum mhash mikmod mime mjpeg mmap mmx mmx2 mmxext mng mono motif mozilla moznomail mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mpi mplayer mpm-prefork msn mysql nas ncurses net network nls nntp nptl nvidia ode ogg oggvorbis openal openexr opengl oscar oss pam pcre pdflib perl perlsuid php physfs plotutils png posix postgres ppds python qt quicktime rar rdesktop readline real rrdtool rtc ruby scanner sdl session silc simplexml slang slp sndfile soap sockets socks5 softmmu sox speex spell sqlite sse sse2 ssl stream subtitles svg svga sysfs sysvipc t1lib tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts uim unicode usb utf8 v4l v4l2 vcd vidix vlm vorbis win32codecs wmf wxwindows xanim xine xml xml2 xmlrpc xmms xosd xpm xrandr xsl xv xvid xvmc yahoo yv12 zeroconf zlib linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS Please, set LC_MESSAGES="C" when reporting bugs... slp support is broken - see Bug 70653. ok, do you want me to repost it with LC_MESSAGES="C" ? same here Yes please repost with LC_MESSAGE="C". Also, please tell which version of wxGTK do you have in the system. Ok, i'm using wx 2.6.0-r1 And when using LC_MESSAGE=C i get the same output :) if i translate it myself it is : preferences.cpp: In constructor `PrefsTreeCtrl::PrefsTreeCtrl(wxWindow*, intf_thread_t*, wxvlc::PrefsDialog*, wxBoxSizer*)': preferences.cpp:339: error: cant convert Ok, i'm using wx 2.6.0-r1 And when using LC_MESSAGE=C i get the same output :) if i translate it myself it is : preferences.cpp: In constructor `PrefsTreeCtrl::PrefsTreeCtrl(wxWindow*, intf_thread_t*, wxvlc::PrefsDialog*, wxBoxSizer*)': preferences.cpp:339: error: cant convert « const char* » to « const wxChar* » for argument « 5 » to « void wxAssert(int, const wxChar*, int, const wxChar*, const wxChar*) » make[6]: *** [libwxwindows_plugin_a-preferences.o] Error 1 Can you also provide emerge -pv of wxGTK ? [ebuild R ] x11-libs/wxGTK-2.6.0-r1 +debug -doc -gnome +gtk2 +joystick +jpeg -odbc +opengl +png +sdl +tiff +unicode -wxgtk1 12,730 kB another problem: make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/vlc-0.8.2/work/vlc-0.8.2' Making all in mozilla make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/vlc-0.8.2/work/vlc-0.8.2/mozilla' /usr/bin/xpidl -I/usr/lib/mozilla/include/plugin -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/java -I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/share/idl \ -m header -o vlcintf ./vlcintf.idl ./vlcintf.idl:3: can't open included file nsISupports.idl for reading input callback returned failure make[2]: *** [vlcintf.h] Error 2 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/vlc-0.8.2/work/vlc-0.8.2/mozilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/vlc-0.8.2/work/vlc-0.8.2' make: *** [all] Error 2 !!! ERROR: media-video/vlc-0.8.2 failed. !!! Function src_compile, Line 248, Exitcode 2 !!! make of VLC failed !!! If you need support, post the topmost build error, NOT this status message. Please search for other bugs as the problem with idl is already reported in bug #97164. i already have mozilla, firefox and gecko sdk!!!! Please don't mix bugs and go read that bug. today is another day, and the problem is different than before \o/ i really doesnt understand ^^ i just upgraded some apps between this error and the previous :] >>> emerge (1 of 1) media-video/vlc-0.8.2 to / >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) vlc-0.6.2-r1.ebuild >>> md5 files ;-) vlc-0.6.2.ebuild >>> md5 files ;-) vlc-0.8.1-r2.ebuild >>> md5 files ;-) vlc-0.8.1-r3.ebuild >>> md5 files ;-) vlc-0.8.2.ebuild >>> md5 files ;-) vlc-0.7.2.ebuild >>> md5 files ;-) vlc-0.8.1-r1.ebuild >>> md5 files ;-) files/0.6.2-mozilla-fix.patch >>> md5 files ;-) files/digest-vlc-0.8.1-r2 >>> md5 files ;-) files/digest-vlc-0.6.2 >>> md5 files ;-) files/digest-vlc-0.6.2-r1 >>> md5 files ;-) files/digest-vlc-0.7.2 >>> md5 files ;-) files/digest-vlc-0.8.1-r3 >>> md5 files ;-) files/glide.patch >>> md5 files ;-) files/digest-vlc-0.8.2 >>> md5 files ;-) files/mpeg2dec-20030612-configure.in-fpic.patch >>> md5 files ;-) files/digest-vlc-0.8.1-r1 >>> md5 src_uri ;-) vlc-0.8.2.tar.bz2 >>> md5 src_uri ;-) vlc-patches-4.tar.bz2 * Using /usr/lib/wx/config/gtk2-unicode-debug-2.6 >>> Unpacking source... >>> Unpacking vlc-0.8.2.tar.bz2 to /var/tmp/portage/vlc-0.8.2/work >>> Unpacking vlc-patches-4.tar.bz2 to /var/tmp/portage/vlc-0.8.2/work * Applying various patches (bugfixes/updates) ... * 00_all_glide.patch ... [ ok ] * 00_all_matroska-shared.patch ... [ ok ] * 01_all_amd64-cpudetect.patch ... [ ok ] * 01_all_cast.patch ... [ ok ] * 03_all_fbsd-swap.patch ... [ ok ] * Done with patching + AUTOMAKESUCKS=no + INSTALLSUCKS=no + ACLOCAL_ARGS='-I m4' + test -d extras/contrib/bin + amvers=none + automake-1.8 --version + amvers=-1.8 + automake-1.6 --version ++ automake-1.6 --version ++ sed -e '1s/[^0-9]*//' -e q + expr 1.6.3 '>' 1.6.1 + amvers=-1.6 + test -1.6 = none + gettextize --version ++ gettextize --version ++ sed -e '1s/[^0-9]*//' -e q + expr 0.14.4 '>=' 0.11.5 + autopoint=autopoint + GETTEXT=yes + pkg-config --version + PKGCONFIG=yes + aclocal=aclocal-1.6 + automake=automake-1.6 + autoconf=autoconf + autoheader=autoheader + set +x generating modules/**/Makefile.am and m4/private.m4 .................................................................... done. + rm -f aclocal.m4 configure config.log config.h config.h.in + rm -Rf autom4te.cache + rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh + rm -Rf autotools + mkdir autotools + rm -f ltmain.sh libtool ltconfig + rm -f ABOUT-NLS + rm -Rf intl + rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am + rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic + rm -f vlc-config.in + printf '' + '[' yes '!=' yes ']' + autopoint -f autopoint: *** cvs program not found autopoint: *** Stop. sed: impossible de lire configure: Aucun fichier ou r today is another day, and the problem is different than before \o/ i really doesnt understand ^^ i just upgraded some apps between this error and the previous :] >>> emerge (1 of 1) media-video/vlc-0.8.2 to / >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) vlc-0.6.2-r1.ebuild >>> md5 files ;-) vlc-0.6.2.ebuild >>> md5 files ;-) vlc-0.8.1-r2.ebuild >>> md5 files ;-) vlc-0.8.1-r3.ebuild >>> md5 files ;-) vlc-0.8.2.ebuild >>> md5 files ;-) vlc-0.7.2.ebuild >>> md5 files ;-) vlc-0.8.1-r1.ebuild >>> md5 files ;-) files/0.6.2-mozilla-fix.patch >>> md5 files ;-) files/digest-vlc-0.8.1-r2 >>> md5 files ;-) files/digest-vlc-0.6.2 >>> md5 files ;-) files/digest-vlc-0.6.2-r1 >>> md5 files ;-) files/digest-vlc-0.7.2 >>> md5 files ;-) files/digest-vlc-0.8.1-r3 >>> md5 files ;-) files/glide.patch >>> md5 files ;-) files/digest-vlc-0.8.2 >>> md5 files ;-) files/mpeg2dec-20030612-configure.in-fpic.patch >>> md5 files ;-) files/digest-vlc-0.8.1-r1 >>> md5 src_uri ;-) vlc-0.8.2.tar.bz2 >>> md5 src_uri ;-) vlc-patches-4.tar.bz2 * Using /usr/lib/wx/config/gtk2-unicode-debug-2.6 >>> Unpacking source... >>> Unpacking vlc-0.8.2.tar.bz2 to /var/tmp/portage/vlc-0.8.2/work >>> Unpacking vlc-patches-4.tar.bz2 to /var/tmp/portage/vlc-0.8.2/work * Applying various patches (bugfixes/updates) ... * 00_all_glide.patch ... [ ok ] * 00_all_matroska-shared.patch ... [ ok ] * 01_all_amd64-cpudetect.patch ... [ ok ] * 01_all_cast.patch ... [ ok ] * 03_all_fbsd-swap.patch ... [ ok ] * Done with patching + AUTOMAKESUCKS=no + INSTALLSUCKS=no + ACLOCAL_ARGS='-I m4' + test -d extras/contrib/bin + amvers=none + automake-1.8 --version + amvers=-1.8 + automake-1.6 --version ++ automake-1.6 --version ++ sed -e '1s/[^0-9]*//' -e q + expr 1.6.3 '>' 1.6.1 + amvers=-1.6 + test -1.6 = none + gettextize --version ++ gettextize --version ++ sed -e '1s/[^0-9]*//' -e q + expr 0.14.4 '>=' 0.11.5 + autopoint=autopoint + GETTEXT=yes + pkg-config --version + PKGCONFIG=yes + aclocal=aclocal-1.6 + automake=automake-1.6 + autoconf=autoconf + autoheader=autoheader + set +x generating modules/**/Makefile.am and m4/private.m4 .................................................................... done. + rm -f aclocal.m4 configure config.log config.h config.h.in + rm -Rf autom4te.cache + rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh + rm -Rf autotools + mkdir autotools + rm -f ltmain.sh libtool ltconfig + rm -f ABOUT-NLS + rm -Rf intl + rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am + rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic + rm -f vlc-config.in + printf '' + '[' yes '!=' yes ']' + autopoint -f autopoint: *** cvs program not found autopoint: *** Stop. sed: impossible de lire configure: Aucun fichier ou répertoire de ce type !!! ERROR: media-video/vlc-0.8.2 failed. !!! Function src_unpack, Line 126, Exitcode 2 !!! sed glide failed. !!! If you need support, post the topmost build error, NOT this status message. Re: comment #12 That is happening because your cvs program is broken. Try just running cvs, you should get a shared library error. I got: cvs: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory You would have got this after updating com_err, which does state you should revdep-rebuild immediatly. But then that's easy to miss (nudge nudge bug #11359). revdep-rebuild or remerge cvs and you should be ok. haha ok, sorry :/ That should be fixed after rebuilding wxGTK as far as i was able to test. Please report if it's still an issue. hoho :] it is not :( i re emerged wxgtk, and vlc did not compile, and i unmerged wxgtk, removed remainig include files from old wx install, re emerged wxgtk, emerged vlc, and it did not compile, always the same error : preferences.cpp: In constructor `PrefsTreeCtrl::PrefsTreeCtrl(wxWindow*, intf_thread_t*, wxvlc::PrefsDialog*, wxBoxSizer*)': preferences.cpp:339: erreur: ne peut convertir hoho :] it is not :( i re emerged wxgtk, and vlc did not compile, and i unmerged wxgtk, removed remainig include files from old wx install, re emerged wxgtk, emerged vlc, and it did not compile, always the same error : preferences.cpp: In constructor `PrefsTreeCtrl::PrefsTreeCtrl(wxWindow*, intf_thread_t*, wxvlc::PrefsDialog*, wxBoxSizer*)': preferences.cpp:339: erreur: ne peut convertir « const char* » à « const wxChar* » pour l'argument « 5 » vers « void wxAssert(int, const wxChar*, int, const wxChar*, const wxChar*) » :/ can you paste output of equery l wxGTK ? CCing wxwindows herd as I can't find how this can happen alone. kkwet@pistache ~ $ equery l wxGTK [ Searching for package 'wxGTK' in all categories among: ] * installed packages [I--] [ ] x11-libs/wxGTK-2.6.0-r1 (2.6) Thanks for your help :] (In reply to comment #18) wxGTK-2.6.1 was added to portage today. Could you please let us know if that fixes it? i just tried it, and it looks like i get the same error another time :/ re: #20 You said you removed includes from a previous version. Does that mean one you installed wxgtk without portage? If so, did you remove everything, not just the header files? If you have a stray wx-config file around it could be screwing it up. When configure is running you should see a line like this: checking for gtk2-ansi-release-2.6... /usr/lib/wx/config/gtk2-ansi-release-2.6 What does yours show? In fact it was just one file, a setup.h from wx2.5. I checked for other wx files, there was no. In configure i get : checking for gtk2-unicode-debug-2.6... /usr/lib/wx/config/gtk2-unicode-debug-2.6 (i am using debug because i need it :) i can test with ansi if you want. Ok I haven't seen the debug useflag before and I haven't connected it. Just try to build vlc without debug useflags (it should use the non-debug wxGTK, too), and tell if the problem is still an issue, if not, at least I know where to look at this point :) wxGTK is compiled with debug, i have no without-debug wx compiled and i'm compiling vlc without debug. I will try : * vlc AND wx with debug * vlc AND wx without debug And after i tell you :] And effectively, the problem was with wx with debug, i recompiled it without debug, and after recompiled vlc and it worked. (with debug for both it didnt) The thing is that i need wx with debug, so, i will recompile it with debug, and let the vlc i just compiled with wx without debug. But there is 2 important things (for wx folks in fact): * maybe we need the wx ebuild to be able to make both debug and without debug at the same time. (it's not really to fix this problem, but if there was this option, i would have not recompiled my wx for this :) * we have to fix this problem when wx is compiled with debug, because it doesnt look like it is vlc problem, is it ? Thanks for your help :) (In reply to comment #25) > * we have to fix this problem when wx is compiled with debug, because it doesnt > look like it is vlc problem, is it ? Actually it's really a problem with vlc. The problem is that we can't be sure that wxChar == Char, and as wxWidgets just typedef it you don't have automatic cast routines to do the change. I've rebuilt my wxGTK with +debug and now I'm doing the same for vlc to reproduce the problem and fix it. Ok added patch to vlc to build fine when +debug is enabled in wxGTK, there was a missing wxT() call. |