Changes between Initial Version and Version 1 of Ticket #70482


Ignore:
Timestamp:
Aug 2, 2024, 8:35:27 PM (4 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The qemu port enables the cocoa variant by default on macOS 10.14 and older. It may be the case that due to changes in the qemu code this variant can no longer build on 10.15. Try building without the cocoa variant:

sudo port clean qemu
sudo port install qemu -cocoa

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70482

    • Property Status changed from new to assigned
    • Property Cc herbygillot added
    • Property Summary changed from Error while installing qemu on Catalina (10.15.7) to qemu @9.0.2: error: initializing 'NSEdgeInsets' (aka 'struct NSEdgeInsets') with an expression of incompatible type 'id'
    • Property Owner set to raimue
    • Property Keywords catalina legacy-os added
    • Property Port qemu added
  • Ticket #70482 – Description

    initial v1  
    11I am trying to install qemu:
    22
     3{{{
    34sudo port install qemu
     5}}}
    46
    57and I am getting an error:
    68
     9{{{
    710:info:build FAILED: libcommon.fa.p/ui_cocoa.m.o
    811:info:build /usr/bin/clang -m64 -mcx16 -Ilibcommon.fa.p -Isubprojects/dtc/libfdt -I../qemu-9.0.2/subprojects/dtc/libfdt -I/opt/local/include/p11-kit-1 -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include/spice-server -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/libexec/openssl3/include -I/opt/local/include/spice-1 -I/opt/local/include/libusb-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/slirp -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -g -Wempty-body -Wendif-labels -Wexpansion-to-defined -Wformat-security -Wformat-y2k -Wignored-qualifiers -Winit-self -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wredundant-decls -Wstrict-prototypes -Wtype-limits -Wundef -Wvla -Wwrite-strings -Wno-gnu-variable-sized-type-not-at-end -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-tautological-type-limit-compare -Wno-typedef-redefinition -iquote . -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.0.2 -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.0.2/include -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.0.2/host/include/x86_64 -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.0.2/host/include/generic -iquote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.0.2/tcg/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -fno-pie -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -DNCURSES_WIDECHAR=1 -DSTRUCT_IOVEC_DEFINED -MD -MQ libcommon.fa.p/ui_cocoa.m.o -MF libcommon.fa.p/ui_cocoa.m.o.d -o libcommon.fa.p/ui_cocoa.m.o -c ../qemu-9.0.2/ui/cocoa.m
     
    1821:info:build 1 warning and 1 error generated.
    1922:info:build [1076/3645] /usr/bin/clang -m64 -mcx16 -Ilibcommon.fa.p -Isubproject
     23}}}