[MacPorts] #55323: xhyve 20170117: fail to build
MacPorts
noreply at macports.org
Wed Nov 15 17:33:56 UTC 2017
#55323: xhyve 20170117: fail to build
-----------------------+----------------------
Reporter: giorgiga | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords:
Port: xhyve |
-----------------------+----------------------
Comment (by jeremyhu):
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_xhyve/xhyve/work
/xhyve-
181d34c5053c03439a1c709bc7d933b6aa9e305c/src/pci_virtio_net_tap.c:405:7:
error:
403 implicit declaration of function 'select' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
404 if (select((sc->vsc_tapfd + 1), &rfd, NULL, NULL,
NULL) == -1) {
405 ^
406
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_xhyve/xhyve/work
/xhyve-
181d34c5053c03439a1c709bc7d933b6aa9e305c/src/pci_virtio_net_tap.c:405:7:
error:
407 missing '#include <sys/time.h>'; declaration of 'select'
must be imported from module 'Darwin.POSIX.sys.time'
408 before it is required
409 In module 'Darwin' imported from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_xhyve/xhyve/work
/xhyve-
181d34c5053c03439a1c709bc7d933b6aa9e305c/src/pci_virtio_net_tap.c:30:
410
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/_select.h:39:6:
note:
411 previous declaration is here
412 int select(int, fd_set * __restrict, fd_set * __restrict,
413 ^
414 2 errors generated.
415
}}}
--
Ticket URL: <https://trac.macports.org/ticket/55323#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list