Public bug reported:
This error occurs for llvm-toolchain-20 on amd64 systems
228s Selecting previously unselected package libclang-rt-20-dev-win.
228s Preparing to unpack
.../082-libclang-rt-20-dev-win_1%3a20.1.8-2ubuntu8+lp21469181.2_all.deb ...
228s Unpacking libclang-rt-20-dev-win (1:20.1.8-2ubuntu8+lp21469181.2) ...
228s dpkg: error processing archive
/tmp/apt-dpkg-install-BKAQZu/082-libclang-rt-20-dev-win_1%3a20.1.8-2ubuntu8+lp21469181.2_all.deb
(--unpack):
228s trying to overwrite
'/usr/lib/llvm-20/lib/clang/20/lib/windows/libclang_rt.builtins-aarch64.a',
which is also in package libclang-rt-20-dev (1:20.1.8-2ubuntu8+lp21469181.2)
228s dmesg: read kernel buffer failed: Operation not permitted
228s dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
* Fixing this error requires modifying the install files so that some
files are not included in both the clang-rt-dev and clang-rt-dev-win.
The fix should also be pushed to Debian.
diff --git a/debian/libclang-rt-X.Y-dev.install.in
b/debian/libclang-rt-X.Y-dev.install.in
index 9a6586784..dfee75fd9 100755
--- a/debian/libclang-rt-X.Y-dev.install.in
+++ b/debian/libclang-rt-X.Y-dev.install.in
@@ -2,7 +2,8 @@
@LLVM_DIR@/lib/clang/@LLVM_VERSION@*/share/*.txt
@LLVM_DIR@/lib/clang/@LLVM_VERSION@*/include/sanitizer/
-@LLVM_DIR@/lib/clang/@LLVM_VERSION@*/lib/*/*clang_rt*
+[linux-any] @LLVM_DIR@/lib/clang/@LLVM_VERSION@*/lib/linux/*clang_rt*
+[hurd-any] @LLVM_DIR@/lib/clang/@LLVM_VERSION@*/lib/gnu/*clang_rt*
@LLVM_DIR@/lib/clang/@LLVM_VERSION@*/README.txt
@LLVM_DIR@/lib/clang/@LLVM_VERSION@*/include/fuzzer/
@LLVM_DIR@/lib/clang/@LLVM_VERSION@*/include/orc/c_api.h
** Affects: llvm-toolchain-20 (Ubuntu)
Importance: Undecided
Assignee: Karl Smeltzer (karljs)
Status: In Progress
** Affects: llvm-toolchain-20 (Ubuntu Stonking)
Importance: Undecided
Assignee: Karl Smeltzer (karljs)
Status: In Progress
** Tags: foundations-todo
** Also affects: llvm-toolchain-20 (Ubuntu Stonking)
Importance: Undecided
Status: New
** Changed in: llvm-toolchain-20 (Ubuntu Stonking)
Assignee: (unassigned) => Karl Smeltzer (karljs)
** Changed in: llvm-toolchain-20 (Ubuntu Stonking)
Status: New => In Progress
** Changed in: llvm-toolchain-20 (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171029
Title:
autopkgtests dpkg: error processing archive for libclang-rt
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-20/+bug/2171029/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs