Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248535 - x11-drivers/xf86-video-virtualbox-2.0.4 fails to build
Summary: x11-drivers/xf86-video-virtualbox-2.0.4 fails to build
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alessio Cassibba (X-Drum)
URL:
Whiteboard:
Keywords:
: 248526 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-24 08:58 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-11-10 01:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (xf86-video-virtualbox-2.0.4:20081124-021324.log,1.35 MB, text/plain)
2008-11-24 08:59 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-24 08:58:42 UTC
Portage 2.2_rc14 (default/linux/x86/2008.0, gcc-4.1.2-asneeded, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-glibc2.0
Timestamp of tree: Fri, 14 Nov 2008 00:37:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
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.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb /var/phxd /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage-distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK=" 	/usr/share/doc 	/usr/share/man 	/usr/share/info"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/usr/portage-packages"
PORTAGE_COMPRESS=""
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="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-24 08:59:19 UTC
Created attachment 173128 [details]
Build log
Comment 2 Andreas Niederl 2008-12-19 01:03:33 UTC
This package assumes prepared linux sources in /usr/src/linux

Placing a source tree there and running 'make prepare' in it fixed this for me. Same goes for bug 248526
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2009-04-05 16:28:54 UTC
*** Bug 248526 has been marked as a duplicate of this bug. ***
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2009-04-05 16:29:29 UTC
mmm proposed fix?
Comment 5 mehrunes 2009-08-07 07:19:45 UTC
> Placing a source tree there and running 'make prepare' in it fixed this for me.

but not for me
~~~~~~~~~~~~~~~~~~~~~~~ log piece begins ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kBuild: Compiling RuntimeGuestR0 - /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c
kBuild: Compiling RuntimeGuestR0 - /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
In file included from /lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:11,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/include/iprt/types.h:88,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:38,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c:34:
/lib/modules/2.6.29-gentoo-r5/build/include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
In file included from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/include/iprt/types.h:88,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:38,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c:34:
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:12:23: error: asm/types.h: No such file or directory

kBuild: Compiling RuntimeGuestR0 - /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c
kBuild: Compiling RuntimeGuestR0 - /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
In file included from /lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:11,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/include/iprt/types.h:88,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:38,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c:34:
/lib/modules/2.6.29-gentoo-r5/build/include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
In file included from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/include/iprt/types.h:88,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:38,
                 from /tmp/portage/x11-drivers/xf86-video-virtualbox-1.6.6/work/VirtualBox-1.6.6/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c:34:
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:12:23: error: asm/types.h: No such file or directory

~~~~~~~~~~~~~~~~~~~~~~~ log piece ends ~~~~~~~~~~~~~~~~~~~~~~

after make prepare in /usr/src/linux there's just a single file in /usr/src/linux/include/asm:

asm-offsets.h
Comment 6 Patrick Lauer gentoo-dev 2009-11-10 01:54:23 UTC
Is this still happening with 3.0 ?