Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102565 - vlc-0.8.1-r3 fails to emerge with useflag "nsplugin"
Summary: vlc-0.8.1-r3 fails to emerge with useflag "nsplugin"
Status: RESOLVED DUPLICATE of bug 95317
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-14 19:18 UTC by groepaz
Modified: 2005-08-15 00:44 UTC (History)
0 users

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 groepaz 2005-08-14 19:18:48 UTC
i tried to emerge vlc with the following useflags:

[ebuild   R   ] media-video/vlc-0.8.1-r3  (-3dfx) +X +a52 +aac +aalib +alsa (-
altivec) +arts -bidi +cdda +cddb +cdio -debug +dts -dvb +dvd +esd +fbcon +ffmpeg 
+flac +freetype* +ggi -gnutls +gtk2 +hal +httpd +joystick +libcaca +lirc +live 
+matroska* +mp3 +mpeg +ncurses +nls +nsplugin* +ogg +opengl +oss +sdl +ssl 
+stream +svg (-svga) +theora +unicode +v4l +vcd +vlm +vorbis +wxwindows -xosd 
+xv 0 kB

and it fails with 

[...]
x86_64-pc-linux-gnu-g++ -Wsign-compare -Wsign-compare -Wall -march=k8 -pipe -O2 
-Wall -W -pipe -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/demux/liblivedotcom.a
 ./modules/codec/ffmpeg/libffmpeg.a ./modules/codec/libtheora.a -L/usr/lib64 -
L/usr/lib64 -lhal -ldbus-1 -lrt -lpthread -ldl -lm -L/usr/lib/live/
UsageEnvironment -lUsageEnvironment -L/usr/lib/live/groupsock -lgroupsock -L/
usr/lib/live/BasicUsageEnvironment -lBasicUsageEnvironment -L/usr/lib/live/
liveMedia -lliveMedia -lavformat -lz -lavcodec -lm -ltheora -logg
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1'
Making all in mozilla
make[2]: Entering directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/
mozilla'
/usr/bin/xpidl  -I/usr/share/idl/mozilla \
  -I/usr/lib/mozilla/include/idl \
  -m header -o vlcintf ./vlcintf.idl
make[2]: /usr/bin/xpidl: Kommando nicht gefunden
make[2]: *** [vlcintf.h] Fehler 127
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/
mozilla'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1'
make: *** [all] Fehler 2

(its missing /usr/bin/xpidl)

a quick locate xpidl shows:
/usr/lib64/mozilla/xpidl
/usr/lib64/mozilla-firefox/xpidl
/usr/share/gecko-sdk/bin/xpidl

...now since i'm adventurous i symlinked /usr/bin/xpidl to /usr/lib64/mozilla/
xpidl (ah yes i know i shouldnt, but whattheheck... :=P)

now emerging goes past that above error and fails with:
[...]
x86_64-pc-linux-gnu-g++  -Wsign-compare -Wsign-compare -Wall -march=k8 -pipe -O2 
-Wall -W -pipe   -o libvlcplugin.so libplugin_a-vlcshell.o libplugin_a-
vlcplugin.o libplugin_a-vlcpeer.o   libplugin_a-npunix.o   \
  ../lib/libvlc_pic.a -shared \
  `top_builddir=".." ../vlc-config --libs vlc mozilla builtin pic`
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lxpcom
collect2: ld gab 1 als Ende-Status zur
Comment 1 groepaz 2005-08-14 19:18:48 UTC
i tried to emerge vlc with the following useflags:

[ebuild   R   ] media-video/vlc-0.8.1-r3  (-3dfx) +X +a52 +aac +aalib +alsa (-
altivec) +arts -bidi +cdda +cddb +cdio -debug +dts -dvb +dvd +esd +fbcon +ffmpeg 
+flac +freetype* +ggi -gnutls +gtk2 +hal +httpd +joystick +libcaca +lirc +live 
+matroska* +mp3 +mpeg +ncurses +nls +nsplugin* +ogg +opengl +oss +sdl +ssl 
+stream +svg (-svga) +theora +unicode +v4l +vcd +vlm +vorbis +wxwindows -xosd 
+xv 0 kB

and it fails with 

[...]
x86_64-pc-linux-gnu-g++ -Wsign-compare -Wsign-compare -Wall -march=k8 -pipe -O2 
-Wall -W -pipe -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/demux/liblivedotcom.a
 ./modules/codec/ffmpeg/libffmpeg.a ./modules/codec/libtheora.a -L/usr/lib64 -
