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

Bug#984030: marked as done (d-itg: ftbfs with GCC-11)



Your message dated Thu, 01 Sep 2022 21:50:46 +0000
with message-id <E1oTs5G-004cKg-2N@fasolo.debian.org>
and subject line Bug#984030: fixed in d-itg 2.8.1-r1023-5
has caused the Debian Bug report #984030,
regarding d-itg: 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.)


-- 
984030: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984030
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:d-itg
Version: 2.8.1-r1023-4
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/d-itg_2.8.1-r1023-4_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.

[...]
      |                            ^~~~~~
newran2.cpp: In function ‘DividedRandom& operator/(Random&, Random&)’:
newran2.cpp:1003:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1003 |    if (!r) ErrorNoSpace(); return *r;
      |    ^~
newran2.cpp:1003:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1003 |    if (!r) ErrorNoSpace(); return *r;
      |                            ^~~~~~
newran2.cpp: In function ‘AddedSelectedRandom& operator+(SelectedRandom&, SelectedRandom&)’:
newran2.cpp:1121:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1121 |    if (!r) ErrorNoSpace(); return *r;
      |    ^~
newran2.cpp:1121:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1121 |    if (!r) ErrorNoSpace(); return *r;
      |                            ^~~~~~
newran2.cpp: In function ‘AddedSelectedRandom& operator+(AddedSelectedRandom&, SelectedRandom&)’:
newran2.cpp:1128:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1128 |    if (!r) ErrorNoSpace(); return *r;
      |    ^~
newran2.cpp:1128:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1128 |    if (!r) ErrorNoSpace(); return *r;
      |                            ^~~~~~
newran2.cpp: In function ‘AddedSelectedRandom& operator+(SelectedRandom&, AddedSelectedRandom&)’:
newran2.cpp:1135:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1135 |    if (!r) ErrorNoSpace(); return *r;
      |    ^~
newran2.cpp:1135:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1135 |    if (!r) ErrorNoSpace(); return *r;
      |                            ^~~~~~
newran2.cpp: In function ‘AddedSelectedRandom& operator+(AddedSelectedRandom&, AddedSelectedRandom&)’:
newran2.cpp:1142:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1142 |    if (!r) ErrorNoSpace(); return *r;
      |    ^~
newran2.cpp:1142:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1142 |    if (!r) ErrorNoSpace(); return *r;
      |                            ^~~~~~
newran2.cpp: In member function ‘SelectedRandom& Random::operator()(double)’:
newran2.cpp:1148:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1148 |    if (!r) ErrorNoSpace(); return *r;
      |    ^~
newran2.cpp:1148:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1148 |    if (!r) ErrorNoSpace(); return *r;
      |                            ^~~~~~
[ CXX ]	myexcept.o <- myexcept.cpp
[ CXX ]	simpstr.o <- simpstr.cpp
simpstr.cpp: In constructor ‘SimpleString::SimpleString(unsigned int, char)’:
simpstr.cpp:46:4: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
   46 |    while (i--) *s1++ = c; *s1 = 0;
      |    ^~~~~
simpstr.cpp:46:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
   46 |    while (i--) *s1++ = c; *s1 = 0;
      |                           ^
[ CXX ]	extreal.o <- extreal.cpp
[ AR ]	libnewran.a <- newran1.o newran2.o myexcept.o simpstr.o extreal.o
[ RL ]	libnewran.a
[ CXX ]	traffic.o <- traffic.cpp
traffic.cpp: In function ‘void burstyParser(int&, char**, int&, unsigned int, SumRandom**, SumRandom**, TDistro&, TDistro&)’:
traffic.cpp:415:56: error: ordered comparison of pointer with integer zero (‘char*’ and ‘int’)
  415 |                         if ((argc < 5) || (argv[h + 2] <= 0))
      |                                            ~~~~~~~~~~~~^~~~
traffic.cpp:541:56: error: ordered comparison of pointer with integer zero (‘char*’ and ‘int’)
  541 |                         if ((argc < 3) || (argv[h + 2] <= 0))
      |                                            ~~~~~~~~~~~~^~~~
make[3]: *** [../common.mk:8: traffic.o] Error 1
make[2]: *** [unix.mk:182: ITGSend] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: d-itg
Source-Version: 2.8.1-r1023-5
Done: Sudip Mukherjee <sudipm.mukherjee@gmail.com>

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

Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukherjee@gmail.com> (supplier of updated d-itg 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: Thu, 01 Sep 2022 21:42:00 +0100
Source: d-itg
Architecture: source
Version: 2.8.1-r1023-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Closes: 984030
Changes:
 d-itg (2.8.1-r1023-5) unstable; urgency=medium
 .
   * QA upload.
   * Fix ftbfs with GCC-11. (Closes: #984030)
Checksums-Sha1:
 cacc65cd2b522ff3a6180df209d5a12b17b7b82f 2046 d-itg_2.8.1-r1023-5.dsc
 8ca79319206be2355a83fcd952577a9239c92c48 4604 d-itg_2.8.1-r1023-5.debian.tar.xz
 bce4ee6721d2dec342343480244f0a1c8cea8c09 8849 d-itg_2.8.1-r1023-5_amd64.buildinfo
Checksums-Sha256:
 82d976b74ccac7646c1867034efd0bb58c672a1de3d57c98dae616e81285f6b2 2046 d-itg_2.8.1-r1023-5.dsc
 3048e3ec52eff6ed49f8e699ac4f58ce79897ae9a29c8cf70bb119d791d07618 4604 d-itg_2.8.1-r1023-5.debian.tar.xz
 91dda29375c1230e1207f89cb58c00e2cb9acefa95b015103f53f7abbfa6f0c1 8849 d-itg_2.8.1-r1023-5_amd64.buildinfo
Files:
 61f6e06cd55819c5260dd13b28f04991 2046 net optional d-itg_2.8.1-r1023-5.dsc
 9c99c8f2660573fb8eac876c907a1121 4604 net optional d-itg_2.8.1-r1023-5.debian.tar.xz
 38329d6f04bb2e16a76840a74bddc770 8849 net optional d-itg_2.8.1-r1023-5_amd64.buildinfo

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

iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAmMRH8QACgkQR5mjUUbR
KzUP3g//fXQqp4T/CvYY25h/6wpVZecCsFyh20RoH2aUxsSS0cG/rTnmivpBDERL
tiHB4Sr8rB6f9qDJtxZdg8hY9cG/wqEoDh11mIXfseqEvmrlm6Ny1AQRetZ6fknC
gDW2bkYNDTDYGwwSQ2oL5Lg1Z6uescqbCrXGVs6ixW5dkNXhR4f9EOlY0yHxr4Fy
685BugMmYAbXHFy90ZwkUbJpF/7IXU0YHqfOgrey3eNGEuqMh96E9+vskLhlPQ4K
kOH3hobf9eyhir5iEHoQNj7/9I1K062SRKoiLQ+tJtS+GPEiFISlZstj3bsx7kVI
8wP7oS9MLU/PSzhKh89pgCwFYT8yWfI2ix4+4NMu25jLuTErXtQaIT/Gup4Hb//J
XGZJN2cr4eE9qUGpSXpxaMdWIYyoQEGsjNFEbCrler1oIkez3i5eeXu3p1j4qF7H
h5Ayoyz60UXhxRMm5D2c99IPNxW/mY+d3Jntk0uEim956FInyogFrX5o/vdqaOwA
6mNIiWz+9WtjNt1UjK3anE2revpQV2offwuWwTM8HcvsHHN1MmwonBDoVb/7tUTz
hfpS9W/r01x8MXz/jH12lnX3IHNPeDgkCfL/wGI5BrhfHOEgB8dGLSHh4QjpDUg7
bnilRzeGJ1Ns9Spfip0813JJxjWMDnDEGjxlUQZ2KWbrNavNCIE=
=3HA5
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: