Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290296 - app-emulation/virtualbox-modules-3.0.8 does not built on sys-kernel/git-sources-2.6.32-rc5-git1
Summary: app-emulation/virtualbox-modules-3.0.8 does not built on sys-kernel/git-sourc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
: 290298 290299 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-23 20:19 UTC by Yuriy Rusinov
Modified: 2009-11-03 08:19 UTC (History)
4 users (show)

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


Attachments
Build.log (build.log,8.86 KB, text/plain)
2009-10-23 20:33 UTC, Yuriy Rusinov
Details
ebuild with patch (virtualbox-modules-3.0.8-r1.ebuild,1.81 KB, text/plain)
2009-10-29 21:30 UTC, Florian Klink
Details
include linux/sched.h directly (include-sched.h.patch,1.11 KB, patch)
2009-10-29 21:31 UTC, Florian Klink
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy Rusinov 2009-10-23 20:19:25 UTC
I emerge sys-kernel/git-sources-2.6.32-rc5-git1 and try to re-emerge virtualbox-modules unsuccessfully, with error /var/tmp/portage/app-emulation/virtualbox-modules-3.0.8/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeFree’:                                        
/var/tmp/portage/app-emulation/virtualbox-modules-3.0.8/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:431: error: dereferencing pointer to incomplete type

Reproducible: Always

Steps to Reproduce:
1. emerge -av git-sources
2. cd /usr/src
3. rm linux
4. ln -sf linux-2.6.32-rc5-git1 linux
5. emerge -av virtualbox-modules
Actual Results:  
Error message /var/tmp/portage/app-emulation/virtualbox-modules-3.0.8/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeFree’:                                        
/var/tmp/portage/app-emulation/virtualbox-modules-3.0.8/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:431: error: dereferencing pointer to incomplete type

Expected Results:  
Successful compile.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-23 20:26:16 UTC
*** Bug 290298 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-23 20:26:34 UTC
*** Bug 290299 has been marked as a duplicate of this bug. ***
Comment 3 Yuriy Rusinov 2009-10-23 20:32:23 UTC
emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)                                                                           
=================================================================                        
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.11.1                                                                               
Timestamp of tree: Thu, 22 Oct 2009 19:45:02 +0000                                       
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                
ccache version 2.4 [disabled]                                                            
app-shells/bash:     4.0_p28                                                             
dev-java/java-config: 1.3.7-r1, 2.1.8-r1                                                 
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.3, 3.1.1-r1                                    
dev-python/pycrypto: 2.0.1-r8                                                            
dev-util/ccache:     2.4-r7                                                              
dev-util/cmake:      2.6.4                                                               
sys-apps/baselayout: 1.12.11.1                                                           
sys-apps/sandbox:    2.1                                                                 
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            
sys-devel/binutils:  2.18-r3                                                             
sys-devel/gcc-config: 1.4.1                                                              
sys-devel/libtool:   2.2.6a                                                              
virtual/os-headers:  2.6.27-r2                                                           
ACCEPT_KEYWORDS="amd64"                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                             
CFLAGS="-march=k8 -O2 -pipe"                                                             
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"                                                                          
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/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="-march=k8 -O2 -pipe"                                                           
DISTDIR="/usr/portage/distfiles"                                                         
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                  
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "                   
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
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/initng /usr/portage/local/layman/science /usr/portage/local/layman/games /usr/portage/local/layman/voip /usr/local/portage /usr/i686-mingw32/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl alsa amd64 bash-completion berkdb bzip2 cli cracklib crypt cups dri esd firefox fortran gdbm gnome gpm gtk iconv ipv6 isdnlog mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt readline reflection samba sdl session spl sse sse2 ssh ssl sysfs tcpd unicode v4l v4l2 xorg xulrunner 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Yuriy Rusinov 2009-10-23 20:33:12 UTC
Created attachment 208056 [details]
Build.log
Comment 5 Tom Flair 2009-10-28 14:50:49 UTC
It appears[1] this should be corrected by the next release and has already been fixed in SVN.[2]

[1]  http://www.mail-archive.com/vbox-users@virtualbox.org/msg07263.html
[2]  http://www.virtualbox.org/changeset/23717
Comment 6 Florian Klink 2009-10-29 21:30:55 UTC
Created attachment 208677 [details]
ebuild with patch
Comment 7 Florian Klink 2009-10-29 21:31:23 UTC
Created attachment 208678 [details, diff]
include linux/sched.h directly
Comment 8 Florian Klink 2009-10-29 21:33:27 UTC
simply added the patch provided here: http://www.virtualbox.org/changeset/23717
to the ebuild for 3.0.8.

successfully compiling on ~amd64 with 2.6.32-rc5
Comment 9 Tom Flair 2009-10-30 21:00:41 UTC
(In reply to comment #5)
> It appears[1] this should be corrected by the next release and has already been
> fixed in SVN.[2]
> 
> [1]  http://www.mail-archive.com/vbox-users@virtualbox.org/msg07263.html
> [2]  http://www.virtualbox.org/changeset/23717
> 

This has been corrected in the newly released 3.0.10

http://www.virtualbox.org/wiki/Changelog
Comment 10 Alessio Cassibba (X-Drum) 2009-11-03 01:54:04 UTC
VirtualBox bumped to 3.0.10 and commited to jokey's overlay[1]

[1] http://overlays.gentoo.org/dev/jokey
Comment 11 Patrick Lauer gentoo-dev 2009-11-03 08:19:35 UTC
+  03 Nov 2009; Patrick Lauer <patrick@gentoo.org>                                                                                                              
+  +virtualbox-ose-3.0.10.ebuild, +files/virtualbox-ose-3-wrapper:                                                                                              
+  Bump to 3.0.10, fixes #291214 #290296 #285749 #286163