L/usr/lib64 -lhal -ldbus-1 -lrt -lpthread -ldl -lm -L/usr/lib/live/
UsageEnvironment -lUsageEnvironment -L/usr/lib/live/groupsock -lgroupsock -L/
usr/lib/live/BasicUsageEnvironment -lBasicUsageEnvironment -L/usr/lib/live/
liveMedia -lliveMedia -lavformat -lz -lavcodec -lm -ltheora -logg
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1'
Making all in mozilla
make[2]: Entering directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/
mozilla'
/usr/bin/xpidl  -I/usr/share/idl/mozilla \
  -I/usr/lib/mozilla/include/idl \
  -m header -o vlcintf ./vlcintf.idl
make[2]: /usr/bin/xpidl: Kommando nicht gefunden
make[2]: *** [vlcintf.h] Fehler 127
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/
mozilla'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1'
make: *** [all] Fehler 2

(its missing /usr/bin/xpidl)

a quick locate xpidl shows:
/usr/lib64/mozilla/xpidl
/usr/lib64/mozilla-firefox/xpidl
/usr/share/gecko-sdk/bin/xpidl

...now since i'm adventurous i symlinked /usr/bin/xpidl to /usr/lib64/mozilla/
xpidl (ah yes i know i shouldnt, but whattheheck... :=P)

now emerging goes past that above error and fails with:
[...]
x86_64-pc-linux-gnu-g++  -Wsign-compare -Wsign-compare -Wall -march=k8 -pipe -O2 
-Wall -W -pipe   -o libvlcplugin.so libplugin_a-vlcshell.o libplugin_a-
vlcplugin.o libplugin_a-vlcpeer.o   libplugin_a-npunix.o   \
  ../lib/libvlc_pic.a -shared \
  `top_builddir=".." ../vlc-config --libs vlc mozilla builtin pic`
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lxpcom
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [libvlcplugin.so] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/
mozilla'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/
mozilla'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1'
make: *** [all] Fehler 2

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

i resisted symlinking to one of the various .so files i found by a locate 
libxpcom this time :=P instead i did a USE="-nsplugin" emerge vlc, which worked 
just fine.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0, 2.
6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -Wall -W"
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/lib64/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/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2 -Wall -W"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://
ftp.du.se/pub/os/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 16bit 3ds 7zip S3TC X Xaw3d a52 aac aalib acpi alsa amarok amd amr ao 
aotuv apache2 apm aqua_theme arts athena audiofile avi bash-completion bcmath 
bdf berkdb bitmap-fonts bl blender-game bluetooth bmp browserplugin bzip2 bzlib 
cardbus cd cdb cdda cddb cdio cdparanoia cdr cdrom cegui cg cid cjk corba 
cpulimit crypt css cups curl custom-cflags daap dar64 debugger delays devil dga 
dhcp dio directfb dnd dpms dri dts dv dvd dvdr dvdread dxr3 edl eds emul-linux-
x86 encode esd ethereal examples exif fam fame fat fb fbcon fbdev ffmpeg figlet 
flac flash flood fmod font-server foomaticdb fpx freetype ftp gd gdb ggi gif 
gimp gimpprint glut glx gnome gpgme gphoto2 gpm gprof graphviz gs gstreamer gtk 
gtk2 hal hfs html http httpd id3 idea ieee1394 imagemagick imap imlib imlib2 
ipv6 irc irda jack jasper java javacomm javascript jit john joystick jp2 jpeg 
jpeg2k jumpplay junit kde koffice-plugin lame lcms libcaca libsamplerate 
libvisual libwww lirc live lm_sensors logitech-mouse lua lzo lzw lzw-tiff mad 
matroska memlimit menubar mikmod mime mimencode ming mjpeg mmap mod monkey motif 
mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4live mpc mpeg 
mpeg2 mpeg4 mplayer music musicbrainz mysql mythtv nas ncurses net network nls 
no_wxgtk1 nocd nsplugin ntfs ntlm nvidia offensive ogg oggvorbis ogre openal 
opengl operanom2 oss pam pdf pdflib perl php pic plugin png pnp portaudio posix 
povray print python qemu-fast qt quicktime rar readline real recode reiserfs 
rrdtool rss rtc sblive screen sdl sensord session sftp shorten slang sndfile 
sockets softmmu sounds speedo speex spell src sse-filters ssl stencil-buffer 
stream streamzap subtitles subversion svg svgz tcltk tcpd tetex tga theora 
threads tidy tiff timidity toolbar transcode truetype truetype-fonts type1 
type1-fonts uml underscores unicode usb userland userlocales utf8 v4l v4l2 vcd 
vcdimager vfat videos vim-with-x visualization vlm vnc vorbis wifi wma123 wmf 
wxwindows x11vnc xanim xchatdccserver xchattext xine xml xml2 xmms xpm xv xvid 
xvmc yv12 zeroconf zlib zvbi linguas_de linguas_en userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-15 00:44:01 UTC

*** This bug has been marked as a duplicate of 95317 ***