[MacPorts] #71593: qemu @9.2.0_0: ERROR: Problem encountered: You either need GCC v7.4 or Clang v10.0 (or XCode Clang v15.0) to compile QEMU

MacPorts noreply at macports.org
Thu Dec 19 00:43:42 UTC 2024


#71593: qemu @9.2.0_0: ERROR: Problem encountered: You either need GCC v7.4 or
Clang v10.0 (or XCode Clang v15.0) to compile QEMU
-------------------------+--------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.10.5
 Keywords:               |       Port:  qemu
-------------------------+--------------------
 Latest build error I get when trying to upgrade qemu is:
 {{{
 Program bzip2 found: YES (/opt/local/bin/bzip2)

 ../qemu-9.2.0/meson.build:328:4: ERROR: Problem encountered: You either
 need GCC v7.4 or Clang v10.0 (or XCode Clang v15.0) to compile QEMU

 A full log can be found at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/build
 /meson-logs/meson-log.txt

 ERROR: meson setup failed

 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/build"
 &&
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.2.0/configure
 --prefix=/opt/local --cpu=x86_64 --cc=/usr/bin/clang
 --objcc=/usr/bin/clang --host-cc=/usr/bin/clang --iasl=/usr/bin/false
 --python=/opt/local/bin/python3.12 --enable-cocoa --enable-curses
 --disable-capstone --disable-sdl --disable-gtk --disable-opengl --enable-
 bzip2 --enable-hvf --enable-curl --disable-attr --enable-vde --disable-
 jack --disable-brlapi --disable-cap-ng --enable-spice-protocol --enable-
 spice --disable-libiscsi --disable-rbd --disable-smartcard --enable-libusb
 --enable-usb-redir --disable-seccomp --enable-slirp --disable-linux-aio
 --disable-glusterfs --disable-rdma --enable-libssh --enable-vnc --enable-
 gnutls --disable-gcrypt --disable-nettle --disable-numa --disable-xen
 --enable-snappy --enable-lzo --enable-lzfse --enable-png --enable-zstd
 --enable-dbus-display --enable-bochs --enable-cloop --enable-dmg --enable-
 qcow1 --enable-qed --enable-tools --enable-parallels --enable-vdi
 --enable-virtfs --enable-vvfat --enable-fdt=system
 --smbd=/opt/local/sbin/smbd --extra-cflags=-DNCURSES_WIDECHAR=1 --enable-
 vnc-jpeg --enable-vnc-sasl --enable-modules --target-
 list=,i386-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu,m68k-softmmu
 ,ppc-softmmu,ppc64-softmmu --extra-ldflags="-L/opt/local/lib
 -Wl,-headerpad_max_install_names"
 Exit code: 1
 Error: Failed to configure qemu: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/build/config.log
 Error: Failed to configure qemu: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/build
 /meson-logs/meson-log.txt
 Error: Failed to configure qemu: configure failure: command execution
 failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 }}}
 Previously I was experiencing #70694 for my error, but now it doesn't even
 reach that. This blocks upgrading of macpine, lima, and colima for me. I'm
 on x86_64 Big Sur with Xcode 13. Note that I left my full list of selected
 variants out of the title because they're rather long:
 {{{
 $ port installed qemu
 The following ports are currently installed:
   qemu
 @9.0.2_1+cocoa+curl+curses+dbus+spice+spice_protocol+ssh+target_arm+target_i386+target_m68k+target_ppc+target_x86_64+usb+vde+vnc
 (active)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71593>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list