Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VirtualBox OSE fails to emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Tristanm
Apprentice
Apprentice


Joined: 15 Aug 2008
Posts: 209

PostPosted: Sat Mar 21, 2009 12:41 am    Post subject: VirtualBox OSE fails to emerge Reply with quote

In attempting to emerge VirtualBox OSE, I have come across a problem that won't let it compile. It looks like a problem with the package, but removing it from distfiles and re-downloading it does not fix the issue.

Build attempt:
Code:
>>> Emerging (3 of 3) app-emulation/virtualbox-ose-2.1.4-r1
 * VirtualBox-2.1.4-3-OSE.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking VirtualBox-2.1.4-3-OSE.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE ...
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.2.4, OK.
Checking for as86: found version 0.16.17, OK.
Checking for bcc: found version 0.16.17, OK.
Checking for iasl: found version 20060912, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.7.3, OK.
Checking for libxslt: found version 1.1.24, OK.
Checking for libIDL: found version 0.8.12, OK.
Checking for zlib: found version 1.2.3, OK.
Checking for libpng: found version 1.2.35, OK.
Checking for SDL: found version 1.2.13, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Qt4: found version 4.4.2, OK.
Checking for Qt4 devtools: found version 4.4.2, OK.
Checking for python support: found version 2.5.2, OK.
Checking for static stc++ library: found, OK.
Checking for ALSA: found version 1.0.18, OK.
Checking for libcap library: found, OK.
Checking for compiler.h: compiler.h not found, OK.
Checking for 32-bit support: OK.

Successfully generated '/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/AutoConfig.kmk' and '/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/env.sh'.
Source '/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/env.sh' once before you start to build VBox:

  source /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/env.sh
  kmk

To compile the kernel module, do:

  cd ./out/linux.amd64/release/bin/src/vboxdrv
  make


  +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++
  Hardening is enabled which means that the VBox binaries will not run from
  the binary directory. The binaries have to be installed suid root and some
  more prerequisites have to be fulfilled which is normally done by installing
  the final package. For development, the hardening feature can be disabled
  by specifying the --disable-hardening parameter. Please never disable that
  feature for the final distribution!
  +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++

Enjoy!
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE ...
kmk -j4 TOOL_GCC3_CC=x86_64-pc-linux-gnu-gcc TOOL_GCC3_CXX=x86_64-pc-linux-gnu-g++ TOOL_GCC3_AS=x86_64-pc-linux-gnu-gcc TOOL_GCC3_AR=x86_64-pc-linux-gnu-ar TOOL_GCC3_LD=x86_64-pc-linux-gnu-g++ TOOL_GCC3_LD_SYSMOD=x86_64-pc-linux-gnu-ld 'TOOL_GCC3_CFLAGS= -march=athlon64 -O2 -pipe' 'TOOL_GCC3_CXXFLAGS= -march=athlon64 -O2 -pipe' TOOL_YASM_AS=yasm KBUILD_PATH=/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/kBuild all
Config.kmk:1564: /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/out/linux.amd64/release/GCCConfig.kmk: No such file or directory
Config.kmk:2513: *** extraneous `endif'.  Stop.
 *
 * ERROR: app-emulation/virtualbox-ose-2.1.4-r1 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3615:  Called die
 * The specific snippet of code:
 *       MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" all || die "kmk failed"
 *  The die message:
 *   kmk failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/temp/environment'.
 *

>>> Failed to emerge app-emulation/virtualbox-ose-2.1.4-r1, Log file:

>>>  '/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/temp/build.log'


Emerge Info:
Code:
Portage 2.1.6.9 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-56-with-glibc2.2.5
Timestamp of tree: Fri, 20 Mar 2009 22:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://www.gtlib.gatech.edu/pub/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j4"
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="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi additions aim alsa amd64 applet aspnet automount avahi avi bash-completion berkdb bidi boo branding bzip2 bzlib cairo cdda cddb cdio cdr cli consolekit corba cpudetection cracklib crypt cups cxx d daap dbus dc1394 device-mapper disk-partition divx4linux dri dts dvb dvd dvdr dvdread eds emboss encode epiphany esd ethereal fam fat fbcon ffmpeg firefox flac fontconfig foomaticdb fortran fuse gcj gd gdbm gedit ggi gif glib gmp gnome gnome-keyring gnutls gphoto gpm gstreamer gtk gtk2 hal hardened hardenedphp hfs httpd iconv icq imap imlib ip28 ip32r10k ipod ipv6 isdnlog jabber jack java javascript jfs jpeg jpeg2k laptop lcms ldap libcaca libffi libnotify libwww lirc live mad madwifi matroska mdnsresponder-compat midi mikmod mmx modplug mono mp3 mpeg msn mudflap multicall multilib multislot musepack music nautilus ncurses networkmanager nls nptl nptlonly nsplugin ntfs ntfs-3g nvidia obbvorbis objc objc++ objc-gc ogg opengl openmp oss pam pcmcia pcre pdf pdflib perl php png podcast ppds pppd ps3 python qt3 qt3support qt4 quicktime readline reflection reiser4 reiserfs replytolist rtsp ruby samba scanner sdl sdl-image seamonkey session shout speex spell spl sse sse2 ssl startup-notification stream subversion svg symlink sysfs tcl tcpd tiff tools truetype unicode upnp usb v4l vcd videos vlm vorbis wifi wmf wxwindows x264 xcomposite xfs xinerama xml xorg xosd xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sat Mar 21, 2009 2:36 am    Post subject: Reply with quote

fails for me too in a different way.... resorted the to bin's which are supposedly more featurefull anyway
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Tristanm
Apprentice
Apprentice


Joined: 15 Aug 2008
Posts: 209

PostPosted: Sat Mar 21, 2009 2:48 am    Post subject: Reply with quote

The bins install, but fail to run. I'd need to reemerge them to give the error, though.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sat Mar 21, 2009 2:56 pm    Post subject: Reply with quote

Tristanm wrote:
The bins install, but fail to run. I'd need to reemerge them to give the error, though.


bins are running fine here
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4990
Location: Dark side of the mood

PostPosted: Sun Mar 29, 2009 1:52 am    Post subject: Reply with quote

Same problem as you, Tristanm. Didn't try binaries though.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum