Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248122 - x11-drivers/xf86-input-virtualbox-2.0.4 fails to compile (kernel 2.6.28 incompat?)
Summary: x11-drivers/xf86-input-virtualbox-2.0.4 fails to compile (kernel 2.6.28 incom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 07:33 UTC by devsk
Modified: 2009-03-11 09:03 UTC (History)
2 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 devsk 2008-11-22 07:33:16 UTC
First errors occur at the following and then its just a repeat:

In file included from /private/tmp/portage/x11-drivers/xf86-input-virtualbox-2.0.4/work/VirtualBox-2.0.4/include/iprt/types.h:88,
                 from /private/tmp/portage/x11-drivers/xf86-input-virtualbox-2.0.4/work/VirtualBox-2.0.4/include/iprt/crc32.h:34,
                 from /private/tmp/portage/x11-drivers/xf86-input-virtualbox-2.0.4/work/VirtualBox-2.0.4/src/VBox/Runtime/common/checksum/crc32.cpp:81:
/lib/modules/2.6.28-rc6/build/include/linux/types.h:16: error: `__u32' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:19: error: `__kernel_dev_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:20: error: `__kernel_ino_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:21: error: `__kernel_mode_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:22: error: `__kernel_nlink_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:23: error: `__kernel_off_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:24: error: `__kernel_pid_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:25: error: `__kernel_daddr_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:27: error: `__kernel_suseconds_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:28: error: `__kernel_timer_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:29: error: `__kernel_clockid_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:35: error: `__kernel_uid32_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:36: error: `__kernel_gid32_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:37: error: `__kernel_uid16_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:38: error: `__kernel_gid16_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:44: error: `__kernel_old_uid_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:45: error: `__kernel_old_gid_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:57: error: `__kernel_loff_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:71: error: `__kernel_ssize_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:81: error: `__kernel_time_t' does not name a type
/lib/modules/2.6.28-rc6/build/include/linux/types.h:86: error: `__kernel_clock_t' does not name a type
Comment 1 devsk 2008-11-22 07:34:26 UTC
x11-drivers/xf86-video-virtualbox-2.0.4 fails to build because of similar errors.
Comment 2 devsk 2008-11-22 07:37:53 UTC
I tried with gcc-3.4.6 as well and same error.

# emerge --info
Portage 2.2_rc14 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.8_p20080602-r0, 2.6.28-rc6 x86_64)
=================================================================
System uname: Linux-2.6.28-rc6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Fri, 21 Nov 2008 23:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.17.50.0.16, 2.17.50.0.17, 2.18-r3, 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -mtune=generic -msse2 -msse3 -fforce-addr -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/hibernate /etc/udev/rules.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/hddtemp"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -mtune=generic -msse2 -msse3 -fforce-addr -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --keep-going --jobs=6 --load-average=8"
FEATURES="ccache distlocks nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/ http://mirror.espri.arizona.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4 -l8"
PKGDIR="/private/bin-packages/x64"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
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="/private/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim aio alsa amd64 audiofile bash-completion berkdb binary-drivers bluetooth bzip2 cairo cdparanoia cdr cli composite cracklib crypt cscope css cups curl dar64 dbus dga directfb divx djbfft dri dts dv dvb dvd dvdnav dvdr dvdread emboss emerald encode erandom evo exif expat faac faad fam fame fbcon fbcondecor fbsplash ffmpeg firefox flac freetype fuse gb gd gif gimp gimpprint glitz glut gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk+ gtk2 hal hddtemp hpn ibmacpi iconv ieee1394 imagemagick imap imlib ipw3945 ipw4965 isdnlog java javascript jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kqemu laptop lcms ldap libcaca libnotify lirc live lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad matroska md5sum midi mikmod mjpeg mmap mmx mmx2 mmxext mng moznopango mozsvg mp2 mp3 mp4 mpeg mplayer msn mudflap multislot musicbrainz nautilus ncurses nocd nodrm nomalloccheck nopie nossp nptl nptlonly nsplugin nut nvidia ogg openexr opengl openmp oss pam pcre pda pdf perl pic png pop ppds pppd pwdb python qt qt3 qt3support quicktime radio rar rdesktop readline reflection rplay rtc samba sasl sdl sensord server session slp smp sndfile spell spl sse sse2 sse3 ssl stencil-buffer stroke svg swat sysfs syslog tcl tcpd theora tiff tk truetype urandom usb userlocales v41 v4l v4l2 vim vnc vorbis wma wmf wmp x264 xanim xcomposite xft xine xml xml2 xorg xpm xprint xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m ens1371 emu10k1x" 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" CAMERAS="canon panasonic kodak minolta konica" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="intel i810 nvidia nv fbdev vesa vga vmware"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 Alessio Cassibba (X-Drum) 2008-11-26 22:22:56 UTC
can you please test version 2.0.6?

ebuilds are on jokey's overlay[1], clearly you need to update virtualbox too (to test the driver after a successful build/installation)

Alessio

[1] http://overlays.gentoo.org/dev/jokey
Comment 4 devsk 2008-12-03 07:17:32 UTC
(In reply to comment #3)
> can you please test version 2.0.6?
> 
> ebuilds are on jokey's overlay[1], clearly you need to update virtualbox too
> (to test the driver after a successful build/installation)
> 
> Alessio
> 
> [1] http://overlays.gentoo.org/dev/jokey
> 

you can close this bug. I lost interest in virtualbox after it told me to use gcc other than 4.3. I am not sure I have time to install gcc < 4.3 for this and I don't know if it will even compile after that.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2009-01-07 17:53:16 UTC
No, this bug should stay open until this issue is fixed

Same problem occurs with the the latest package (2.0.6).

I tried gcc-4.1.2 and gcc-4.3.2 but it is definitely a problem with 2.6.28 kernel
Comment 6 Alessio Cassibba (X-Drum) 2009-01-23 01:11:38 UTC
(In reply to comment #5)
> No, this bug should stay open until this issue is fixed
> 
> Same problem occurs with the the latest package (2.0.6).
> 
> I tried gcc-4.1.2 and gcc-4.3.2 but it is definitely a problem with 2.6.28
> kernel
> 

patch for 2.6.28 kernels added to virtualbox-ose-{2.0.6,2.1.0}
updated ebuilds are on jokey's overlay[1]

[1] http://overlays.gentoo.org/dev/jokey
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2009-03-11 09:03:29 UTC
Done, closing