[Bug 242679] emulators/open-vm-tools-nox11: fails to build after r355732
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 17 09:10:38 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242679
Bug ID: 242679
Summary: emulators/open-vm-tools-nox11: fails to build after
r355732
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
I'm trying to build emulators/open-vm-tools-nox11 on FreeBSD 13.0-CURRENT
r355689 with /usr/src updated to r355843:
# cd /usr/ports/emulators/open-vm-tools-nox11
# make build
...
--- vmmemctl ---
os.c:681:27: error: implicit declaration of function 'timeout' is invalid in
C99 [-Werror,-Wimplicit-function-declaration]
t->callout_handle = timeout(vmmemctl_poll, t, BALLOON_POLL_PERIOD * hz);
^
os.c:681:25: error: assigning to 'struct callout_handle' from incompatible type
'int'
t->callout_handle = timeout(vmmemctl_poll, t, BALLOON_POLL_PERIOD * hz);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os.c:715:4: error: implicit declaration of function 'callout_handle_init' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
callout_handle_init(&state->timer.callout_handle);
^
os.c:723:24: error: implicit declaration of function 'timeout' is invalid in
C99 [-Werror,-Wimplicit-function-declaration]
t->callout_handle = timeout(vmmemctl_poll, t, BALLOON_POLL_PERIOD * hz);
^
os.c:723:22: error: assigning to 'struct callout_handle' from incompatible type
'int'
t->callout_handle = timeout(vmmemctl_poll, t, BALLOON_POLL_PERIOD * hz);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os.c:762:4: error: implicit declaration of function 'untimeout' is invalid in
C99 [-Werror,-Wimplicit-function-declaration]
untimeout(vmmemctl_poll, t, t->callout_handle);
^
6 errors generated.
--- os.o ---
*** [os.o] Error code 1
make[4]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules/freebsd/vmmemctl
1 error
make[4]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules/freebsd/vmmemctl
*** [vmmemctl] Error code 2
make[3]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules
--- vmblock ---
A failure has been detected in another branch of the parallel make
make[4]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules/freebsd/vmblock
*** [vmblock] Error code 2
make[3]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules
2 errors
make[3]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools/modules
*** [all-recursive] Error code 1
make[2]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools
1 error
make[2]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/open-vm-tools
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/emulators/open-vm-tools-nox11
*** Error code 1
Stop.
make: stopped in /usr/ports/emulators/open-vm-tools-nox11
I believe this is caused by r355732[1] which deprecated timeout(9) interfaces.
[1] https://svnweb.freebsd.org/base?view=revision&revision=355732
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list