[Bug 229845] emulators/virtualbox-ose-additions: macro from sys/priority.h conflicts with typedef in VirtualBox-5.2.14/include/VBox/types.h on base/head r336361
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 17 20:04:00 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229845
Bug ID: 229845
Summary: emulators/virtualbox-ose-additions: macro from
sys/priority.h conflicts with typedef in
VirtualBox-5.2.14/include/VBox/types.h on base/head
r336361
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: Trond.Endrestol at ximalas.info
Flags: maintainer-feedback?(vbox at FreeBSD.org)
Assignee: vbox at FreeBSD.org
Attachment #195212 text/plain
mime type:
Created attachment 195212
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195212&action=edit
Patch for VirtualBox-5.2.14/include/VBox/types.h
Here's an extract from synth's build log.
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibCrOgl.cpp:32:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInternal.h:59:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/include/VBox/VMMDev.h:31:
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/include/VBox/types.h:78:37:
error: expected unqualified-id
typedef struct VM *PVM;
^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM (PRI_MIN_KERN + 4)
^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 'PRI_MIN_KERN'
#define PRI_MIN_KERN (80)
^
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibCrOgl.cpp:32:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInternal.h:59:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/include/VBox/VMMDev.h:31:
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/include/VBox/types.h:78:37:
error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM (PRI_MIN_KERN + 4)
^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 'PRI_MIN_KERN'
#define PRI_MIN_KERN (80)
^
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/include/VBox/types.h:78:37:
note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM (PRI_MIN_KERN + 4)
^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 'PRI_MIN_KERN'
#define PRI_MIN_KERN (80)
^
See attached patch for a possible solution.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list