devos50 / qemu-ios

A QEMU emulator for legacy Apple devices
Other
981 stars 64 forks source link

Error running ../configure on macOS Ventura #14

Open TylerJaacks opened 1 year ago

TylerJaacks commented 1 year ago

../configure

Program scripts/minikconf.py found: YES (/usr/local/opt/python@3.11/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/python@3.11/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
CodeAsm commented 1 year ago

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?!?)

TylerJaacks commented 1 year ago

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

RemoPro commented 1 year ago

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

ERROR: Cannot find Ninja

devos50 commented 1 year ago

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

RemoPro commented 1 year ago

@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 commented 1 year ago

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

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

iOSPrincekin commented 1 year ago

@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!

LukasMFR commented 11 months ago

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

MrDiagnose commented 9 months ago

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