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

Bug#1013051: marked as done (tensorpipe: ftbfs with GCC-12)



Your message dated Tue, 26 Jul 2022 16:19:44 +0000
with message-id <E1oGNHc-0000Xc-ON@fasolo.debian.org>
and subject line Bug#1013051: fixed in tensorpipe 0.0~git20220513.bb1473a-3
has caused the Debian Bug report #1013051,
regarding tensorpipe: ftbfs with GCC-12
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.)


-- 
1013051: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013051
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:tensorpipe
Version: 0.0~git20210304.369e855-2.1
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/tensorpipe_0.0~git20210304.369e855-2.1_unstable_gcc12.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
  168 |       std::memcpy(buffers[0].ptr, buffer, buffers[0].len);
      |                                                  ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:169:21: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  169 |       return buffers[0].len;
      |                     ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:171:26: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  171 |       std::memcpy(buffers[0].ptr, buffer, buffers[0].len);
      |                          ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:171:50: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  171 |       std::memcpy(buffers[0].ptr, buffer, buffers[0].len);
      |                                                  ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:173:18: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  173 |           buffers[1].ptr,
      |                  ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:174:61: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  174 |           reinterpret_cast<const uint8_t*>(buffer) + buffers[0].len,
      |                                                             ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:175:18: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  175 |           buffers[1].len);
      |                  ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:176:21: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  176 |       return buffers[0].len + buffers[1].len;
      |                     ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:176:38: error: no match for ‘operator[]’ (operand types are ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2>’ and ‘int’)
  176 |       return buffers[0].len + buffers[1].len;
      |                                      ^
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/consumer.h: In instantiation of ‘ssize_t tensorpipe::util::ringbuffer::Consumer::readInTx(void*, size_t) [with bool AllowPartial = false; ssize_t = long int; size_t = long unsigned int]’:
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/consumer.h:192:43:   required from here
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/consumer.h:153:27: error: ‘std::array<tensorpipe::util::ringbuffer::Consumer::Buffer, 2> buffers’ has incomplete type
  153 |     std::array<Buffer, 2> buffers;
      |                           ^~~~~~~
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h: In instantiation of ‘ssize_t tensorpipe::util::ringbuffer::Producer::writeInTx(const void*, size_t) [with bool AllowPartial = false; ssize_t = long int; size_t = long unsigned int]’:
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:196:44:   required from here
/<<PKGBUILDDIR>>/tensorpipe/util/ringbuffer/producer.h:157:27: error: ‘std::array<tensorpipe::util::ringbuffer::Producer::Buffer, 2> buffers’ has incomplete type
  157 |     std::array<Buffer, 2> buffers;
      |                           ^~~~~~~
[ 53%] Building CXX object tensorpipe/CMakeFiles/tensorpipe.dir/util/shm/segment.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tensorpipe" && /usr/bin/c++ -Dtensorpipe_EXPORTS -I"/<<PKGBUILDDIR>>" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/third_party/libnop/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++14 -MD -MT tensorpipe/CMakeFiles/tensorpipe.dir/util/shm/segment.cc.o -MF CMakeFiles/tensorpipe.dir/util/shm/segment.cc.o.d -o CMakeFiles/tensorpipe.dir/util/shm/segment.cc.o -c "/<<PKGBUILDDIR>>/tensorpipe/util/shm/segment.cc"
[ 54%] Building CXX object tensorpipe/CMakeFiles/tensorpipe.dir/common/ibv.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tensorpipe" && /usr/bin/c++ -Dtensorpipe_EXPORTS -I"/<<PKGBUILDDIR>>" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/third_party/libnop/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++14 -MD -MT tensorpipe/CMakeFiles/tensorpipe.dir/common/ibv.cc.o -MF CMakeFiles/tensorpipe.dir/common/ibv.cc.o.d -o CMakeFiles/tensorpipe.dir/common/ibv.cc.o -c "/<<PKGBUILDDIR>>/tensorpipe/common/ibv.cc"
make[3]: *** [tensorpipe/CMakeFiles/tensorpipe.dir/build.make:723: tensorpipe/CMakeFiles/tensorpipe.dir/transport/shm/reactor.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 55%] Linking CXX shared library ../../../lib/libgmock.so
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third_party/googletest/googlemock" && /usr/bin/cmake -E cmake_link_script CMakeFiles/gmock.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libgmock.so.1.11.0 -o ../../../lib/libgmock.so.1.11.0 "CMakeFiles/gmock.dir/src/gmock-all.cc.o"  -Wl,-rpath,"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib:" ../../../lib/libgtest.so.1.11.0 -lpthread 
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third_party/googletest/googlemock" && /usr/bin/cmake -E cmake_symlink_library ../../../lib/libgmock.so.1.11.0 ../../../lib/libgmock.so.1.11.0 ../../../lib/libgmock.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 55%] Built target gmock
make  -f third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/build.make third_party/googletest/googlemock/CMakeFiles/gmock_main.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>>/third_party/googletest/googlemock" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third_party/googletest/googlemock" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/DependInfo.cmake" --color=
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/build.make third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 56%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third_party/googletest/googlemock" && /usr/bin/c++ -DGTEST_CREATE_SHARED_LIBRARY=1 -Dgmock_main_EXPORTS -isystem "/<<PKGBUILDDIR>>/third_party/googletest/googlemock/include" -isystem "/<<PKGBUILDDIR>>/third_party/googletest/googlemock" -isystem "/<<PKGBUILDDIR>>/third_party/googletest/googletest/include" -isystem "/<<PKGBUILDDIR>>/third_party/googletest/googletest" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DGTEST_HAS_PTHREAD=1 -std=c++14 -MD -MT third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o -MF CMakeFiles/gmock_main.dir/src/gmock_main.cc.o.d -o CMakeFiles/gmock_main.dir/src/gmock_main.cc.o -c "/<<PKGBUILDDIR>>/third_party/googletest/googlemock/src/gmock_main.cc"
[ 57%] Linking CXX shared library ../../../lib/libgmock_main.so
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third_party/googletest/googlemock" && /usr/bin/cmake -E cmake_link_script CMakeFiles/gmock_main.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libgmock_main.so.1.11.0 -o ../../../lib/libgmock_main.so.1.11.0 CMakeFiles/gmock_main.dir/src/gmock_main.cc.o  -Wl,-rpath,"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib:" ../../../lib/libgmock.so.1.11.0 ../../../lib/libgtest.so.1.11.0 -lpthread 
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third_party/googletest/googlemock" && /usr/bin/cmake -E cmake_symlink_library ../../../lib/libgmock_main.so.1.11.0 ../../../lib/libgmock_main.so.1.11.0 ../../../lib/libgmock_main.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 57%] Built target gmock_main
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:189: tensorpipe/CMakeFiles/tensorpipe.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 -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: tensorpipe
Source-Version: 0.0~git20220513.bb1473a-3
Done: Mo Zhou <lumin@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 1013051@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lumin@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: Tue, 26 Jul 2022 08:58:23 -0700
Source: tensorpipe
Architecture: source
Version: 0.0~git20220513.bb1473a-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 1013051
Changes:
 tensorpipe (0.0~git20220513.bb1473a-3) unstable; urgency=medium
 .
   * Add patch to fix GCC-12 FTBFS. (Closes: #1013051)
Checksums-Sha1:
 4859ba49535b5523f1195e10bb13543f0e25c74d 2248 tensorpipe_0.0~git20220513.bb1473a-3.dsc
 3f72f55621d6b38206b8545173aa1ca05c66904e 5244 tensorpipe_0.0~git20220513.bb1473a-3.debian.tar.xz
 cfa9a9544ddd8b26d1557325b157ddc54c9c2df4 8381 tensorpipe_0.0~git20220513.bb1473a-3_source.buildinfo
Checksums-Sha256:
 f9e6637d974a1717308237c94e586cb62bd01ec5a2dba085e32e44ce1e285149 2248 tensorpipe_0.0~git20220513.bb1473a-3.dsc
 9ec1b994381c78e60bf9b8d0737642f32981ae962b1e0fa2f685b5174faad279 5244 tensorpipe_0.0~git20220513.bb1473a-3.debian.tar.xz
 46f44724b7e4b25fa3667f853b52acc68afd06246e24873f99111ab08c865143 8381 tensorpipe_0.0~git20220513.bb1473a-3_source.buildinfo
Files:
 90cf923d535c2cce1cf0ee2f4083c580 2248 science optional tensorpipe_0.0~git20220513.bb1473a-3.dsc
 0c3ea7f4ac792a07e81204c9a96a4b29 5244 science optional tensorpipe_0.0~git20220513.bb1473a-3.debian.tar.xz
 5cbc10a89ddf85953ee715feb9d976b6 8381 science optional tensorpipe_0.0~git20220513.bb1473a-3_source.buildinfo

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

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmLgDzURHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaooxrBAAjGIp01r9a4VmePdDl6guvpOG3qytba8L
RtX6BjsVX54wPRSru/+P0H9sOBXDjMC/D1Qbo+GqzMFkEY9ShgmzJqMAsZmTl7Cm
e3QdFI/u1EOeEmp8Yw6aABvNvFIK7ycxeufB10YDOE9VDG5gbxuPY0ALGeDCec7W
a3l+4rKSKK/9hWPTujRhpMT0fgGufaAtaJXWeXlKgwEGqdLE3J0ISon3yKYhMXL1
oI1u9r3/8j5kbMsy4ObgGGhT2pQBhxekZdYKr5TULD73szx3cMFymoBFDWVUu9ws
PxLCbLZFqcF3968zuhquobp/x4mI33ae/bfPyPr7CydSnHLzoUDJ0xQLvLyqffFF
/Zndbpax5x1zoS3fbpXkCkLTJ2EY+1UD28pxCW1QxJYXUMlSBcmgmhdD3sUcvGcx
Xsdpw8QkwGtLsTkJFkGE3X7K2BSDnV2icI9YC20crTbEWvRWIs6OU5GApj6xYZ4V
Lh861AgI2Ge9Zk3Km+48VZDxdtvS9jkXPDhY/SDpmdkj4mvDl9oEwqcgRJmuPGog
9IMo7ce0Ht1ZGZgTQzeUrQ7Nnkc7AfsjXOJwi9D0xI+CNrLSniIIAC0BHbxDW+Ao
1xGtcNEh1O/HvWDjCICzF8DKhWwqsG8KgwJF6MiCWyRupHGzJX0vpht/f7BEyQyM
qwwNVuI99vY=
=jldl
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: