I just tried to emerge media-video/vlc-0.8.2 and compilation fails with: Making all in mozilla make[2]: Entering directory `/var/tmp/portage/vlc-0.8.2/work/vlc-0.8.2/mozilla' /usr/bin/xpidl -I/usr/lib64/mozilla/include/plugin -I/usr/lib64/mozilla/include/xpcom -I/usr/lib64/mozilla/include/java -I/usr/lib64/mozilla/include -I/usr/lib64/mozilla/include/nspr -I/usr/lib64/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 `/var/tmp/portage/vlc-0.8.2/work/vlc-0.8.2/mozilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/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. emerge info: Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r1 x86_64) ================================================================= System uname: 2.6.12-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 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.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers" CHOST="x86_64-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/cursors/xorg-x11/default /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="sl_SI" LINGUAS="en sl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/root/portageoverlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aalib acpi alsa amd64 apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dbus dvd dvdr eds encode esdexif fam fbcon ffmpeg flac font-server foomaticdb fortran freetype ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 jabber jp2 jpeg kde libwww lm_sensors lzw lzw-tiff mad matroska mikmod motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png posix ppds python qt quicktime readline samba scanner sdl slang speex spell ssl stream svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos vorbis xine xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid zlib linguas_en linguas_sl userland_GNUkernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS Reproducible: Always Steps to Reproduce: 1. try to emerge vlc-0.8.2 Actual Results: Compilation fails Expected Results: Compilation should not fail
Same error here, but with Intel Pentium-M, so not only a AMD64 problem. With USE flag 'mozilla' disabled, it builds correctly. Howto reproduce: # USE="mozilla" emerge vlc
Ok this is going to require a bit of work also for mozilla herd. As for now, vlc hardly requires www-client/mozilla (suite) also if it just needs the development support. The problem is that just www-client/mozilla installs mozilla-config command (but firefox installs xpidl as does gecko-sdk). I'm going to disable mozilla support from 0.8.2 until a gecko-sdk which installs binaries and libraries in sane places and which provides all the needed files is in portage.
I'm not going to change where gecko-sdk installs its files to, it is for applications that use the gecko-sdk framework only and I don't want it to collide with mozilla apps that install the same files. See the mplayerplug-in for an app that uses it. That said, what does exactly does VLC require that isn't provided by gecko-sdk?
mozilla-config is the command that gecko-sdk misses. I don't want gecko-sdk to collide with other mozilla stuff, but putting binaries and libraries in /usr/share isn't good, and at least for amd64 multilib this is going to be a big headache.
Where should I put it then so it doesn't collide with other packages? I'm open to suggestions that don't break mplayerplug-in. mozilla-config is not part of the gecko-sdk as distributed by mozilla, so VLC should really not depend on it being there unless it does actually depend on mozilla. Does VLC actually depend on Gecko-SDK or does it depend on Mozilla?
VLC should build with just gecko-sdk also if it's not prepared to do so by default (the linux building procedure is quite a bit "if it works it works". It uses gecko-sdk on Win32 for example. About installing them elsewhere, installing them in /usr/$(get_libdir)/gecko-sdk[/bin] is a feasible option?
Thats fine with me as long as it's okay to put the rest of the stuff currently in /usr/share/gecko-sdk into there as well. Would it be possible to get VLC to compile without providing mozilla-config or is that also requirement?
I could probably try to hack its configure script not to use mozilla-configure, but if you are able to provide that, too, it's probably more portable for other software, too.
vlc-0.8.2-r1 in portage works fine with +nsplugin .