FS#77099 - [clang13] Clang13 should also add libclang.so.13

Attached to Project: Arch Linux
Opened by Josh (joshtau) - Thursday, 12 January 2023, 09:34 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 12 January 2023, 13:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Clang13 does this:
```
mv "$pkgdir"/usr/lib/{llvm13/lib/,}libclang-cpp.so.13
ln -s ../../libclang-cpp.so.13 "$pkgdir/usr/lib/llvm13/lib/libclang-cpp.so.13"
```

It should also move libclang.so.13, so programs that rely on it won't error, such as bpftrace (https://archlinux.org/packages/community/x86_64/bpftrace/).

Additional info:
* package version(s) clang13 13.0.1-4
* config and/or log files etc.: bpftrace: error while loading shared libraries: libclang.so.13: cannot open shared object file: No such file or directory

Steps to reproduce:
1. Install clang13
2. Install bpftrace
3. Try and run bpftrace
```
bpftrace: error while loading shared libraries: libclang.so.13: cannot open shared object file: No such file or directory
```

Building and copying in the libclang.so.13 from clang13 works fine when using the makepkg.
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 12 January 2023, 13:25 GMT
Reason for closing:  Not a bug
Additional comments about closing:  libclang.so.13 is provided by the clang package, which is in the depencency chain of bpftrace

Loading...