Closed strager closed 8 months ago
After working around the above issue, we get another issue:
[163/325] Generating quick-lint-js-licenses.txt
FAILED: src/quick-lint-js-licenses.txt /Users/iwarilama/Desktop/Code/dump/quick-lint-js/build/src/quick-lint-js-licenses.txt
cd /Users/iwarilama/Desktop/Code/dump/quick-lint-js/build/src && /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 /Users/iwarilama/Desktop/Code/dump/quick-lint-js/cmake/../tools/collect-copyright --build-directory /Users/iwarilama/Desktop/Code/dump/quick-lint-js/build --linkmap /Users/iwarilama/Desktop/Code/dump/quick-lint-js/build/src/quick-lint-js.trace >"/Users/iwarilama/Desktop/Code/dump/quick-lint-js/build/src/quick-lint-js-licenses.txt"
Traceback (most recent call last):
File "/Users/iwarilama/Desktop/Code/dump/quick-lint-js/cmake/../tools/collect-copyright", line 1686, in <module>
main()
File "/Users/iwarilama/Desktop/Code/dump/quick-lint-js/cmake/../tools/collect-copyright", line 276, in main
dump_from_linkmap(
File "/Users/iwarilama/Desktop/Code/dump/quick-lint-js/cmake/../tools/collect-copyright", line 308, in dump_from_linkmap
dump_from_projects(
File "/Users/iwarilama/Desktop/Code/dump/quick-lint-js/cmake/../tools/collect-copyright", line 327, in dump_from_projects
raise Exception(f"could not find source for archive: {archive}") from None
Exception: could not find source for archive: src/libquick-lint-js-diagnostic-metadata.a[2]
[165/325] Building CXX object test/CMakeFiles/quick-lint-js-test.dir/cmake_pch_arm64.hxx.pch
ninja: build stopped: subcommand failed.
I can reproduce the bugs if I use Apple's new linker (from Xcode 15.1 specifically).