Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson setup crashes with --backend=xcode #14032

Open
seishun opened this issue Dec 20, 2024 · 0 comments
Open

meson setup crashes with --backend=xcode #14032

seishun opened this issue Dec 20, 2024 · 0 comments

Comments

@seishun
Copy link

seishun commented Dec 20, 2024

Describe the bug
Configuring a build directory with the Xcode backend for this particular project crashes Meson with the following output:

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/mesonbuild/mesonmain.py", line 193, in run
    return options.run_func(options)
           ~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/mesonbuild/msetup.py", line 365, in run
    app.generate()
    ~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/mesonbuild/msetup.py", line 188, in generate
    return self._generate(env, capture, vslite_ctx)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/mesonbuild/msetup.py", line 253, in _generate
    captured_compile_args = intr.backend.generate(capture, vslite_ctx)
  File "/usr/local/lib/python3.13/site-packages/mesonbuild/backend/xcodebackend.py", line 329, in generate
    self.generate_target_dependency_map()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/mesonbuild/backend/xcodebackend.py", line 544, in generate_target_dependency_map
    assert k not in self.target_dependency_map
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

ERROR: Unhandled python exception

    This is a Meson bug and should be reported!

To Reproduce

  1. Check out https://github.com/TypesettingTools/Aegisub.git at v3.4.0
  2. Run meson setup build-xcode --backend=xcode

Expected behavior
No crash.

system parameters

  • macOS Sonoma
  • Python 3.13.1
  • meson 1.6.1 and HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants