Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 09:10:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242679] emulators/open-vm-tools-nox11: fails to build after r355732
Message-ID:  <bug-242679-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242679

            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@FreeBSD.org
          Reporter: brigadir15@gmail.com
             Flags: maintainer-feedback?(jpaetzel@FreeBSD.org)
          Assignee: jpaetzel@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 =3D 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 =3D 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 =3D 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 =3D 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/o=
pen-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/o=
pen-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/o=
pen-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/o=
pen-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/o=
pen-vm-tools/modules
2 errors

make[3]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/o=
pen-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/o=
pen-vm-tools
1 error

make[2]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-11.0.1/o=
pen-vm-tools
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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) interfac=
es.

[1] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D355732

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242679-7788>