Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 661334

Summary: app-emulation/virtualbox-modules-5.2.14 : /.../VBoxPci-linux.c:323:13: error: implicit declaration of function pci_reset_function
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Viorel Munteanu <ceamac>
Status: RESOLVED OBSOLETE    
Severity: normal CC: plevine457
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 7.0.6 at least
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-emulation:virtualbox-modules-5.2.14:20180716-074339.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2018-07-16 17:19:34 UTC
   ./tools/objtool/objtool orc generate  --module --no-fp  "/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxpci/.tmp_VBoxPci.o";
/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxpci/linux/VBoxPci-linux.c: In function ‘vboxPciLinuxDevReset’:
/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxpci/linux/VBoxPci-linux.c:323:13: error: implicit declaration of function ‘pci_reset_function’; did you mean ‘present_section’? [-Werror=implicit-function-declaration]
         if (pci_reset_function(pIns->pPciDev))
             ^~~~~~~~~~~~~~~~~~
             present_section

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_20180708-172507

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.7 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.8.0 [icedtea-8]
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpv app-emulation/virtualbox-modules
[ebuild  N    ] app-emulation/virtualbox-modules-5.2.14  USE="-pax_kernel"
Comment 1 Toralf Förster gentoo-dev 2018-07-16 17:19:37 UTC
Created attachment 539728 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-16 17:19:40 UTC
Created attachment 539730 [details]
app-emulation:virtualbox-modules-5.2.14:20180716-074339.log
Comment 3 Toralf Förster gentoo-dev 2018-07-16 17:19:43 UTC
Created attachment 539732 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-16 17:19:46 UTC
Created attachment 539734 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-16 17:19:49 UTC
Created attachment 539736 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-16 17:19:52 UTC
Created attachment 539738 [details]
logs.tbz2
Comment 7 Peter Levine 2023-02-11 05:28:03 UTC
virtualbox-modules-5.2.14 is no longer in Gentoo and the oldest and newest versions seem to build fine with sys-devel/clang-16.0.0_pre20230107.
Comment 8 Viorel Munteanu gentoo-dev 2023-03-08 13:37:21 UTC
I compiled virtualbox and virtualbox-modules 7.0.6 with clang-16, it works fine.  Most likely fixed upstream.