Package: python3-lldb-15
Version: 1:15.0.6-4
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package ships (or creates)
broken symlinks:

0m35.3s ERROR: FAIL: Broken symlinks:
  
/usr/lib/llvm-15/lib/python3.11/dist-packages/lldb/_lldb.cpython-311-x86_64-linux-gnu.so
 -> ../../../../../lib/liblldb.so (python3-lldb-15)
  /usr/lib/llvm-15/lib/python3.11/dist-packages/lldb/lldb-argdumper -> 
../../../../../bin/lldb-argdumper (python3-lldb-15)
  /usr/lib/llvm-15/lib/python3/dist-packages/lldb/libLLVM-15.0.6.so.1 -> 
../../../../../x86_64-linux-gnu/libLLVM-15.0.6.so.1 (python3-lldb-15)
  /usr/lib/llvm-15/lib/python3/dist-packages/lldb/libLLVM-15.so.1 -> 
../../../../../x86_64-linux-gnu/libLLVM-15.0.6.so.1 (python3-lldb-15)

lldb-argdumper has one level of '..' too much, otherwise it could be
found.
The correct target for libLLVM-15.0.6.so.1 would be
/usr/lib/<triplet>/libLLVM-15.so.1
and _lldb.cpython-311-<triplet>.so should be linked to
/usr/lib/llvm-15/lib/python3/dist-packages/lldb/_lldb.so or
/usr/lib/<triplet>/liblldb-15.so.1

cheers,

Andreas

Reply via email to