Skip to content

utils/build-script --release-debuginfo on Ubuntu 24.04 with Swift installed with swiftly fails #82252

Open
@valeriyvan

Description

@valeriyvan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions