[Bug 252953] emulators/virtualbox-ose-kmod: Fails to build after recent changes to vm_map_protect(9)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 23 19:51:21 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252953

            Bug ID: 252953
           Summary: emulators/virtualbox-ose-kmod: Fails to build after
                    recent changes to vm_map_protect(9)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vbox at FreeBSD.org
          Reporter: 0mp at FreeBSD.org
             Flags: maintainer-feedback?(vbox at FreeBSD.org)
          Assignee: vbox at FreeBSD.org
             Flags: merge-quarterly?

The signature of the vm_map_protect(9) function has been changed in
0659df6faddfb27ba54a2cae2a12552cf4f823a0.

The build produces the following log:

```
/usr/home/0mp/.local/share/freebsd/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.44/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c:887:80:
error: too few arguments to function call, expected 6, have 5
    int krc = vm_map_protect(pVmMap, AddrStart, AddrEnd, ProtectionFlags,
FALSE);
              ~~~~~~~~~~~~~~                                                  
^
/usr/home/0mp/.local/share/freebsd/src/sys/vm/vm_map.h:517:5: note:
'vm_map_protect' declared here
int vm_map_protect(vm_map_t map, vm_offset_t start, vm_offset_t end,
    ^
1 error generated.
*** [memobj-r0drv-freebsd.o] Error code 1
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list