<div dir="ltr"><div>Dear Maintainer,</div><div><br></div><div>Seems that the broken symbolic links mentioned above have been fixed<code> in </code><b>1:18.1.8-4</b>, so please close this issue (#1075931). Thanks for the attention.<br></div><div><br></div><div><br></div><div>Install llvm-toochain-18 packages ( 1:18.1.8-4 ) in an AMD64 schroot:</div><div><br></div><div># apt-get -V --auto-remove --purge --no-install-recommends install bolt-18 clang-18 clangd-18 clang-format-18 clang-tidy-18 clang-tools-18 flang-18 libbolt-18-dev libc++1-18 libc++-18-dev libc++abi1-18 libc++abi-18-dev libclang1-18 libclang-18-dev libclang-common-18-dev libclang-cpp18 libclang-cpp18-dev libclang-rt-18-dev libflang-18-dev libfuzzer-18-dev liblld-18 liblld-18-dev liblldb-18 liblldb-18-dev libllvm18 libllvm-18-ocaml-dev libllvmlibc-18-dev libmlir-18 libmlir-18-dev libomp-18-dev libomp5-18 libpolly-18-dev libunwind-18 libunwind-18-dev lld-18 lldb-18 llvm-18 llvm-18-dev llvm-18-linker-tools llvm-18-runtime llvm-18-tools mlir-18-tools python3-clang-18 python3-lldb-18</div><div>...........<br></div><div>...........</div><div><br></div><div><br></div><div>$ find -L /usr -type l<br>find: '/usr/lib/ssl/private': Permission denied<br>find: File system loop detected; '/usr/lib/llvm-18/build/Debug+Asserts' is part of the same file system loop as '/usr/lib/llvm-18'.<br>find: File system loop detected; '/usr/lib/llvm-18/build/Release' is part of the same file system loop as '/usr/lib/llvm-18'.</div><div><br></div><div>or</div><div><br></div><div>$ find /usr -xtype l</div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">liuxiangyu <<a href="mailto:u122334@gmail.com" target="_blank">u122334@gmail.com</a>> 于2024年7月8日周一 09:09写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Source: llvm-toolchain-18<br>
Version: 1:18.1.8-2~exp2<br>
Severity: important<br>
X-Debbugs-Cc: <a href="mailto:u122334@gmail.com" target="_blank">u122334@gmail.com</a><br>
<br>
Dear Maintainer,<br>
<br>
Some of broken symbolic links are found in full installation of llvm-toolchain-18, in a sid + experimental schroot for amd64.<br>
<br>
(In sid + experimental schroot for x86_64)<br>
# apt-get -V -t experimental --auto-remove --purge --no-install-recommends install bolt-18 clang-18 clang-18-doc clang-18-examples clangd-18 clang-format-18 clang-tidy-18 clang-tools-18 flang-18 libbolt-18-dev libc++1-18 libc++-18-dev libc++-18-dev-wasm32 libc++abi1-18 libc++abi-18-dev libc++abi-18-dev-wasm32 libclang1-18 libclang-18-dev libclang-common-18-dev libclang-cpp18 libclang-cpp18-dev libclang-rt-18-dev libclang-rt-18-dev-wasm32 libclang-rt-18-dev-wasm64 libclc-18 libclc-18-dev libflang-18-dev libfuzzer-18-dev liblld-18 liblld-18-dev liblldb-18 liblldb-18-dev libllvm18 libllvm-18-ocaml-dev libllvmlibc-18-dev libmlir-18 libmlir-18-dev libomp-18-dev libomp-18-doc libomp5-18 libpolly-18-dev libunwind-18 libunwind-18-dev lld-18 lldb-18 llvm-18 llvm-18-dev llvm-18-doc llvm-18-examples llvm-18-linker-tools llvm-18-runtime llvm-18-tools mlir-18-tools python3-clang-18 python3-lldb-18<br>
........<br>
........<br>
<br>
$ find -L /usr -type l<br>
/usr/lib/x86_64-linux-gnu/libc++.a<br>
/usr/lib/x86_64-linux-gnu/libc++experimental.a<br>
/usr/lib/x86_64-linux-gnu/libc++abi.so<br>
/usr/lib/x86_64-linux-gnu/libc++.so<br>
find: ‘/usr/lib/ssl/private’: Permission denied<br>
/usr/lib/python3/dist-packages/lldb/libLLVM-18.1.8.so.1<br>
/usr/lib/python3/dist-packages/lldb/libLLVM-18.so.1<br>
find: File system loop detected; ‘/usr/lib/llvm-18/build/Debug+Asserts’ is part of the same file system loop as ‘/usr/lib/llvm-18’.<br>
find: File system loop detected; ‘/usr/lib/llvm-18/build/Release’ is part of the same file system loop as ‘/usr/lib/llvm-18’.<br>
/usr/lib/llvm-18/build/lib/python3/dist-packages/lldb/libLLVM-18.1.8.so.1<br>
/usr/lib/llvm-18/build/lib/python3/dist-packages/lldb/libLLVM-18.so.1<br>
/usr/lib/llvm-18/lib/python3/dist-packages/lldb/libLLVM-18.1.8.so.1<br>
/usr/lib/llvm-18/lib/python3/dist-packages/lldb/libLLVM-18.so.1<br>
<br>
<br>
or<br>
<br>
$ find /usr -xtype l<br>
/usr/lib/x86_64-linux-gnu/libc++.a<br>
/usr/lib/x86_64-linux-gnu/libc++experimental.a<br>
/usr/lib/x86_64-linux-gnu/libc++abi.so<br>
/usr/lib/x86_64-linux-gnu/libc++.so<br>
/usr/lib/llvm-18/lib/python3/dist-packages/lldb/libLLVM-18.1.8.so.1<br>
/usr/lib/llvm-18/lib/python3/dist-packages/lldb/libLLVM-18.so.1<br>
<br>
<br>
Seems that the links in libc++<a href="http://abi-X.Y-dev.links.in" rel="noreferrer" target="_blank">abi-X.Y-dev.links.in</a>, libc++-<a href="http://X.Y-dev.links.in" rel="noreferrer" target="_blank">X.Y-dev.links.in</a> and <a href="http://python3-lldb-X.Y.links.in" rel="noreferrer" target="_blank">python3-lldb-X.Y.links.in</a> are not pointing to the correct targets after closing #1067699, #1067005.<br>
<br>
There should be some updates for <a href="http://links.in" rel="noreferrer" target="_blank">links.in</a> files above.<br>
<br>
diff -Narup a/libc++<a href="http://abi-X.Y-dev.links.in" rel="noreferrer" target="_blank">abi-X.Y-dev.links.in</a> b/libc++<a href="http://abi-X.Y-dev.links.in" rel="noreferrer" target="_blank">abi-X.Y-dev.links.in</a><br>
--- a/libc++<a href="http://abi-X.Y-dev.links.in" rel="noreferrer" target="_blank">abi-X.Y-dev.links.in</a> 2024-07-07 06:39:39.000000000 +0800<br>
+++ b/libc++<a href="http://abi-X.Y-dev.links.in" rel="noreferrer" target="_blank">abi-X.Y-dev.links.in</a> 2024-07-07 17:40:02.800193502 +0800<br>
@@ -1 +1 @@<br>
-usr/lib/llvm-@LLVM_VERSION@/lib/libc++abi.so /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so<br>
+usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libc++abi.so /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so<br>
diff -Narup a/libc++-<a href="http://X.Y-dev.links.in" rel="noreferrer" target="_blank">X.Y-dev.links.in</a> b/libc++-<a href="http://X.Y-dev.links.in" rel="noreferrer" target="_blank">X.Y-dev.links.in</a><br>
--- a/libc++-<a href="http://X.Y-dev.links.in" rel="noreferrer" target="_blank">X.Y-dev.links.in</a> 2024-07-07 06:39:39.000000000 +0800<br>
+++ b/libc++-<a href="http://X.Y-dev.links.in" rel="noreferrer" target="_blank">X.Y-dev.links.in</a> 2024-07-07 17:41:27.170194537 +0800<br>
@@ -1,4 +1,4 @@<br>
-usr/lib/llvm-@LLVM_VERSION@/lib/libc++.so /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so<br>
-usr/lib/llvm-@LLVM_VERSION@/lib/libc++.a /usr/lib/@DEB_HOST_MULTIARCH@/libc++.a<br>
+usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libc++.so /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so<br>
+usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libc++.a /usr/lib/@DEB_HOST_MULTIARCH@/libc++.a<br>
usr/lib/llvm-@LLVM_VERSION@/include/c++/v1 /usr/include/c++/v1<br>
-usr/lib/llvm-@LLVM_VERSION@/lib/libc++experimental.a /usr/lib/@DEB_HOST_MULTIARCH@/libc++experimental.a<br>
+usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libc++experimental.a /usr/lib/@DEB_HOST_MULTIARCH@/libc++experimental.a<br>
diff -Narup a/<a href="http://python3-lldb-X.Y.links.in" rel="noreferrer" target="_blank">python3-lldb-X.Y.links.in</a> b/<a href="http://python3-lldb-X.Y.links.in" rel="noreferrer" target="_blank">python3-lldb-X.Y.links.in</a><br>
--- a/<a href="http://python3-lldb-X.Y.links.in" rel="noreferrer" target="_blank">python3-lldb-X.Y.links.in</a> 2024-07-07 06:39:39.000000000 +0800<br>
+++ b/<a href="http://python3-lldb-X.Y.links.in" rel="noreferrer" target="_blank">python3-lldb-X.Y.links.in</a> 2024-07-07 17:47:19.620198858 +0800<br>
@@ -1,4 +1,4 @@<br>
-usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION_FULL@.so.1 usr/lib/llvm-@LLVM_VERSION@/lib/python3/dist-packages/lldb/libLLVM-@LLVM_VERSION_FULL@.so.1<br>
-usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION_FULL@.so.1 usr/lib/llvm-@LLVM_VERSION@/lib/python3/dist-packages/lldb/libLLVM-@LLVM_VERSION@.so.1<br>
+usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1 usr/lib/llvm-@LLVM_VERSION@/lib/python3/dist-packages/lldb/libLLVM-@LLVM_VERSION_FULL@.so.1<br>
+usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1 usr/lib/llvm-@LLVM_VERSION@/lib/python3/dist-packages/lldb/libLLVM-@LLVM_VERSION@.so.1<br>
usr/lib/@DEB_HOST_MULTIARCH@/liblldb-@LLVM_VERSION@.so.1 usr/lib/llvm-@LLVM_VERSION@/lib/python3/dist-packages/lldb/_lldb.so<br>
usr/lib/llvm-@LLVM_VERSION@/lib/python3/dist-packages/lldb/ usr/lib/python3/dist-packages/lldb<br>
<br>
<br>
<br>
<br>
-- System Information:<br>
Debian Release: 12.6<br>
APT prefers stable-updates<br>
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 6.6.35-02.custom.lfsdefaulthuge-sign (SMP w/8 CPU threads)<br>
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set<br>
Shell: /bin/sh linked to /usr/bin/bash<br>
Init: systemd (via /run/systemd/system)<br>
LSM: AppArmor: enabled<br>
</blockquote></div></div>