Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317359 - media-video/vlc-1.0.6 fails to compile without libselinux (which is hardmasked)
Summary: media-video/vlc-1.0.6 fails to compile without libselinux (which is hardmasked)
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 19:34 UTC by Maxi Combina
Modified: 2010-05-01 16:36 UTC (History)
1 user (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 Maxi Combina 2010-04-26 19:34:59 UTC
Recently sys-libs/libselinux has been masked (I am using profile x86/10.0/desktop), and I unmerged it.
At the same time, media-video/vlc has been marked to update from 1.0.5 to 1.0.6.

But emerging both vlc-1.0.5 and vlc-1.0.6 fails because it links against libselinux. This is the output when emerging vlc-1.0.6:

libtool: link: i686-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/libaccess_gnomevfs_plugin_la-gnomevfs.o  -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.6/work/vlc-1.0.6/src/.libs /usr/lib/libgnomevfs-2.so -L/usr/lib /usr/lib/libxml2.so /usr/lib/libgnutls.so /usr/lib/libtasn1.so -lz /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so /usr/lib/libavahi-glib.so /usr/lib/libavahi-client.so /usr/lib/libavahi-common.so -lresolv -lselinux -lutil /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libdbus-glib-1.so -lnsl /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so ../../src/.libs/libvlccore.so -L/var/tmp/portage/sys-libs/libsmbios-2.2.19/work/libsmbios-2.2.19/out /usr/lib/libhal.so /usr/lib/libsmbios.so /usr/lib/libdbus-1.so -lrt -lpthread -ldl -lm  -pthread -march=core2 -Wl,-O3 -Wl,--enable-new-dtags -Wl,--sort-common -pthread   -pthread -Wl,-soname -Wl,libaccess_gnomevfs_plugin.so -o .libs/libaccess_gnomevfs_plugin.so                                            
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lselinux                           
collect2: ld returned 1 exit status                                                                                        
make[5]: *** [libaccess_gnomevfs_plugin.la] Error 1                                                                        
make[5]: *** Waiting for unfinished jobs....              


Reproducible: Always

Steps to Reproduce:
1. emerge -C libselinux (as it is hardmasked!!)
2. emerge vlc
3.

Actual Results:  
vlc can not be compiled.

Expected Results:  
vlc should compile without linking against libselinux.

If I emerge libselinux (overriding the hardmask), vlc can be compiled correctly.
Once vlc is compiled and installed, I remove libselinux vlc seems to work OK. I have found, though, that the following library need libselinux:

$ ldd /usr/lib/vlc/access/libaccess_gnomevfs_plugin.so | grep selinux
        libselinux.so.1 => not found
        libselinux.so.1 => not found

===========================================================================

# emerge --info
Portage 2.2_rc67 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================                                   
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 26 Apr 2010 11:45:01 +0000                                                    
ccache version 2.4 [disabled]                                                                         
app-shells/bash:     4.0_p37                                                                          
dev-java/java-config: 2.1.10                                                                          
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1                                                        
dev-python/pycrypto: 2.1.0_beta1                                                                      
dev-util/ccache:     2.4-r7                                                                           
dev-util/cmake:      2.6.4-r3                                                                         
sys-apps/baselayout: 2.0.1                                                                            
sys-apps/openrc:     0.6.0-r1                                                                         
sys-apps/sandbox:    2.2                                                                              
sys-devel/autoconf:  2.13, 2.65                                                                       
sys-devel/automake:  1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                   
sys-devel/binutils:  2.18-r3                                                                          
sys-devel/gcc:       4.3.4                                                                            
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6b                                                                           
virtual/os-headers:  2.6.30-r1                                                                        
ACCEPT_KEYWORDS="x86"                                                                                 
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula"                                                     
CBUILD="i686-pc-linux-gnu"                                                                            
CFLAGS="-pipe -O2 -march=core2 -fomit-frame-pointer"                                                  
CHOST="i686-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/kde/3.5/share/config/kdm/ /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                                                                               
CXXFLAGS="-pipe -O2 -march=core2 -fomit-frame-pointer"                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                           
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                       
GENTOO_MIRRORS="http://distfiles.gentoo.org                 http://distro.ibiblio.org/pub/linux/distributions/gentoo      http://gentoo.cites.uiuc.edu/pub/gentoo/                 ftp://mirrors.64hosting.com/pub/mirrors/gentoo/                 ftp://mirror.iawnet.sandia.gov/pub/gentoo/"                                                                                   
LANG="en_US.UTF-8"                                                                                                         
LC_ALL="en_US.UTF-8"                                                                                                       
LDFLAGS="-Wl,-O3 -Wl,--enable-new-dtags -Wl,--sort-common -s"                                                              
LINGUAS="ca en es pt pt_BR it en_US"                                                                                       
MAKEOPTS="-j2 -s "                                                                                                         
PKGDIR="/usr/portage/packages"                                                                                             
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi ada aiglx aim alsa amarok amr amrnb amrwb artswrappersuid asf audiofile avahi bash-completion beagle berkdb bidi bluetooth branding bzip2 cairo cdda cdr chm cjk clearcase cli commercial config_wizard consolekit cpudetection cracklib crypt css cups cxx dbox2 dbus dga djvu dlloader doc dri dts dv dvb dvd dvdr dvdread dvi dxr3 effects emboss encode exif exscalibar ext-man ext-rtf ext-tex extraicons extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic fortran freetype gdbm geoip gif gimpprint git glitz glut gnokii gnome gnutls gphoto2 gpm gs gsm gstreamer gtk gtk2 hal hfs iconv icq ieee1394 imap inkjar ipv6 irc irda jabber jack java jfs jingle joystick jpeg jpeg2k kde kde4 kdehiddenvisibility kerberos kipi krb4 lame lcd lcms ldap libao libcaca libclamav libnotify live livecd lj lm_sensors logitech lzo mad mail matroska mikmod mjpeg mmx mng modules mono mouse moznocompose moznoirc moznomail mp3 mp3rtp mp4 mpeg mplayer msn mudflap musepack musicbrainz ncurses network new nls nptl nptlonly nsplugin ntfs nvidia offensive ogg ole openal opencore-amr openexr opengl openmp pam pango pascal pcmcia pcre pda pdf perl phonon plugin png povray ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime quotas rar raw rdesktop readline reflection reiserfs rss ruby samba scanner sdl semantic-desktop session skins slp smp sms sndfile speech speex spell spl spreadsheet ssl startup-notification stream streams subversion svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 vcd visualization voice vorbis weather webservices wicd wifi win32codecs winbind wmf wxwindows x264 x86 xcb xfs xine xinerama xml xmp xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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="evdev keyboard mouse acecad aiptek digitaledge fpit hyperpen jamstudio joystick magellan  mutouch palmax spaceorb summa synaptics tek4957 ur98 vmmouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca en es pt pt_BR it en_US" LIRC_DEVICES="audio audio_alsa" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-04-30 12:30:53 UTC
Have you run revdep-rebuild to fix all broken dependencies? Please run revdep-rebuild(emerge gentoolkit) and also try to reemerge gnome-base/gnome-vfs and then to reemerge vlc. I resolve this bug as TEST-REQUEST. Please, reopen it only if you still experience problems. Thank you for your report.
Comment 2 Maxi Combina 2010-05-01 16:36:48 UTC
Can not test, as reinstalled due to other very strong reasons. Thanks.