Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350949 - app-emulation/virtualbox-bin-4.0.0 ebuild is broken
Summary: app-emulation/virtualbox-bin-4.0.0 ebuild is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
: 351069 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-07 11:17 UTC by Francesco Lamonica
Modified: 2011-01-08 00:40 UTC (History)
3 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 Francesco Lamonica 2011-01-07 11:17:51 UTC
VirtualBox 4.0 now has an extesion pack, this extension pack that offers RDP, USB and more is not supported by the vitualbox-bin (no USE flag to download and install it, like it is done for the modules)
Downloading it by hand does not help (right out of the box) since all binaries in the ebuild are root/root and not root/vboxusers as they should be. Moreover, the VBoxExtPackHelper does not have +x (not even for the root user). Adding +x and installing (as root) the manually downloaded extension package did the trick and the USB and RDP are now available to all users.
Note: the upgraded ebuild also did not delete a bunch of symlinks in /opt/VirtualBox

Reproducible: Always

Steps to Reproduce:
1. emerge -upDNv world (with virtualbox-bin in world file)
2.
3.



Expected Results:  
1. old symlinks should be deleted
2. VBoxExtPackHelper should have the +x bit
3. binaries should be in group vboxusers (not root)
4. extension pack should be downloaded and installed as USE flag 

emerge --info

Parse Error reading PROVIDE and USE in '/var/db/pkg/media-plugins/gst-plugins-v4l2-0.10.22'
Exception: u'media-plugins/gst-plugins-v4l2-0.10.22'

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-1.12.14
Timestamp of tree: Fri, 07 Jan 2011 08:00:23 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en it"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aften akode alsa amazon amd64 amr amrnb amrwb animgif audiofile branding bzip2 cairo ccache cdr cleartype cli consolekit cracklib crypt cscope cups curl cxx dbus dri dts dvd dvdr encode exif fam ffmpeg firefox flac foomaticdb gcrypt gd gdbm gdu gif gimp gkrellm gpm gsm gtk hardened iconv imagemagick ipod java java6 jpeg lame lcms libgcrypt libssh2 logrotate loop-aes mad matroska mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin ogg opencore-amr opengl openmp openssl opensslcrypt pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline samba sdl session smp sndfile speex spell sql sqlite3 sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl startup-notification subversion svg svnserve swat sysfs syslog tcpd theora tiff truetype udev unicode usb v4l v4l2 vorbis webkit x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv radeonhd vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-07 12:24:02 UTC
+*virtualbox-bin-4.0.0-r1 (07 Jan 2011)
+
+  07 Jan 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-bin-4.0.0.ebuild, +virtualbox-bin-4.0.0-r1.ebuild:
+  Fixed some issues reported by Francesco Lamonica in bug #350949.

Oracle extensions now get installed together with the -bin package. VBoxExtPackHelper now has the x flag and belongs to vboxusers group.

I didn't find any stale symlinks in the installation so please make sure these symlinks really belong to the package (/usr/bin/qfile from app-portage/portage-utils should help you with that) and if yes, list these symlinks here in the bug.
Thanks.
Comment 2 Eduard Warkentin 2011-01-07 16:51:32 UTC
At least the -r1 ebuild with the enabled useflag "headless" does not create /opt/VirtualBox/VirtualBox.

I'm not sure wether this is intended, but the binary package provides it - maybe this could be managed with an additional useflag "gui" or something?

I'm suggesting this, since even on a installation with the GUI, it is pretty handy to have the GUI, too.
Comment 3 Francesco Lamonica 2011-01-07 17:15:46 UTC
Hi Lars, thanks for the fix (i can confirm it woks now). The stale symlink was mis-reported sorry.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-07 17:26:15 UTC
(In reply to comment #2)
> At least the -r1 ebuild with the enabled useflag "headless" does not create
> /opt/VirtualBox/VirtualBox.
> 
> I'm not sure wether this is intended, but the binary package provides it -
> maybe this could be managed with an additional useflag "gui" or something?
> 
> I'm suggesting this, since even on a installation with the GUI, it is pretty
> handy to have the GUI, too.

That's the reason we have the "headless" USE flag. It's for GUI-less installations. If you want a GUI, unset the "headless" USE flag.


(In reply to comment #3)
> Hi Lars, thanks for the fix (i can confirm it woks now). The stale symlink was
> mis-reported sorry.

You're welcome and thank you for your bug report :)
I think this bug can be closed as fixed now.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-08 00:40:14 UTC
*** Bug 351069 has been marked as a duplicate of this bug. ***