[MacPorts] #62025: qemu +vnc fails to configure
MacPorts
noreply at macports.org
Thu Dec 30 10:50:16 UTC 2021
#62025: qemu +vnc fails to configure
-------------------------+----------------------
Reporter: mouse07410 | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qemu |
-------------------------+----------------------
Comment (by ShadSterling):
I'm seeing a similar error trying to install qemu 6.2.0 with all variants
disabled, on macOS 11.6 with Xcode 12.5.1
{{{
# QEMU configure log Thu Dec 30 05:41:33 EST 2021
# Configured with:
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-6.2.0/configure'
'--prefix=/opt/local' '--cpu=x86_64' '--cc=/usr/bin/clang' '--
objcc=/usr/bin/clang' '--host-cc=/usr/bin/clang' '--sphinx-
build=/opt/local/bin/sphinx-build-3.9' '--meson=/opt/local/bin/meson' '--
iasl=/usr/bin/false' '--disable-cocoa' '--disable-curses' '--disable-
capstone' '--disable-sdl' '--disable-gtk' '--disable-opengl' '--enable-
bzip2' '--enable-hvf' '--disable-curl' '--disable-attr' '--disable-vde'
'--disable-brlapi' '--disable-cap-ng' '--disable-spice' '--disable-
libiscsi' '--disable-rbd' '--disable-smartcard' '--disable-libusb'
'--disable-usb-redir' '--disable-seccomp' '--disable-linux-aio'
'--disable-glusterfs' '--disable-rdma' '--disable-libssh' '--disable-vnc'
'--disable-gnutls' '--disable-gcrypt' '--disable-nettle' '--disable-numa'
'--disable-xen' '--disable-snappy' '--disable-lzo' '--disable-lzfse'
'--disable-zstd' '--target-list=' '--extra-ldflags=-L/opt/local/lib
-Wl,-headerpad_max_install_names'
#
funcs: do_compiler do_cc compile_object check_define main
lines: 145 177 487 504 0
/usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64 -std=gnu11 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-
strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c
-o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: __linux__ not defined
#error __linux__ not defined
^
1 error generated.
funcs: do_compiler do_cc compile_object check_define main
lines: 145 177 487 506 0
/usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64 -std=gnu11 -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-
strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -c
-o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: _WIN32 not defined
#error _WIN32 not defined
^
1 error generated.
}}}
... and so on
--
Ticket URL: <https://trac.macports.org/ticket/62025#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list