build log: http://pastebin.com/m15995a2 --- #emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-gentoo-2.0.1 Timestamp of tree: Sat, 08 Aug 2009 17:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1, 3.1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe -mno-tls-direct-seg-refs" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon64 -pipe -mno-tls-direct-seg-refs" DISTDIR="/home/distfiles" FEATURES="candy ccache distcc distlocks fakeroot fixpackages parallel-fetch protect-owned sandbox severe sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US si" MAKEOPTS="-j3" 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 X a52 aac aalib acl acpi ads alisp alsa amd64 apache2 avahi berkdb bluetooth branding bzip2 cairo calendar cdparanoia cdr cjk cli cracklib crypt cups dbus dga divx dri dts dv dvb dvd dvdr dvdread eds emboss encode evo exif fam fbcon firefox fortran gdbm gif gimp gimpprint gpm gstreamer hal hdri iconv imagemagick imap irmc isdnlog java javascript jikes jpeg jpeg2k kde lcms libcaca libnotify logrotate lzo mad mikmod mmx mng mp3 mpeg mplayer msn mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pda pdf perl phonon php png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl semantic-desktop session slp socks5 speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vcd vhosts vorbis wifi x264 xattr xcomposite xine xml xorg xpm xprint xulrunner xv xvid yahoo zeroconf 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 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 ident imagemap log_forensic version" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US si" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1.emerge virtualbox-modules 2. 3. Actual Results: http://pastebin.com/m15995a2
Created attachment 200662 [details] build.log build.log file
this bug should be marked as duplicate of #274400
ignore my previous comment (comment#2), please try out the new virtualbox release 3.0.4, ebuilds are available at jokey's overlay[1] [1] http://overlays.gentoo.org/dev/jokey
Created attachment 200851 [details] after compiling using jokey overlay ebuild i compiled using jokey's overlay but it was fail too. # emerge -av app-emulation/virtualbox-bin * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] app-emulation/virtualbox-modules-3.0.4 0 kB [1] [ebuild IN ] app-emulation/virtualbox-bin-3.0.4 USE="additions chm vboxwebsrv -headless -sdk" 46,863 kB [1] Total: 2 packages (2 new, 1 interactive), Size of downloads: 46,863 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/jokey Would you like to merge these packages? [Yes/No] ------------------------------------- ERROR----------- ------------------------------------- make[3]: *** [/var/tmp/portage/app-emulation/virtualbox-modules-3.0.4/work/vboxdrv/linux/SUPDrv-linux.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/virtualbox-modules-3.0.4/work/vboxdrv] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4' make[1]: *** [vboxdrv] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-modules-3.0.4/work/vboxdrv' make: *** [all] Error 2 * * ERROR: app-emulation/virtualbox-modules-3.0.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3348: Called linux-mod_src_compile * environment, line 2589: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.30-gentoo-r4/build all * * 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-modules-3.0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-3.0.4/temp/environment'. * This ebuild is from an overlay named 'dev-jokey': '/usr/local/portage/layman/jokey/' * >>> Failed to emerge app-emulation/virtualbox-modules-3.0.4, Log file: >>> '/var/tmp/portage/app-emulation/virtualbox-modules-3.0.4/temp/build.log' ------------------------------------------------------------------------------
(In reply to comment #4) [..] I'm trying to reproduce your issues with virtualbox-modules (i own an amd64 too) but on my system all build fine (gentoo-source-2.6.30 here too). Please check a little better your current setup; in order to build the virtualbox modules you need a proper configured and compiled kernel, after a better look at your build logs (my fault here i missed it first time) i saw the following message: "ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it." the symlink "/usr/src/linux" should always point to a properly configured and complied kernel.
That's a problem with your local configuration. Fix that please :)
(In reply to comment #6) > That's a problem with your local configuration. Fix that please :) > everything is compiling against the new kernel version but this virtualbox-module is not compiling. if you want more information on this please tell me so i can publish them here.
Hi.I have the same problem.Have you solved it? Regards
(In reply to comment #8) > Hi.I have the same problem.Have you solved it? > Regards > AybOwan!, yea i found the solution. goto /etc/make.conf file & comment the FEATURES parameter temporary. now try to #emerge virtualbox-bin ----------------- probably this error is due to 'userpriv' option. my corrected FEATURES list on make.conf file; FEATURES="usersandbox candy ccache strict parallel-fetch fixpackages userfetch collision-protect" theruwan saranai! Widya