Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400871 - app-emulation/virtualbox-modules-4.1.4 with sys-kernel/gentoo-sources-3.2.1-r2 - .../work/vboxpci/linux/VBoxPci-linux.c:989:9: error: too few arguments to function ‘iommu_domain_alloc’
Summary: app-emulation/virtualbox-modules-4.1.4 with sys-kernel/gentoo-sources-3.2.1-r...
Status: RESOLVED DUPLICATE of bug 389953
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://www.virtualbox.org/ticket/9743
Whiteboard:
Keywords:
Depends on:
Blocks: 400671
  Show dependency tree
 
Reported: 2012-01-26 07:23 UTC by cyberbat
Modified: 2012-03-05 17:49 UTC (History)
3 users (show)

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


Attachments
full build log (virtualbox-modules-build.log,15.75 KB, text/plain)
2012-01-26 07:23 UTC, cyberbat
Details
build log (app-emulation:virtualbox-modules-4.1.4:20120126-110405.log,17.69 KB, text/plain)
2012-01-26 11:07 UTC, Balazs Nemeth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cyberbat 2012-01-26 07:23:26 UTC
Created attachment 299917 [details]
full build log

*** Building 'vboxpci' module ***
make[1]: Entering directory `/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci'
make KBUILD_VERBOSE= SUBDIRS=/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci SRCROOT=/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci -C /usr/src/linux modules
make[2]: Entering directory `/usr/src/linux-3.2.1-gentoo-r2'
  CC [M]  /var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.o
  CC [M]  /var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/VBoxPci.o
  CC [M]  /var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/SUPR0IdcClient.o
  CC [M]  /var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/SUPR0IdcClientComponent.o
  CC [M]  /var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/SUPR0IdcClient-linux.o
/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c: In function ‘VBoxPciLinuxInit’:
/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c:149:5: error: implicit declaration of function ‘iommu_found’
/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c: In function ‘vboxPciOsInitVm’:
/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c:989:9: error: too few arguments to function ‘iommu_domain_alloc’
include/linux/iommu.h:133:67: note: declared here
make[3]: *** [/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci] Error 2
make[2]: Leaving directory `/usr/src/linux-3.2.1-gentoo-r2'
make[1]: *** [vboxpci] Error 2

emerge --info
Portage 2.1.10.41 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.1.10-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.1.10-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.3
Timestamp of tree: Thu, 26 Jan 2012 01:15:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-gsom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 Q3AEULA PUEL LOKI-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/ ftp://xeon.gentoo.ru/mirrors/Gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
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"
PORTDIR_OVERLAY="/var/lib/layman/gsom"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi akonadi alsa amd64 amr audiofile bash-completion bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus dedicated djvu dri dts dv dvd dvdr emboss encode exif ffmpeg firefox flac fontconfig fortran gd gdu geoip gif gimp gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk handbook iconv icu id3tag idn ieee1394 imagemagick imap imlib inotify iphone ipod ipv6 jabber jbig jingle jpeg jpeg2k kde kipi kontact ladspa lame lcms libnotify libsamplerate libwww lm_sensors lzma lzo mad matroska mikmod mjpeg mmx mmxext mng modplug modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs nuv ogg openal openexr opengl openmp pam pango pcre pdf phonon plasma pm-utils png policykit ppds pppd qt3support qt4 quicktime rar raw readline reiserfs rss rtmp sasl scanner sdl semantic-desktop session sharedext smp sndfile socks5 speex spell sql sqlite sse sse2 sse3 ssl startup-notification svg symlink sysfs syslog taglib theora threads thumbnail tiff truetype tta udev unicode usb userlocales video vim-syntax vorbis wavpack webkit wma wmf x264 xcb xcomposite xface xml xmp xmpp xorg xpm xscreensaver xulrunner xv xvid zip 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 asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cgid cern_meta dbd deflate dir dumpio env expires ext_filter filter headers imagemap include info log_config log_forensic logio mime mime_magic negotiation proxy rewrite setenvif speling status substitute unique_id userdir version vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Balazs Nemeth 2012-01-26 11:07:29 UTC
almost same here


*** Building 'vboxpci' module ***
make[1]: Entering directory `/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci'
make KBUILD_VERBOSE= SUBDIRS=/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci SRCROOT=/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci -C /usr/src/linux modules
make[2]: Entering directory `/usr/src/linux-3.2.1-gentoo-r2'
  CC [M]  /_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/VBoxPci.o
  CC [M]  /_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.o
  CC [M]  /_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/SUPR0IdcClient.o
  CC [M]  /_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/SUPR0IdcClientComponent.o
  CC [M]  /_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/SUPR0IdcClient-linux.o
/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c: In function ‘VBoxPciLinuxInit’:
/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c:149:5: error: implicit declaration of function ‘iommu_found’
/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c: In function ‘vboxPciOsInitVm’:
/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.c:989:9: error: too few arguments to function ‘iommu_domain_alloc’
include/linux/iommu.h:133:67: note: declared here
make[3]: *** [/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/linux/VBoxPci-linux.o] Error 1
make[2]: *** [_module_/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci] Error 2
make[2]: Leaving directory `/usr/src/linux-3.2.1-gentoo-r2'
make[1]: *** [vboxpci] Error 2
make[1]: Leaving directory `/_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci'
cp: stat ”vboxpci/vboxpci.ko” failed: No such file or directory

>>> Source compiled.
>>> Test phase [not enabled]: app-emulation/virtualbox-modules-4.1.4

>>> Install virtualbox-modules-4.1.4 into /_gentoo_portage/tmp/portage/app-emulation/virtualbox-modules-4.1.4/image/ category app-emulation
 * Installing vboxdrv module
 * Installing vboxnetflt module
 * Installing vboxnetadp module
 * Installing vboxpci module
install: stat ”vboxpci.ko” sikertelen: Nincs ilyen fájl vagy könyvtár
!!! doins: vboxpci.ko does not exist
doins failed
...
blablabla


emerge --info
Portage 2.1.10.41 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.1.6-gentoo x86_64)
=================================================================
System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 26 Jan 2012 00:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo unoffical-balabit-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1 googleearth AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/_gentoo_portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.osuosl.org/"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en hu"
MAKEOPTS="-j3"
PKGDIR="/_gentoo_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="/_gentoo_portage/tmp"
PORTDIR="/_gentoo_portage/portage"
PORTDIR_OVERLAY="/_gentoo_portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss exif fam firefox flac fortran ftp gdbm gdu gif gpm gtk iconv ipv6 jpeg kde kipi lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog tcpd tiff truetype udev unicode usb v4l vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Balazs Nemeth 2012-01-26 11:07:51 UTC
Created attachment 299947 [details]
build log

build log
Comment 3 Balazs Nemeth 2012-01-26 11:11:46 UTC
app-emulation/virtualbox-modules-4.1.8 builds fine but unfortunately it is not in 'stable' yet
Comment 4 Ihar Hrachyshka 2012-01-27 10:45:03 UTC
I've created the following stabilization request for virtualbox-modules-4.1.8: #401013
Comment 5 quazgar 2012-01-28 13:40:21 UTC
I can confirm this from my own experience.  For an upstream bug report, see also https://www.virtualbox.org/ticket/9743

That bug report also confirms that 4.1.8 should fix this issue.
Comment 6 Israel G. Lugo 2012-01-28 18:14:59 UTC
This is a duplicate of bug 389953.
Comment 7 Oleg Mikheev 2012-02-01 08:39:47 UTC
In case you don't need vboxpci.ko and just need other modules to get successfully compiled/installed the workaround would be:

1. Start emerge virtualbox-modules as usual
2. Once it starts compiling stuff and before it starts installing stuff issue this: touch /var/tmp/portage/app-emulation/virtualbox-modules-4.1.4/work/vboxpci/vboxpci.ko
3. rm /lib/modules/your_kernel_version/misc/vboxpci.ko
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-02-02 12:23:24 UTC
Guys, this is already fixed with newer versions of virtualbox-modules. Unfortunately we cannot stabilize any newer version before bug #399807 is fixed...

*** This bug has been marked as a duplicate of bug 389953 ***