Source: ccls
Severity: important

Dear Maintainer,

We upgraded llvm-defaults to version 19.
Your package fails with:
/usr/bin/c++  -I/build/ccls-0.20220729/src -isystem 
/build/ccls-0.20220729/third_party -isystem /usr/lib/llvm-19/include -g -O2 
-ffile-prefix\
-map=/build/ccls-0.20220729=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -Wdate-time \
-D_FORTIFY_SOURCE=2 -std=c++17 -Wall -Wno-sign-compare -Wno-return-type 
-Wno-unused-result -MD -MT CMakeFiles/ccls.dir/src/lsp.cc.o -MF CMake\
Files/ccls.dir/src/lsp.cc.o.d -o CMakeFiles/ccls.dir/src/lsp.cc.o -c 
/build/ccls-0.20220729/src/lsp.cc
/build/ccls-0.20220729/src/clang_tu.cc:16:10: fatal error: llvm/Support/Host.h: 
No such file or directory
   16 | #include <llvm/Support/Host.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/ccls.dir/build.make:93: 
CMakeFiles/ccls.dir/src/clang_tu.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/build/ccls-0.20220729/src/include_complete.cc: In lambda function:
/build/ccls-0.20220729/src/include_complete.cc:117:37: error: 'class 
llvm::StringRef' has no member named 'endswith'; did you mean 'ends_with\
'?
  117 |                 if (StringRef(path).endswith(suffix))
      |                                     ^~~~~~~~
      |                                     ends_with
/build/ccls-0.20220729/src/include_complete.cc: In member function 'void 
ccls::IncludeComplete::addFile(const std::string&)':
/build/ccls-0.20220729/src/include_complete.cc:158:25: error: 'class 
llvm::StringRef' has no member named 'endswith'; did you mean 'ends_with\
'?
  158 |     if (StringRef(path).endswith(suffix))
      |                         ^~~~~~~~
      |                         ends_with

Could you please have a look?
Thanks
Sylvestre



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (500, 'oldstable'), (300, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.9-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to