Bug#1004923: autopkgtest failure due to removed libRemoteIndex*.a
    Sergio Durigan Junior 
    sergiodj at debian.org
       
    Thu Feb  3 16:54:15 GMT 2022
    
    
  
Source: llvm-toolchain-12
Version: 1:12.0.1-19
Severity: serious
Hi,
The following commit:
https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/commit/87ee3c332f9b0736064a588bdf974bbda0288d58
is causing an autopkgtest failure because the build system still
requires the libraries libRemoteIndex{ServiceProto,Proto}.a to exist
when running the command1 unittest, as can be seen in the logs:
--8<---------------cut here---------------start------------->8---
# "Test: CMake find LLVM and Clang in default path"
(cd cmaketest/standard && CC=clang-$VERSION CXX=clang++-$VERSION cmake .. > /dev/null)
CMake Error at /usr/lib/llvm-12/lib/cmake/clang/ClangTargets.cmake:720 (message):
  The imported target "RemoteIndexProto" references the file
     "/usr/lib/llvm-12/lib/libRemoteIndexProto.a"
  but this file does not exist.  Possible reasons include:
  * The file was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and contained
     "/usr/lib/llvm-12/lib/cmake/clang/ClangTargets.cmake"
  but not all the files it references.
Call Stack (most recent call first):
  /usr/lib/cmake/clang-12/ClangConfig.cmake:20 (include)
  CMakeLists.txt:9 (find_package)
autopkgtest [16:06:06]: test command1: -----------------------]
autopkgtest [16:06:06]: test command1:  - - - - - - - - - - results - - - - - - - - - -
command1             FAIL non-zero exit status 1
--8<---------------cut here---------------end--------------->8---
I don't know the details regarding why these libraries are being removed
(according to the comment on d/rules, it's just because they're unused),
so maybe the solution here is to just revert the change.
Thanks,
-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20220203/7469b39f/attachment.sig>
    
    
More information about the Pkg-llvm-team
mailing list