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

Bug#984253: marked as done (ns2: ftbfs with GCC-11)



Your message dated Sun, 20 Nov 2022 19:10:03 +0000
with message-id <E1owphb-00Amrj-Mb@fasolo.debian.org>
and subject line Bug#984253: fixed in ns2 2.35+dfsg-5
has caused the Debian Bug report #984253,
regarding ns2: ftbfs with GCC-11
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.)


-- 
984253: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984253
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:ns2
Version: 2.35+dfsg-3.1
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

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

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/ns2_2.35+dfsg-3.1_unstable_gcc11.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.

[...]
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:421:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/specfun.h:45,
                 from /usr/include/c++/11/cmath:1927,
                 from /usr/include/c++/11/math.h:36,
                 from ./tools/random.h:40,
                 from tcp/tcp-fack.cc:33:
/usr/include/c++/11/bits/stl_algobase.h:259:15: note:   ‘const TracedInt’ is not derived from ‘const std::reverse_iterator<_Iterator>’
  259 |       if (__a < __b)
      |           ~~~~^~~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:67,
                 from /usr/include/c++/11/bits/specfun.h:45,
                 from /usr/include/c++/11/cmath:1927,
                 from /usr/include/c++/11/math.h:36,
                 from ./tools/random.h:40,
                 from tcp/tcp-fack.cc:33:
