qemu-ios icon indicating copy to clipboard operation
qemu-ios copied to clipboard

Error running ../configure on macOS Ventura

Open TylerJaacks opened this issue 2 years ago • 9 comments
trafficstars

../configure

Program scripts/minikconf.py found: YES (/usr/local/opt/[email protected]/bin/python3.11 /Users/tylerjaacks/Desktop/qemu/scripts/minikconf.py)
Configuring aarch64-softmmu-config-target.h using configuration
Configuring aarch64-softmmu-config-devices.mak with command
Reading depfile: /Users/tylerjaacks/Desktop/qemu/build/meson-private/aarch64-softmmu-config-devices.mak.d
Configuring aarch64-softmmu-config-devices.h using configuration
Configuring alpha-softmmu-config-target.h using configuration
Configuring alpha-softmmu-config-devices.mak with command

../meson.build:1984:4: ERROR: Command "/usr/local/opt/[email protected]/bin/python3.11 /Users/tylerjaacks/Desktop/qemu/scripts/minikconf.py --defconfig alpha-softmmu-config-devices.mak /Users/tylerjaacks/Desktop/qemu/build/meson-private/alpha-softmmu-config-devices.mak.d /Users/tylerjaacks/Desktop/qemu/configs/devices/alpha-softmmu/default.mak /Users/tylerjaacks/Desktop/qemu/Kconfig CONFIG_TPM=y CONFIG_TCG=y CONFIG_ALPHA=y" failed with status 1.

A full log can be found at /Users/tylerjaacks/Desktop/qemu/build/meson-logs/meson-log.txt
python minikconf.py --defconfig alpha-softmmu-config-devices.mak /Users/tylerjaacks/Desktop/qemu/build/meson-private/alpha-softmmu-config-devices.mak.d /Users/tylerjaacks/Desktop/qemu/configs/devices/alpha-softmmu/default.mak /Users/tylerjaacks/Desktop/qemu/Kconfig CONFIG_TPM=y CONFIG_TCG=y CONFIG_ALPHA=y
Traceback (most recent call last):
  File "/Users/tylerjaacks/Desktop/qemu/scripts/minikconf.py", line 703, in <module>
    config = data.compute_config()
  File "/Users/tylerjaacks/Desktop/qemu/scripts/minikconf.py", line 253, in compute_config
    clause.process()
  File "/Users/tylerjaacks/Desktop/qemu/scripts/minikconf.py", line 199, in process
    if self.cond.evaluate():
  File "/Users/tylerjaacks/Desktop/qemu/scripts/minikconf.py", line 135, in evaluate
    raise KconfigDataError('cycle found including %s' % self)
__main__.KconfigDataError: cycle found including IPOD_TOUCH

TylerJaacks avatar Dec 31 '22 04:12 TylerJaacks

Similiar issue on Linux Arch, ive yet to determine the more exact cause. often I find these problems on Arch due to using the latest (and greatest) tools, (arch being rolling release). maybe a slightly older compiler toolset may help. this isnt ment as an answer, but I hope to figure out how to compile this specific fork of qemu aswell (the normal unmodified version compiled?!?)

CodeAsm avatar Dec 31 '22 12:12 CodeAsm

I get this same error when trying to compile this program on Windows via MSYS2.

TylerJaacks avatar Jan 09 '23 00:01 TylerJaacks

I have the following Error when I try to configure qemu with macOS Monterey 12.6.6

ERROR: Cannot find Ninja

RemoPro avatar May 20 '23 19:05 RemoPro

@RemoPro It looks like you don't have ninja installed. Does brew install ninja resolve the issue?

devos50 avatar May 21 '23 19:05 devos50

@RemoPro It looks like you don't have ninja installed. Does brew install ninja resolve the issue?

I try it now with Ventura 13.3.1. For what's is ninja?

RemoPro avatar May 21 '23 19:05 RemoPro

Now it says the following. Why didn't you prebuild the binary?:

ERROR: "cc" cannot build an executable (is your linker broken?)

RemoPro avatar May 21 '23 19:05 RemoPro

@RemoPro It looks like you don't have ninja installed. Does brew install ninja resolve the issue?

no, I installed ninja, but have the same error!

iOSPrincekin avatar Jul 01 '23 08:07 iOSPrincekin

Now it says the following. Why didn't you prebuild the binary?:

ERROR: "cc" cannot build an executable (is your linker broken?)

I have the same issue as you. And I just can't find a fix... @RemoPro

LukasMFR avatar Dec 06 '23 18:12 LukasMFR

make sure you followed this for MAC OS x86 https://github.com/devos50/qemu-ios/issues/135#issuecomment-1914756808

MrDiagnose avatar Jan 30 '24 15:01 MrDiagnose