Opened 4 years ago
Closed 12 months ago
#62025 closed defect (worksforme)
qemu +vnc fails to configure
Reported by: | mouse07410 (Mouse) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | qemu |
Description
MacOS 10.15.7, Xcode-12.3.
# QEMU configure log Sun Jan 10 14:38:39 EST 2021 # Configured with: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-5.2.0/configure' '--prefix=/opt/local' '--cpu=x86_64' '--cc=/usr/bin/clang' '--objcc=/usr/bin/clang' '--host-cc=/usr/bin/clang' '--python=/opt/local/bin/python3.8' '--meson=internal' '--iasl=/usr/bin/false' '--enable-cocoa' '--disable-curses' '--disable-capstone' '--disable-sdl' '--disable-gtk' '--disable-opengl' '--enable-bzip2' '--disable-curl' '--disable-attr' '--disable-vde' '--disable-brlapi' '--disable-cap-ng' '--disable-spice' '--disable-libiscsi' '--disable-rbd' '--disable-smartcard' '--enable-libusb' '--disable-usb-redir' '--disable-seccomp' '--disable-linux-aio' '--disable-glusterfs' '--disable-rdma' '--disable-libssh' '--enable-vnc' '--disable-gnutls' '--disable-gcrypt' '--disable-nettle' '--disable-numa' '--disable-xen' '--disable-snappy' '--enable-lzo' '--disable-lzfse' '--enable-zstd' '--enable-gnutls' '--enable-vnc-sasl' '--enable-vnc-jpeg' '--enable-vnc-png' '--target-list=,x86_64-softmmu,arm-softmmu,aarch64-softmmu' '--extra-ldflags=-L/opt/local/lib -Wl,-headerpad_max_install_names' # funcs: do_compiler do_cc compile_object check_define main lines: 141 173 555 581 0 /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -std=gnu99 -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 . . . . .
Attachments (4)
Change History (13)
Changed 4 years ago by mouse07410 (Mouse)
Attachment: | qemu.main.log.txt added |
---|
Changed 4 years ago by mouse07410 (Mouse)
Attachment: | qemu.config.log.txt added |
---|
comment:1 Changed 4 years ago by mouse07410 (Mouse)
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to raimue |
---|---|
Port: | qemu added |
Status: | new → assigned |
Summary: | qemu fails to configure → qemu +vnc fails to configure |
Please remember to fill in the Port field and Cc the maintainer.
comment:3 Changed 4 years ago by mouse07410 (Mouse)
Please remember to fill in the Port field and Cc the maintainer
My apologies! Honestly forgot. :-(
comment:4 Changed 4 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:5 Changed 4 years ago by ShadSterling (Shad Sterling)
I'm seeing the same error with +vnc and/or any of the +target_* variants
comment:6 Changed 4 years ago by raimue (Rainer Müller)
As the error was thrown by meson, the real error description must be inside the meson log file:
1099 :info:configure A full log can be found at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/build/meson-logs/meson-log.txt 1100 :info:configure ERROR: meson setup failed
Changed 3 years ago by cooljeanius (Eric Gallager)
Attachment: | meson-log.txt added |
---|
meson-log.txt for qemu +vnc
comment:7 Changed 3 years ago by ShadSterling (Shad Sterling)
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
Changed 3 years ago by ShadSterling (Shad Sterling)
Attachment: | config.log added |
---|
config.log for qemu 6.2.0 with all variants disabled, on macOS 11.6 with Xcode 12.5.1
comment:8 Changed 18 months ago by inflatador (Brian King)
@raimue
Would it be possible to get a qemu package with VNC enabled? Thanks for taking a look and let me know if you need more info.
comment:9 Changed 12 months ago by raimue (Rainer Müller)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
As +vnc is even in the defaults variants now, this does not seem to be a problem any more. Binary archives were built on the buildbot for macOS >= 11.
It looks like the culprit is
+vnc
, as without this flag the configuration (and the subsequent build) succeeds.