[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097984: marked as done (tensorpipe: ftbfs with GCC-15)



Your message dated Sat, 13 Sep 2025 21:02:44 +0000
with message-id <E1uxXOO-003vFj-0k@fasolo.debian.org>
and subject line Bug#1097984: fixed in tensorpipe 0.0~git20250815.af0118d-1
has caused the Debian Bug report #1097984,
regarding tensorpipe: ftbfs with GCC-15
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 owner@bugs.debian.org
immediately.)


-- 
1097984: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097984
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:tensorpipe
Version: 0.0~git20220513.bb1473a-5
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/tensorpipe_0.0~git20220513.bb1473a-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
   54 |   void releaseChunk(uint8_t* ptr);
      |                     ^~~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.h:54:21: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
[  9%] Building CXX object tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o
cd "/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu/tensorpipe" && /usr/bin/c++ -Dtensorpipe_EXPORTS -I"/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a" -I"/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu" -I"/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/third_party/libnop/include" -g -O2 -ffile-prefix-map=/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -fPIC -MD -MT tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o -MF CMakeFiles/tensorpipe.dir/common/system.cc.o.d -o CMakeFiles/tensorpipe.dir/common/system.cc.o -c "/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/system.cc"
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:16:21: error: expected constructor, destructor, or type conversion before ‘(’ token
   16 | Allocator::Allocator(uint8_t* data, size_t numChunks, size_t chunkSize)
      |                     ^
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:26:36: error: ‘TAllocCallback’ has not been declared
   26 | void Allocator::alloc(size_t size, TAllocCallback callback) {
      |                                    ^~~~~~~~~~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc: In member function ‘void tensorpipe::Allocator::alloc(size_t, int)’:
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:28:23: error: request for member ‘push_back’ in ‘((tensorpipe::Allocator*)this)->tensorpipe::Allocator::pendingAllocations_’, which is of non-class type ‘int’
   28 |   pendingAllocations_.push_back(std::move(callback));
      |                       ^~~~~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc: In member function ‘void tensorpipe::Allocator::processAllocations()’:
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:45:31: error: request for member ‘empty’ in ‘((tensorpipe::Allocator*)this)->tensorpipe::Allocator::pendingAllocations_’, which is of non-class type ‘int’
   45 |   while (!pendingAllocations_.empty()) {
      |                               ^~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:46:42: error: request for member ‘front’ in ‘((tensorpipe::Allocator*)this)->tensorpipe::Allocator::pendingAllocations_’, which is of non-class type ‘int’
   46 |     auto& callback = pendingAllocations_.front();
      |                                          ^~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:50:7: error: ‘TChunk’ was not declared in this scope
   50 |       TChunk ptr = getAvailableChunk();
      |       ^~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:51:12: error: ‘ptr’ was not declared in this scope
   51 |       if (!ptr) {
      |            ^~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:54:43: error: ‘ptr’ was not declared in this scope
   54 |       callback(Error::kSuccess, std::move(ptr));
      |                                           ^~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:56:25: error: request for member ‘pop_front’ in ‘((tensorpipe::Allocator*)this)->tensorpipe::Allocator::pendingAllocations_’, which is of non-class type ‘int’
   56 |     pendingAllocations_.pop_front();
      |                         ^~~~~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc: At global scope:
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:60:12: error: ‘TChunk’ in ‘class tensorpipe::Allocator’ does not name a type
   60 | Allocator::TChunk Allocator::getAvailableChunk() {
      |            ^~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:74:6: error: variable or field ‘releaseChunk’ declared void
   74 | void Allocator::releaseChunk(uint8_t* ptr) {
      |      ^~~~~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:74:30: error: ‘uint8_t’ was not declared in this scope
   74 | void Allocator::releaseChunk(uint8_t* ptr) {
      |                              ^~~~~~~
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:13:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   12 | #include <tensorpipe/common/error_macros.h>
  +++ |+#include <cstdint>
   13 | 
/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/common/allocator.cc:74:39: error: ‘ptr’ was not declared in this scope
   74 | void Allocator::releaseChunk(uint8_t* ptr) {
      |                                       ^~~
[ 10%] Building CXX object tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o
cd "/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu/tensorpipe" && /usr/bin/c++ -Dtensorpipe_EXPORTS -I"/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a" -I"/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu" -I"/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/third_party/libnop/include" -g -O2 -ffile-prefix-map=/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -fPIC -MD -MT tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o -MF CMakeFiles/tensorpipe.dir/core/context.cc.o.d -o CMakeFiles/tensorpipe.dir/core/context.cc.o -c "/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/tensorpipe/core/context.cc"
make[3]: *** [tensorpipe/CMakeFiles/tensorpipe.dir/build.make:124: tensorpipe/CMakeFiles/tensorpipe.dir/common/allocator.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:220: tensorpipe/CMakeFiles/tensorpipe.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 11%] Linking CXX shared library ../../../lib/libgtest.so
cd "/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu/third_party/googletest/googletest" && /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--dependency-file=CMakeFiles/gtest.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libgtest.so.1.15.0 -o ../../../lib/libgtest.so.1.15.0 "CMakeFiles/gtest.dir/src/gtest-all.cc.o"
cd "/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu/third_party/googletest/googletest" && /usr/bin/cmake -E cmake_symlink_library ../../../lib/libgtest.so.1.15.0 ../../../lib/libgtest.so.1.15.0 ../../../lib/libgtest.so
make[3]: Leaving directory '/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu'
[ 11%] Built target gtest
make[2]: Leaving directory '/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/tensorpipe-0.0~git20220513.bb1473a/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: tensorpipe
Source-Version: 0.0~git20250815.af0118d-1
Done: Shengqi Chen <harry@debian.org>

We believe that the bug you reported is fixed in the latest version of
tensorpipe, 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 1097984@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Shengqi Chen <harry@debian.org> (supplier of updated tensorpipe 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 13 Sep 2025 17:59:49 +0800
Source: tensorpipe
Architecture: source
Version: 0.0~git20250815.af0118d-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Shengqi Chen <harry@debian.org>
Closes: 1097984
Changes:
 tensorpipe (0.0~git20250815.af0118d-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 0.0~git20250815.af0118d.
   * d/patches: fix FTBFS with GCC-15 (closes: #1097984).
   * d/control:
     + bump std-ver to 4.7.2 (no changes required).
     + replace obsolete B-D pkg-config -> pkgconf.
     + update description of binary packages.
   * d/upstream: add Repository field in metadata.
   * d/{control,rules}: build with ninja, skip running tests when building.
Checksums-Sha1:
 a291f982de92cb6b64ba30dd11cda6df2f9200ac 2233 tensorpipe_0.0~git20250815.af0118d-1.dsc
 d8f431cd346ab26f58b63076863c1332823c1acd 180488 tensorpipe_0.0~git20250815.af0118d.orig.tar.xz
 10849de7dd5eab2bd826dd85ca4f85e1bfe4ddd9 6072 tensorpipe_0.0~git20250815.af0118d-1.debian.tar.xz
 545f5a580493c89264223201d2559461df39c613 8105 tensorpipe_0.0~git20250815.af0118d-1_amd64.buildinfo
Checksums-Sha256:
 32644aa34d5b4613748d61fed3c8f604bfdc3e323b558d575c273b23db566b14 2233 tensorpipe_0.0~git20250815.af0118d-1.dsc
 bc8f55fde8236a96bdd5e5ab2c42a16f77c9084333416c93510d6044683381a2 180488 tensorpipe_0.0~git20250815.af0118d.orig.tar.xz
 03bd085f672dc188f369bd32ecdb9479d1fdac0eec6ab171546f31b4383a7ffa 6072 tensorpipe_0.0~git20250815.af0118d-1.debian.tar.xz
 ce99809cc49c9dd4773fff81588c18417163774c0452c53031eaf9bda42193cb 8105 tensorpipe_0.0~git20250815.af0118d-1_amd64.buildinfo
Files:
 3c963cc7f09137755daa8d243b63353b 2233 science optional tensorpipe_0.0~git20250815.af0118d-1.dsc
 5fc00e6f7e2c38da0e1e6699c7401701 180488 science optional tensorpipe_0.0~git20250815.af0118d.orig.tar.xz
 b9f2411bffeb912c684e2a4643049506 6072 science optional tensorpipe_0.0~git20250815.af0118d-1.debian.tar.xz
 396eafce021dec0e5583e2dd57587c94 8105 science optional tensorpipe_0.0~git20250815.af0118d-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEE+Fg++qmpHzqjSzySzhGnsHs6uUYFAmjFQ24ACgkQzhGnsHs6
uUYZQw//bz/z+19hAjcnZ7e4dBiBlSkm/zuSwyDIxStd8IaWw3FJeTyMEWo0rxna
hJhAg/gFEVARPYhe/rM2VjL+zfChapU61RRJR0V0jHrnv4JwHYk49vR43neRX4aN
DxCYdswEnVX37XV62X5wFQayZa2dktxeZJbkWoUccEzZ7sKRKiybAZdgW12cDDdq
Qx5XnhqL+5C+sc0twKfmW6ur/K37epQzMy+8hQuLGbrSDG6GCL4uIppb4RNFbhUh
jNBRYYDwZK438/BsYCr7s+INXcUacPCvo1o2T0qv1MAGPBKoDus0gqcjwQU+xchZ
JW22HUTzAp6Mdxxc/p3DMumQFpL6b5qf/nN5J5H9a+Jd8niNZgIqTkU3+agzNKvC
Q16W3AZVLK15QT7Uov57VTpeFZCfEzZ0VynYxm7N13iesWbxVkrEsRwq5GC/qg1h
GQmeiaglO8wnJ6sh9+kQK1pNhhjEtyum+IAkf6uE3P+iqrYCKNOBOj5VvHG5Gksz
n7aOGDZUZg8AmmNN2PPSgYuIjCyrcTg/LzgSRYupqk4qU1aUFUCbMgrBCb9uza9d
pz94QKQTRJEwsckJckvauK314afhekHja4Zvmyuz8IzsZEQX8V3EbNSwu9om0x9j
Ul2Y4FyB4lohAi8BGaQXB0tkRTBmZIf3BBzSmsombzaDRq0cdXU=
=Qo2h
-----END PGP SIGNATURE-----

Attachment: pgpSCOo4VHkYW.pgp
Description: PGP signature


--- End Message ---

Reply to: