Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 199798
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Markus Ullmann <jokey@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bjoern Olausson <spamsuxx@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
virtualbox-modules-1.5.2-r1.ebuild virtualbox-modules-1.5.2-r1.ebuild text/plain Bjoern Olausson 2007-11-20 16:43 0000 1.06 KB Details
virtualbox-modules_2.6.24.patch virtualbox-modules_2.6.24.patch patch Bjoern Olausson 2007-11-20 16:44 0000 365 bytes Details | Diff
virtualbox-modules-1.5.2-r1.ebuild virtualbox-modules-1.5.2-r1.ebuild cleand text/plain Bjoern Olausson 2007-12-06 12:23 0000 1.11 KB Details
virtualbox-modules_2.6.24-fixed.patch fixed patch (for me) patch impulze@impulze.org 2007-12-13 21:19 0000 1001 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199798 depends on: Show dependency tree
Bug 199798 blocks: 207383
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-20 16:42 0000
This patch lets you compile virtualbox-modules against kernel 2.6.24


Reproducible: Always




--- include/iprt/types.h~       2007-11-20 17:15:54.000000000 +0100
+++ include/iprt/types.h        2007-11-20 17:15:54.000000000 +0100
@@ -69,6 +69,8 @@
 #  define bool linux_bool
 #  define true linux_true
 #  define false linux_false
+#  define uintptr_t linux_uintptr_t
+#  include <linux/autoconf.h>
 #  include <linux/types.h>
 #  include <linux/stddef.h>
 #  undef false

------- Comment #1 From Bjoern Olausson 2007-11-20 16:43:35 0000 -------
Created an attachment (id=136501) [details]
virtualbox-modules-1.5.2-r1.ebuild

------- Comment #2 From Bjoern Olausson 2007-11-20 16:44:12 0000 -------
Created an attachment (id=136502) [details]
virtualbox-modules_2.6.24.patch

------- Comment #3 From Mat 2007-12-02 19:45:22 0000 -------
works like a charm!
thanks,  Bjoern :)

------- Comment #4 From Markus Ullmann 2007-12-05 23:01:49 0000 -------
Added to CVS, thankies :)

------- Comment #5 From Thomas Jäger 2007-12-06 06:39:06 0000 -------
But 1.5.2-r1 isnt running against gentoo-sources-2.6.23-r3 (i didnt checked it
against other 2.6.23 versions). 1.5.2 was


---

In file included from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRV.h:29,
                 from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/linux/SUPDrv-linux.c:23:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:125:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:136:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:
In function ‘ASMAtomicXchgU128’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: for each function it appears in.)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: expected ‘)’ before ‘pu128’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2008:
error: expected ‘)’ before ‘pu128’
make[2]: ***
[/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/linux/SUPDrv-linux.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRV.h:29,
                 from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:23:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:125:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:136:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:
In function ‘ASMAtomicXchgU128’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: for each function it appears in.)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2007:
error: expected ‘)’ before ‘pu128’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:2008:
error: expected ‘)’ before ‘pu128’
In file included from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:32:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/log.h:
At top level:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/log.h:1060:
error: expected declaration specifiers or ‘...’ before
‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvCleanupSession’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: expected ‘)’ before ‘pSession’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: too many arguments to function ‘RTLogSetDefaultInstanceThread’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvIOCtl’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:752:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:1398:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvIOCtl_LdrOpen’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3636:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvIOCtl_LdrLoad’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3714:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3714:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3728:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3736:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
At top level:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:4765:
error: expected declaration specifiers or ‘...’ before
‘linux_uintptr_t’
make[2]: ***
[/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.o]
Error 1
make[1]: ***
[_module_/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r3'
make: *** [vboxdrv] Error 2
 * 
 * ERROR: app-emulation/virtualbox-modules-1.5.2-r1 failed.
 * Call stack:
 *          ebuild.sh, line 1701:  Called dyn_compile
 *          ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *          ebuild.sh, line   44:  Called src_compile
 *          ebuild.sh, line 1383:  Called linux-mod_src_compile
 *   linux-mod.eclass, line  518:  Called die
 * The specific snippet of code:
 *                      emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)"
LDFLAGS="$(get_abi_LDFLAGS)" \
 *                                ${BUILD_FIXES} ${BUILD_PARAMS}
${BUILD_TARGETS} \
 *                              || die "Unable to make ${BUILD_FIXES}
${BUILD_PARAMS} ${BUILD_TARGETS}."
 *  The die message:
 *   Unable to make  KERN_DIR=/usr/src/linux
KERNOUT=/lib/modules/2.6.23-gentoo-r3/build all.



# emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4600+
Timestamp of tree: Thu, 06 Dec 2007 06:00:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/jboss-bin-4"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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 -msse3 "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks maketest metadata-transfer sandbox
sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ynet.sk/pub
http://gentoo.mirror.solnet.ch
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay
/usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 berkdb bitmap-fonts
bluetooth bzip2 cairo cddb cdparanoia cdr cgi chroot cli cracklib crypt ctype
cups curl dbus dedicated dga dri dvb dvd dvdr dvdread eds emacs encode esd evo
exif expat fastcgi ffmpeg firefox flac foomaticdb gd gdbm geoip gif gimp gnome
gnutls gphoto2 gpm gstreamer gtk hal iconv imagemagick imap java jpeg jpeg2k
lame lcms lm_sensors mad mbox midi mikmod mmx mmxext mozilla mp3 mpeg mudflap
mysql nautilus ncurses nls nntp nptl nptlonly nsplugin ogg opengl openmp oss
pam pcre pdf perl php png ppds pppd python quicktime readline reflection samba
sasl sdl session spell spl sse sse2 ssl svg tcpd theora threads tiff truetype
truetype-fonts type1-fonts unicode usb v4l vcd vorbis wmf wxwindows x264 xattr
xinetd xml xorg xpm xprint xv xvid 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 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="directory fuji ptp2 template" ELIBC="glibc" INPUT_DEVICES="evdev
keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU"
VIDEO_CARDS="nvidia fbdev v4l vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #6 From Dennis Schridde 2007-12-06 07:54:25 0000 -------
I can confirm that, please reopen!

------- Comment #7 From Pavel Procopiuk 2007-12-06 10:27:13 0000 -------
virtualbox-modules-1.5.2-r1 doesn't compile against
sys-kernel/gentoo-sources-2.6.23-r3 for me too.

In file included from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRV.h:28,
                 from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/linux/SUPDrv-linux.c:22:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:125:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:136:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
In file included from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRV.h:28,
                 from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:22:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:125:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/asm.h:136:
error: expected specifier-qualifier-list before ‘linux_uintptr_t’
In file included from
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:31:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/include/iprt/log.h:1060:
error: expected declaration specifiers or ‘...’ before
‘linux_uintptr_t’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvCleanupSession’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: for each function it appears in.)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: expected ‘)’ before ‘pSession’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:411:
error: too many arguments to function ‘RTLogSetDefaultInstanceThread’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvIOCtl’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:752:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:1398:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvIOCtl_LdrOpen’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3636:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
In function ‘supdrvIOCtl_LdrLoad’:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3714:
error: ‘linux_uintptr_t’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3714:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3728:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:3736:
error: expected ‘)’ before ‘pIn’
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:
At top level:
/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.c:4765:
error: expected declaration specifiers or ‘...’ before
‘linux_uintptr_t’
make[2]: ***
[/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/SUPDRVShared.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv/linux/SUPDrv-linux.o]
Error 1
make[1]: ***
[_module_/var/tmp/portage/app-emulation/virtualbox-modules-1.5.2-r1/work/vboxdrv]
Error 2
make: *** [vboxdrv] Error 2

------- Comment #8 From Pavel Procopiuk 2007-12-06 10:27:48 0000 -------
emerge --info

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Thu, 06 Dec 2007 09:16:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/init.d /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=prescott -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.lug.md/pub/mirrors/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O3,--as-needed,--sort-common,--enable-new-dtags"
LINGUAS="en ru ro"
MAKEOPTS="-j2 --no-print-directory -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz
/usr/portage/local/layman/sunrise /usr/portage/local/layman/java-experimental
/usr/portage/local/layman/xeffects /usr/portage/local/layman/dirtyepic
/usr/portage/local/layman/gentopia /usr/portage/local/layman/gentoo-china
/usr/portage/local/layman/roslin /usr/portage/local/layman/java-overlay
/usr/portage/local/layman/kde /home/pro/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi aio alsa amr apache2 ares arts async avahi berkdb
bitmap-fonts bittorrent bluetooth bzip2 cairo caps cdda cdr chm cjk cli
cracklib crypt css cups curl curlwrappers cvs dbus dga djvu dri dts dvd dvdr
dvdread encode exif fam fbcon ffmpeg fftw filter_default firefox flac
fontconfig ftp fuse gammu gd gdbm geoip gif glitz glut gpm graphviz gtk2 hal
iconv icq icu id3tag idn ieee1394 imagemagick imap ipv6 ipw4965 irda isdnlog
jabber java5 javascript jingle joystick jpeg jpeg2k kde kdeenablefinal
kdehiddenvisibility ladspa libsamplerate live lm_sensors logitech-mouse mad
matroska midi mikmod mmap mmx mng mp3 mpeg mplayer msn mudflap musicbrainz
mysql ncurses newspr nls nodrm nptl nptlonly nsplugin obex ogg opengl openmp
oscar pam pch pcmcia pcre pdf perl pertty pg-intdatetime php png postgres pppd
python qt-copy qt4 quicktime rdesktop readline real reflection rle samba sdl
session slang smp sms sound soundex speex spell spl sql sqlite sse sse2 ssl svg
syslog taglib tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts
unicode usb userlocales utempter v4l v4l2 vcd vorbis wifi win32codecs wmf
wxwidgets x264 x86 xcomposite xforms xine xinerama xml xml2 xorg xpm
xscreensaver xv xvid xvmc yahoo 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 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 synaptics joystick
evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="en ru ro" USERLAND="GNU" VIDEO_CARDS="nv
nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #9 From Bjoern Olausson 2007-12-06 12:23:48 0000 -------
Created an attachment (id=137877) [details]
virtualbox-modules-1.5.2-r1.ebuild cleand

Cleand the ebuild and it now checks for kernel 2.6.24 before it applies the
patch.

Be aware, if you install the src version of virtualbox, you may have to patch
another file.

(maybe the maintainer can add the rest of the patch?)
http://www.virtualbox.org/changeset/5704
http://www.virtualbox.org/changeset/5765

------- Comment #10 From Stephen Bennett (RETIRED) 2007-12-06 15:25:44 0000 -------
Not fixed, reopening by request.

------- Comment #11 From Markus Ullmann 2007-12-06 19:15:25 0000 -------
Added the linked diffs to the patch and made it 2.6.24 conditional, thankies
much :) and sorry for the inconvenience caused, seems it was too late here..

------- Comment #12 From Markus Ullmann 2007-12-06 20:03:59 0000 -------
*** Bug 201462 has been marked as a duplicate of this bug. ***

------- Comment #13 From Jakub Moc (RETIRED) 2007-12-06 20:56:48 0000 -------
*** Bug 201521 has been marked as a duplicate of this bug. ***

------- Comment #14 From Jakub Moc (RETIRED) 2007-12-06 23:51:36 0000 -------
*** Bug 201540 has been marked as a duplicate of this bug. ***

------- Comment #15 From Bjoern Olausson 2007-12-07 14:01:46 0000 -------
You could have cleand your ebuild by using the one I added.

here's the diff what could be fixed:


---
/usr/portage/app-emulation/virtualbox-modules/virtualbox-modules-1.5.2-r1.ebuild
   2007-12-06 20:35:42.000000000 +0100
+++ /home/blub/Desktop/virtualbox-modules-1.5.2-r1.ebuild       2007-12-07
14:57:52.000000000 +0100
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-1.5.2-r1.ebuild,v
1.2 2007/12/06 19:14:10 jokey Exp $
+# $Header:
/var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-1.5.2.ebuild,v
1.2 2007/10/29 06:21:53 cla Exp $

 inherit eutils linux-mod linux-info

@@ -30,9 +30,10 @@ pkg_setup() {

 src_unpack() {
        unpack ${A}
-       cd "${S}"
        if kernel_is 2 6 24 ; then
-               epatch "${FILESDIR}"/${PN}_2.6.24.patch
+               einfo "Applying patch for Kernel 2.6.24"
+               cd ${S}
+               epatch "${FILESDIR}/${PN}_2.6.24.patch"
        fi
 }

@@ -41,9 +42,6 @@ src_install() {

        # udev rule for vboxdrv
        dodir /etc/udev/rules.d
-       echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >>
"${D}/etc/udev/rules.d/60-virtualbox.rules"
+       echo 'KERNEL=="vboxdrv", GROUP="vboxusers", MODE="660"' >>
"${D}/etc/udev/rules.d/60-virtualbox.rules"
 }

-pkg_postinst() {
-       linux-mod_pkg_postinst
-}

regards
Bjoern

------- Comment #16 From Bjoern Olausson 2007-12-07 14:04:08 0000 -------
And theres a real bug I cleand out:

note the , behind GROUP="vboxusers"

-       echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >>
"${D}/etc/udev/rules.d/60-virtualbox.rules"
+       echo 'KERNEL=="vboxdrv", GROUP="vboxusers", MODE="660"' >>
"${D}/etc/udev/rules.d/60-virtualbox.rules"

------- Comment #17 From impulze@impulze.org 2007-12-13 21:19:16 0000 -------
Created an attachment (id=138413) [details]
fixed patch (for me)

in fact, the patch couldn't find any file to patch though i had to rewrite the
patch:

diff -Naur vboxdrv/include/iprt/types.h vboxdrv.new/include/iprt/types.h
--- vboxdrv/include/iprt/types.h        2007-10-18 19:07:37.000000000 +0200
+++ vboxdrv.new/include/iprt/types.h    2007-12-13 22:12:04.000000000 +0100
@@ -58,8 +58,9 @@
     /*
      * Kludge for the linux kernel:
      *   1. sys/types.h doesn't mix with the kernel.
-     *   2. Starting with 2.6.19 linux/types.h typedefs bool and
linux/stddef.h
+     *   2. Starting with 2.6.19, linux/types.h typedefs bool and
linux/stddef.h
      *      declares false and true as enum values.
+     *   3. Starting with 2.6.24, linux/types.h typedefs uintptr_t.
      * We work around these issues here and nowhere else.
      */
 #  include <stddef.h>
@@ -69,8 +70,11 @@
 #  define bool linux_bool
 #  define true linux_true
 #  define false linux_false
+#  define uintptr_t linux_uintptr_t
+#  include <linux/autoconf.h>
 #  include <linux/types.h>
 #  include <linux/stddef.h>
+#  undef uintptr_t
 #  undef false
 #  undef true
 #  undef bool

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug