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

Bug#1012937: marked as done (gloo: ftbfs with GCC-12)



Your message dated Sat, 23 Jul 2022 17:21:07 +0000
with message-id <E1oFIoN-0005yE-OP@fasolo.debian.org>
and subject line Bug#1012937: fixed in gloo 0.0~git20220518.5b14351-2
has caused the Debian Bug report #1012937,
regarding gloo: 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.)


-- 
1012937: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012937
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:gloo
Version: 0.0~git20200918.3dc0328-4
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/gloo_0.0~git20200918.3dc0328-4_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.

[...]
[ 83%] Building CXX object gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gloo" && /usr/bin/c++ -Dgloo_EXPORTS -I"/<<PKGBUILDDIR>>" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -isystem /usr/include/hiredis -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -O2 -g -DNDEBUG -fPIC -MD -MT gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o -c "/<<PKGBUILDDIR>>/gloo/transport/tcp/unbound_buffer.cc"
/<<PKGBUILDDIR>>/gloo/transport/tcp/device.cc: In function ‘std::shared_ptr<gloo::transport::Device> gloo::transport::tcp::CreateDevice(const attr&)’:
/<<PKGBUILDDIR>>/gloo/transport/tcp/device.cc:152:39: error: aggregate ‘std::array<char, 64> hostname’ has incomplete type and cannot be defined
  152 |       std::array<char, HOST_NAME_MAX> hostname;
      |                                       ^~~~~~~~
[ 86%] Building CXX object gloo/CMakeFiles/gloo.dir/transport/ibverbs/address.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gloo" && /usr/bin/c++ -Dgloo_EXPORTS -I"/<<PKGBUILDDIR>>" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -isystem /usr/include/hiredis -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -O2 -g -DNDEBUG -fPIC -MD -MT gloo/CMakeFiles/gloo.dir/transport/ibverbs/address.cc.o -MF CMakeFiles/gloo.dir/transport/ibverbs/address.cc.o.d -o CMakeFiles/gloo.dir/transport/ibverbs/address.cc.o -c "/<<PKGBUILDDIR>>/gloo/transport/ibverbs/address.cc"
[ 88%] Building CXX object gloo/CMakeFiles/gloo.dir/transport/ibverbs/buffer.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gloo" && /usr/bin/c++ -Dgloo_EXPORTS -I"/<<PKGBUILDDIR>>" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -isystem /usr/include/hiredis -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -O2 -g -DNDEBUG -fPIC -MD -MT gloo/CMakeFiles/gloo.dir/transport/ibverbs/buffer.cc.o -MF CMakeFiles/gloo.dir/transport/ibverbs/buffer.cc.o.d -o CMakeFiles/gloo.dir/transport/ibverbs/buffer.cc.o -c "/<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.cc"
make[3]: *** [gloo/CMakeFiles/gloo.dir/build.make:527: gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.h:21,
                 from /<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.cc:9:
/<<PKGBUILDDIR>>/gloo/transport/ibverbs/pair.h:136:58: error: field ‘mappedRecvRegions_’ has incomplete type ‘std::array<std::unique_ptr<gloo::transport::ibverbs::MemoryRegion>, 8>’
  136 |   std::array<std::unique_ptr<MemoryRegion>, kMaxBuffers> mappedRecvRegions_;
      |                                                          ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:36,
                 from /usr/include/c++/12/bits/shared_ptr_base.h:59,
                 from /usr/include/c++/12/bits/shared_ptr.h:53,
                 from /usr/include/c++/12/condition_variable:42,
                 from /<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.h:12:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<std::unique_ptr<gloo::transport::ibverbs::MemoryRegion>, 8>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.cc:19:
/<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.cc: In destructor ‘virtual gloo::transport::ibverbs::Buffer::~Buffer()’:
/<<PKGBUILDDIR>>/gloo/common/logging.h:137:7: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
  137 |       throw EnforceNotMet(                                  \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  138 |           __FILE__,                                         \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139 |           __LINE__,                                         \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140 |           expr,                                             \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141 |           r.get_message_and_free(MakeString(__VA_ARGS__))); \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’
  150 |   GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__)
      |   ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.cc:63:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’
   63 |   GLOO_ENFORCE_EQ(sendPending_, 0, "Destructing buffer expecting completions");
      |   ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gloo/common/logging.h:137:7: note: in C++11 destructors default to ‘noexcept’
  137 |       throw EnforceNotMet(                                  \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  138 |           __FILE__,                                         \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139 |           __LINE__,                                         \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140 |           expr,                                             \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141 |           r.get_message_and_free(MakeString(__VA_ARGS__))); \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gloo/common/logging.h:150:3: note: in expansion of macro ‘GLOO_ENFORCE_THAT_IMPL’
  150 |   GLOO_ENFORCE_THAT_IMPL(Equals((x), (y)), #x " == " #y, __VA_ARGS__)
      |   ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gloo/transport/ibverbs/buffer.cc:63:3: note: in expansion of macro ‘GLOO_ENFORCE_EQ’
   63 |   GLOO_ENFORCE_EQ(sendPending_, 0, "Destructing buffer expecting completions");
      |   ^~~~~~~~~~~~~~~
make[3]: *** [gloo/CMakeFiles/gloo.dir/build.make:597: gloo/CMakeFiles/gloo.dir/transport/ibverbs/buffer.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:205: gloo/CMakeFiles/gloo.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:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: gloo
Source-Version: 0.0~git20220518.5b14351-2
Done: Mo Zhou <lumin@debian.org>

We believe that the bug you reported is fixed in the latest version of
gloo, 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 1012937@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 gloo 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, 23 Jul 2022 09:56:42 -0700
Source: gloo
Architecture: source
Version: 0.0~git20220518.5b14351-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 1012937
Changes:
 gloo (0.0~git20220518.5b14351-2) unstable; urgency=medium
 .
   * Patch code to fix GCC-12 FTBFS. (Closes: #1012937)
Checksums-Sha1:
 acc9e1474cdf7a0616630a8d475cb14aa6efdc32 2181 gloo_0.0~git20220518.5b14351-2.dsc
 67e318fbd83f58bfbad3b2c761da1301f498e899 4084 gloo_0.0~git20220518.5b14351-2.debian.tar.xz
 d8eb8bb2835071d749f6ef5c31fb18c2cc50fd9a 7799 gloo_0.0~git20220518.5b14351-2_source.buildinfo
Checksums-Sha256:
 7077d8b686644699385d4d67d36e038decea9cf2c39f2335124c0c17d4b22624 2181 gloo_0.0~git20220518.5b14351-2.dsc
 785fb4e3755084a0457d029a46c571c04c52e8302b87424310d74f2dc69bd891 4084 gloo_0.0~git20220518.5b14351-2.debian.tar.xz
 0dcc34f008d69c2f8ffd469d2218c0d28da65afcec6f18a515d8f007a75fe119 7799 gloo_0.0~git20220518.5b14351-2_source.buildinfo
Files:
 6eac884cf3d080b829ea0f5c88fd81b0 2181 science optional gloo_0.0~git20220518.5b14351-2.dsc
 4006d53c11f8551e05ac8d5d0874c88c 4084 science optional gloo_0.0~git20220518.5b14351-2.debian.tar.xz
 2bd97cd60e3470cd32a3a6be823cf750 7799 science optional gloo_0.0~git20220518.5b14351-2_source.buildinfo

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

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmLcKGQRHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaopmKBAAoZFwOnI+ooqod9j9VRclCVzbVxaAQL+I
3D4QzRGuWCTFIj8sU3Kr2uvD02lonVOy0G6bPu5F9G613oy1g6ped33Vvwr96MTp
Ed23KxY2H9n4nNzz3WrP3i7vkDZFAkaNQBGfHTkO2X/3LSP27eSB2Zus5Ss+cHBz
HY3p0bqkHzWGQCMYcJfHV9j6/Twf+6+XmcdxYSwHKRrC/+flnlXLvxfovYMZyEyb
qF9LMNEx6e/J5jTyPXZS/V6pu9UyeBsBzA2Ty/D4w6J7dQXpwbawpxQkJ9yV+l78
cpizI5ktgl/PYtirCfkg4KcIbYXJpPuCt1qEmlB3HA7ZOkq1Npa7+NPijBM9Jf7q
qX1mjA3y8KAlfJRBycTvnrbnAc7rHYNCHCy9nowVNuhm6E6pNhN/B4AmlIgMl6uJ
28d/YP+LkJgR9HGbYR0BU5vAUndQ/dBHCXYJx5IbwylAPRpst5+fdYvaWfcebn6X
BTijPSCcXsL0XgVzwJP1Lipo1laYD9Ouw/U0Z5Ydp7nrvWVV3BVhjF+zDYs+CDGR
rY0Z3etsflKtFMEJJcLpV1MZC9l40I05pnUi2lM22LZK8CKBpx5x0FAMy76e57J+
DNlioPxxQSgwS4PcZIFoCdCljWnCVhOkZNfx75hQZYOWMNIa+xAOKyHbfIp7WZPu
OvkA8QaEgHo=
=CVDi
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: