Your message dated Mon, 07 Oct 2024 12:20:26 +0000
with message-id <e1sxmiw-00gknw...@fasolo.debian.org>
and subject line Bug#1084244: fixed in ccls 0.20240505-1
has caused the Debian Bug report #1084244,
regarding ccls: FTBFS: src/clang_tu.cc:32:22: error: ‘class llvm::StringRef’ 
has no member named ‘startswith’
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1084244: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084244
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ccls
Version: 0.20240202-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DCCLS_VERSION=0.20240202-1 
-DCLANG_RESOURCE_DIR=/usr/include/clang/19
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb 
PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None 
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var 
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON 
-DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix 
Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DCCLS_VERSION=0.20240202-1 -DCLANG_RESOURCE_DIR=/usr/include/clang/19 ..
-- The CXX compiler identification is GNU 14.2.0
-- The C compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find zstd (missing: zstd_LIBRARY zstd_INCLUDE_DIR)
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.14")
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- RapidJSON found. Headers: /usr/include
-- Configuring done (0.5s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_RUNSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
        cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install 
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/ccls.dir/build.make CMakeFiles/ccls.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> 
/<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/ccls.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/ccls.dir/build.make CMakeFiles/ccls.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  4%] Building CXX object CMakeFiles/ccls.dir/third_party/siphash.cc.o
[  4%] Building CXX object CMakeFiles/ccls.dir/src/clang_tu.cc.o
/usr/bin/c++  -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/third_party -isystem 
/usr/lib/llvm-19/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/third_party/siphash.cc.o -MF 
CMakeFiles/ccls.dir/third_party/siphash.cc.o.d -o CMakeFiles/ccls.dir/third_party/siphash.cc.o -c 
/<<PKGBUILDDIR>>/third_party/siphash.cc
/usr/bin/c++  -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/third_party -isystem 
/usr/lib/llvm-19/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/clang_tu.cc.o -MF 
CMakeFiles/ccls.dir/src/clang_tu.cc.o.d -o CMakeFiles/ccls.dir/src/clang_tu.cc.o -c /<<PKGBUILDDIR>>/src/clang_tu.cc
[  6%] Building CXX object CMakeFiles/ccls.dir/src/config.cc.o
/usr/bin/c++  -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/third_party -isystem 
/usr/lib/llvm-19/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/config.cc.o -MF 
CMakeFiles/ccls.dir/src/config.cc.o.d -o CMakeFiles/ccls.dir/src/config.cc.o -c /<<PKGBUILDDIR>>/src/config.cc
[  9%] Building CXX object CMakeFiles/ccls.dir/src/filesystem.cc.o
/usr/bin/c++  -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/third_party -isystem 
/usr/lib/llvm-19/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/filesystem.cc.o -MF 
CMakeFiles/ccls.dir/src/filesystem.cc.o.d -o CMakeFiles/ccls.dir/src/filesystem.cc.o -c 
/<<PKGBUILDDIR>>/src/filesystem.cc
[ 11%] Building CXX object CMakeFiles/ccls.dir/src/fuzzy_match.cc.o
/usr/bin/c++  -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/third_party -isystem 
/usr/lib/llvm-19/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/fuzzy_match.cc.o -MF 
CMakeFiles/ccls.dir/src/fuzzy_match.cc.o.d -o CMakeFiles/ccls.dir/src/fuzzy_match.cc.o -c 
/<<PKGBUILDDIR>>/src/fuzzy_match.cc
[ 13%] Building CXX object CMakeFiles/ccls.dir/src/main.cc.o
/usr/bin/c++  -DCCLS_VERSION=\"0.20240202-1\" -I/<<PKGBUILDDIR>>/src -isystem 
/<<PKGBUILDDIR>>/third_party -isystem /usr/lib/llvm-19/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-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/main.cc.o -MF 
CMakeFiles/ccls.dir/src/main.cc.o.d -o CMakeFiles/ccls.dir/src/main.cc.o -c /<<PKGBUILDDIR>>/src/main.cc
/<<PKGBUILDDIR>>/src/clang_tu.cc: In function ‘std::string 
ccls::pathFromFileEntry(clang::FileEntryRef)’:
/<<PKGBUILDDIR>>/src/clang_tu.cc:32:22: error: ‘class llvm::StringRef’ has no 
member named ‘startswith’; did you mean ‘starts_with’?
   32 |   if (file.getName().startswith("/../")) {
      |                      ^~~~~~~~~~
      |                      starts_with
/<<PKGBUILDDIR>>/src/clang_tu.cc: In function ‘const char* 
ccls::clangBuiltinTypeName(int)’:
/<<PKGBUILDDIR>>/src/clang_tu.cc:340:21: error: ‘OMPArraySection’ is not a 
member of ‘clang::BuiltinType’
  340 |   case BuiltinType::OMPArraySection:
      |                     ^~~~~~~~~~~~~~~
[ 16%] Building CXX object CMakeFiles/ccls.dir/src/include_complete.cc.o
/usr/bin/c++  -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/third_party -isystem 
/usr/lib/llvm-19/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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/include_complete.cc.o -MF 
CMakeFiles/ccls.dir/src/include_complete.cc.o.d -o CMakeFiles/ccls.dir/src/include_complete.cc.o -c 
/<<PKGBUILDDIR>>/src/include_complete.cc
make[3]: *** [CMakeFiles/ccls.dir/build.make:93: 
CMakeFiles/ccls.dir/src/clang_tu.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/src/include_complete.cc: In lambda function:
/<<PKGBUILDDIR>>/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
/<<PKGBUILDDIR>>/src/include_complete.cc: In member function ‘void 
ccls::IncludeComplete::addFile(const std::string&)’:
/<<PKGBUILDDIR>>/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
make[3]: *** [CMakeFiles/ccls.dir/build.make:163: 
CMakeFiles/ccls.dir/src/include_complete.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:93: CMakeFiles/ccls.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: ccls
Source-Version: 0.20240505-1
Done: Shengjing Zhu <z...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ccls, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1084...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Shengjing Zhu <z...@debian.org> (supplier of updated ccls package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 07 Oct 2024 18:54:26 +0800
Source: ccls
Architecture: source
Version: 0.20240505-1
Distribution: unstable
Urgency: medium
Maintainer: Shengjing Zhu <z...@debian.org>
Changed-By: Shengjing Zhu <z...@debian.org>
Closes: 1084244
Changes:
 ccls (0.20240505-1) unstable; urgency=medium
 .
   * New upstream release 0.20240505
     + Supports LLVM-19 (Closes: #1084244)
Checksums-Sha1:
 f0ac1d1f898170e785c7a847b8b6077b0803908e 1583 ccls_0.20240505-1.dsc
 360ab94180f8f2b1e843f1189f7b654b071a2bd5 162423 ccls_0.20240505.orig.tar.gz
 95b91df3a3ffa66f653701eca3454cb5db38e253 8220 ccls_0.20240505-1.debian.tar.xz
 40c2d2d22612cb41fd056136ef244a2f16218256 8273 ccls_0.20240505-1_amd64.buildinfo
Checksums-Sha256:
 8144ba6253dbc00047ca96770341fe66fe483e16557f1ec69ce7256591c87886 1583 
ccls_0.20240505-1.dsc
 5e3f53452a4aa6a867a346485674297cde033699b2ebc5347d256e83d631548c 162423 
ccls_0.20240505.orig.tar.gz
 c15234480d5da7cf1069735cbf1be37e5b77bf9f8eb862868ccb37097dd8290d 8220 
ccls_0.20240505-1.debian.tar.xz
 17cc72fdf038cc11bf2202f3b64dfcdce071ce7c338af83eb6dfcf393ba40337 8273 
ccls_0.20240505-1_amd64.buildinfo
Files:
 595afd9e42ceba45695df4653a221104 1583 devel optional ccls_0.20240505-1.dsc
 3362f17d309d28d4fecaf01b903c1b25 162423 devel optional 
ccls_0.20240505.orig.tar.gz
 0fa3aec8bad0375c7cde48f86b7ea152 8220 devel optional 
ccls_0.20240505-1.debian.tar.xz
 9a360b4e06fd0921c98770f216f39f3f 8273 devel optional 
ccls_0.20240505-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEc793ixFTU9Vien7Zh7Iv85yjO70FAmcDwBMACgkQh7Iv85yj
O70kjQf6Ajd6pLgXLKIYiWjBY+dvDNmdYu2nZcjseXvIFSMeCJQgEiqOnJTMH/ck
hMyG5bp7QkbZFQQQz9MkisBpOlSvSBcEbxMQ8oSayO7AMCeFfdRS1d3UE+WOvEap
naZo4AurZ7hnq2aPZxjHEhgWyKmf8Elt6RBbKsAyf+UPmMDRMhlmECiuHkppWgIK
+ePfVhcLlL3sp54iuh/Gksm3ptmw19OVEsi5IkFRQwbmWWhqkBwpxI/MpZS+ncQb
LT6tAPDI8m/PTlCeXJQlPHdHozn9eR3CFQKhnCWlSAoQt28B8nbEfmRJEnb0qi9K
j6zhNvHDAGXQAfAafwfs0MI8bkne/w==
=VQBG
-----END PGP SIGNATURE-----

Attachment: pgpCQSZ0paa0h.pgp
Description: PGP signature


--- End Message ---

Reply via email to