[Bug 243240] emulators/open-vm-tools-nox11: fails to build after r356337
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 10 09:59:30 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243240
Bug ID: 243240
Summary: emulators/open-vm-tools-nox11: fails to build after
r356337
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jpaetzel at FreeBSD.org
Reporter: brigadir15 at gmail.com
Flags: maintainer-feedback?(jpaetzel at FreeBSD.org)
Assignee: jpaetzel at FreeBSD.org
Created attachment 210586
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210586&action=edit
Remove reference to a_flags field
I'm trying to build emulators/open-vm-tools-nox11 on FreeBSD 13.0-CURRENT
r356200 with /usr/src updated to r356537:
# cd /usr/ports/emulators/open-vm-tools-nox11
# make build
...
--- vfsops.o ---
vfsops.c:212:7: error: too many arguments to function call, expected single
argument 'vp', have 2 arguments
COMPAT_VOP_UNLOCK(vp, 0, compat_td);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules/freebsd/shared/compat_vop.h:50:68:
note: expanded from macro 'COMPAT_VOP_UNLOCK'
#define COMPAT_VOP_UNLOCK(vop, flags, threadvar) VOP_UNLOCK((vop), (flags))
~~~~~~~~~~ ^~~~~~~
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules/freebsd/vmblock/vnode_if.h:892:1:
note: 'VOP_UNLOCK' declared here
static __inline int VOP_UNLOCK(
^
...
This is caused by r356337[1] which dropped flags argument from VOP_UNLOCK.
I've created a simple patch (with `make makepatch` that fixes the issue for me.
[1] https://svnweb.freebsd.org/base?view=revision&revision=356337
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list