Open
Description
Description
utils/build-script --release-debuginfo
on Ubuntu 24.04 with Swift installed with swiftly
fails with error:
ninja: error: '/root/.local/share/swiftly/lib/swift/linux/x86_64/swiftrt.o', needed by 'lib/libswiftDemangle.so', missing and
no known rule to make it
swiftrt.o
is there, but not at the place build-script
is looking for it:
find /root/.local/share/swiftly/ -type f -name swiftrt.o
/root/.local/share/swiftly/toolchains/6.1.2/usr/lib/swift/linux/x86_64/swiftrt.o
/root/.local/share/swiftly/toolchains/6.1.2/usr/lib/swift_static/linux/x86_64/swiftrt.o
Reproduction
- make Ubuntu 24.04 e.g. on Digital ocean
- install swiftly
- clone swift
- run cloning script
- launch
utils/build-script --release-debuginfo
Expected behavior
If swiftly now is recommended way of installing Swift, build-script
should be able to build Swift with it.
Environment
swiftc --version
Swift version 6.1.2 (swift-6.1.2-RELEASE)
Target: x86_64-unknown-linux-gnu
Additional information
No response