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

Bug 739616

Summary: app-emulation/virtualbox-modules-6.1.12-r1 : /.../memobj-r0drv-linux.c: error: struct mm_struct has no member named mmap_sem
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-emulation:virtualbox-modules-6.1.12-r1:20200830-041943.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2020-08-30 09:09:21 UTC
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/app-emulation/virtualbox-modules-6.1.12-r1/work/vboxdrv/r0drv/linux/assert-r0drv-linux.o
/var/tmp/portage/app-emulation/virtualbox-modules-6.1.12-r1/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeFree’:
/var/tmp/portage/app-emulation/virtualbox-modules-6.1.12-r1/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:596:43: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
  596 |                     down_read(&pTask->mm->mmap_sem);
      |                                           ^~~~~~~~
      |                                           mmap_base

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200822-131913

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
  [6]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.46.0
  [2]   rust-1.46.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Aug 30 04:05:25 AM UTC 2020
/var/db/repos/libressl	Mon Aug 10 09:13:35 AM UTC 2020

emerge -qpvO app-emulation/virtualbox-modules
[ebuild  N    ] app-emulation/virtualbox-modules-6.1.12-r1  USE="-pax_kernel"
Comment 1 Toralf Förster gentoo-dev 2020-08-30 09:09:23 UTC
Created attachment 657480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-30 09:09:25 UTC
Created attachment 657482 [details]
app-emulation:virtualbox-modules-6.1.12-r1:20200830-041943.log
Comment 3 Toralf Förster gentoo-dev 2020-08-30 09:09:27 UTC
Created attachment 657484 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-08-30 09:09:28 UTC
Created attachment 657486 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-08-30 09:09:30 UTC
Created attachment 657488 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-30 09:09:32 UTC
Created attachment 657490 [details]
logs.tbz2
Comment 7 Sviatoslav @webknjaz Sydorenko #StandWithUkraine 2020-09-02 12:41:49 UTC
I think it's a duplicate of https://bugs.gentoo.org/735786#c12
Comment 8 Toralf Förster gentoo-dev 2020-09-02 15:05:55 UTC

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