/usr/include/c++/11/bits/stl_iterator.h:460:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)’
  460 |     operator<(const reverse_iterator<_IteratorL>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:460:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/specfun.h:45,
                 from /usr/include/c++/11/cmath:1927,
                 from /usr/include/c++/11/math.h:36,
                 from ./tools/random.h:40,
                 from tcp/tcp-fack.cc:33:
/usr/include/c++/11/bits/stl_algobase.h:259:15: note:   ‘const TracedInt’ is not derived from ‘const std::reverse_iterator<_Iterator>’
  259 |       if (__a < __b)
      |           ~~~~^~~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:67,
                 from /usr/include/c++/11/bits/specfun.h:45,
                 from /usr/include/c++/11/cmath:1927,
                 from /usr/include/c++/11/math.h:36,
                 from ./tools/random.h:40,
                 from tcp/tcp-fack.cc:33:
/usr/include/c++/11/bits/stl_iterator.h:1538:5: note: candidate: ‘template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)’
 1538 |     operator<(const move_iterator<_IteratorL>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:1538:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/specfun.h:45,
                 from /usr/include/c++/11/cmath:1927,
                 from /usr/include/c++/11/math.h:36,
                 from ./tools/random.h:40,
                 from tcp/tcp-fack.cc:33:
/usr/include/c++/11/bits/stl_algobase.h:259:15: note:   ‘const TracedInt’ is not derived from ‘const std::move_iterator<_IteratorL>’
  259 |       if (__a < __b)
      |           ~~~~^~~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:67,
                 from /usr/include/c++/11/bits/specfun.h:45,
                 from /usr/include/c++/11/cmath:1927,
                 from /usr/include/c++/11/math.h:36,
                 from ./tools/random.h:40,
                 from tcp/tcp-fack.cc:33:
/usr/include/c++/11/bits/stl_iterator.h:1594:5: note: candidate: ‘template<class _Iterator> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)’
 1594 |     operator<(const move_iterator<_Iterator>& __x,
      |     ^~~~~~~~
/usr/include/c++/11/bits/stl_iterator.h:1594:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/specfun.h:45,
                 from /usr/include/c++/11/cmath:1927,
                 from /usr/include/c++/11/math.h:36,
                 from ./tools/random.h:40,
                 from tcp/tcp-fack.cc:33:
/usr/include/c++/11/bits/stl_algobase.h:259:15: note:   ‘const TracedInt’ is not derived from ‘const std::move_iterator<_IteratorL>’
  259 |       if (__a < __b)
      |           ~~~~^~~~~
make[1]: *** [Makefile:94: tcp/tcp-fack.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: ns2
Source-Version: 2.35+dfsg-5
Done: Marcos Talau <talau@debian.org>

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

Debian distribution maintenance software
pp.
Marcos Talau <talau@debian.org> (supplier of updated ns2 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: Sun, 20 Nov 2022 15:30:29 -0300
Source: ns2
Architecture: source
Version: 2.35+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Marcos Talau <talau@debian.org>
Closes: 858220 984253
Changes:
 ns2 (2.35+dfsg-5) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Add override_dh_install to make the build reproducible.
     Thanks to Chris Lamb. (Closes: #858220)
   * debian/patches/0008-fix-build-with-gcc11.patch: New. Fix FTBFS with gcc-11.
     (Closes: #984253)
Checksums-Sha1:
 d7cf752c70e94b6835a2a3eacd2278ffb89f52f1 2108 ns2_2.35+dfsg-5.dsc
 d11f7ed8af5e3ad8a3c4a760c77072bb1660c8eb 16692 ns2_2.35+dfsg-5.debian.tar.xz
 9bf5b01c4e4821640fcbca40eaa941810ff60834 9191 ns2_2.35+dfsg-5_source.buildinfo
Checksums-Sha256:
 7c250395a81b16e81a3a52b66b8cdcad234d90c50b90f5a5361862fcbd652cd7 2108 ns2_2.35+dfsg-5.dsc
 211547d9d46b2576949bab424f13d439c44627489ce41c7371c3585dce3323ff 16692 ns2_2.35+dfsg-5.debian.tar.xz
 49ca02f6dbe0114446cc0b3974cef6a48207f922bc120fe62ec5e561c3bd88b8 9191 ns2_2.35+dfsg-5_source.buildinfo
Files:
 821c4363ca73dd22f34cd63f67e0ae88 2108 net optional ns2_2.35+dfsg-5.dsc
 d045e5c7b9290b835a20e0aa7b6c908c 16692 net optional ns2_2.35+dfsg-5.debian.tar.xz
 71b7216af3b52c50db52ec8c62788f81 9191 net optional ns2_2.35+dfsg-5_source.buildinfo

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

iQIzBAEBCgAdFiEEtSLzkVnaB9053AsR9LqqgNsoukwFAmN6dF4ACgkQ9LqqgNso
ukxc9w//U5BdARSU+IYMJaR6s78eif1M4JdvpHYVYz0csf2ACn31JegGSkVSK+ql
QV3AVIFKXSCyMhvkD2eE+RKdvG9GvGflTzTw+j8nYirGZ5uxdv7JJPYDDupP9Y0W
fE6zggNhX4xSK41ux1xUq9wDKKb9tuIBz0a5CJbwSIqGaavT5BZ4USIwea1fxt6V
vP1sK+gqtiYRsH/lh3fWNFpfDdYlZtbPMskcihwR+Ej5qF0IsVSvEGyht+qquUn+
6Fs9lC7urkm17QdLJ0M0+K+EQ7dpJQYwQlhp1EbhpGTy/pn2WXgRcBMndfhILo1B
GDqSI+QiZA7n4CXwTCE3S7jICBzc8/oLsK2LQ9GT79HncO5bUxoaFqfvQiAnJeqB
EjsAyXIFFak1041B5r2buIoWHiSU7p8q+83edj6m0BXQgXVYZJ1FzB/kl+h29r+m
cJvAvHtNGp6ePeV5MUrn9v+9jUFSzAzajbTUbIwLOAUsIgJbrgTLe3zk8prAZjmy
0g3GvjHwCGwgn1nvd1CTnYSO7ZRCeVTJCIQr7zKmBPYgENu0hjnxXeihwEWeHq2U
qkUYoKN2nDVAYL4q/WvHX+oDJ1qd59Xq1rEDzPXYWXKiRmqCCc6d7hsip2KJU+Jx
FsGZd4SiO0ilvJJMQoqgto5ImK40ipEuRgZbWOR8k6AaWTPjm20=
=L4LM
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: