Description
Previous ID | SR-12394 |
Radar | rdar://problem/60832864 |
Original Reporter | @buttaface |
Type | Bug |
Status | Resolved |
Resolution | Done |
Environment
Arch Linux x86_64, kernel 5.5.4-arch1-1
Additional Detail from JIRA
Votes | 0 |
Component/s | Foundation |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: d68017bba292055ec763fd88bfafbf07
Issue Description:
Here are my results from running plutil from a recent official 5.2 snapshot for Ubuntu, which is reproducible with the trunk snapshot too:
> ./swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-19-a-ubuntu18.04/usr/bin/plutil -help
./swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-19-a-ubuntu18.04/usr/bin/plutil: error while loading shared libraries: libicuucswift.so.65: cannot open shared object file: No such file or directory
> readelf -d swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-19-a-ubuntu18.04/usr/bin/plutil | ag runpath
0x000000000000001d (RUNPATH) Library runpath: [/home/buildnode/jenkins/workspace/oss-swift-5.2-package-linux-ubuntu-18_04/build/buildbot_linux/swift-linux-x86_64/lib/swift/linux]
> LD_LIBRARY_PATH=./swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-19-a-ubuntu18.04/usr/lib/swift/linux ./swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-19-a-ubuntu18.04/usr/bin/plutil -help
plutil: [command_option] [other_options] file...
The file '-' means stdin
Command options are (-lint is the default):
-help show this message and exit
...
I'm fairly certain that this RPATH pull broke it, as that relative RPATH isn't there in plutil anymore. However, I don't know what magic combination of symbols to use to escape the $ sign in $ORIGIN, as it keeps screwing with the RPATH when I tried reverting, as I noted in a comment on that pull.