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

Bug#984056: marked as done (ifhp: ftbfs with GCC-11)



Your message dated Mon, 03 Apr 2023 23:21:46 +0000
with message-id <E1pjTUg-00AODH-2S@fasolo.debian.org>
and subject line Bug#984056: fixed in ifhp 3.5.20-18
has caused the Debian Bug report #984056,
regarding ifhp: 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.)


-- 
984056: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984056
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:ifhp
Version: 3.5.20-17
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/ifhp_3.5.20-17_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.

[...]
ifhp.c:3023:17: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 3023 |                 if( filename ) SAFEFREE(filename); filename = 0;
      |                 ^~
ifhp.c:3023:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 3023 |                 if( filename ) SAFEFREE(filename); filename = 0;
      |                                                    ^~~~~~~~
ifhp.c:3041:17: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 3041 |                 if( filename ) SAFEFREE(filename); filename = 0;
      |                 ^~
ifhp.c:3041:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 3041 |                 if( filename ) SAFEFREE(filename); filename = 0;
      |                                                    ^~~~~~~~
ifhp.c:3057:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 3057 |         if( filename ) SAFEFREE(filename); filename = 0;
      |         ^~
ifhp.c:3057:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 3057 |         if( filename ) SAFEFREE(filename); filename = 0;
      |                                            ^~~~~~~~
ifhp.c: In function ‘Send_job’:
ifhp.c:4350:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 4350 |         if( pgm ) SAFEFREE(pgm); pgm = 0;
      |         ^~
ifhp.c:4350:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 4350 |         if( pgm ) SAFEFREE(pgm); pgm = 0;
      |                                  ^~~
ifhp.c:4527:33: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 4527 |                                 if( pgm ) SAFEFREE(pgm); pgm = 0;
      |                                 ^~
ifhp.c:4527:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 4527 |                                 if( pgm ) SAFEFREE(pgm); pgm = 0;
      |                                                          ^~~
ifhp.c:4605:17: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 4605 |                 if( pgm ) SAFEFREE(pgm); pgm = 0;
      |                 ^~
ifhp.c:4605:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 4605 |                 if( pgm ) SAFEFREE(pgm); pgm = 0;
      |                                          ^~~
ifhp.c: In function ‘Filter_file’:
ifhp.c:5349:25: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 5349 |                         if(s) SAFEFREE(s); s = 0;
      |                         ^~
ifhp.c:5349:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 5349 |                         if(s) SAFEFREE(s); s = 0;
      |                                            ^
ifhp.c:5444:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 5444 |         if( orig_pgm ) SAFEFREE(orig_pgm); orig_pgm = 0;
      |         ^~
ifhp.c:5444:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 5444 |         if( orig_pgm ) SAFEFREE(orig_pgm); orig_pgm = 0;
      |                                            ^~~~~~~~
ifhp.c: In function ‘Get_prog_status’:
ifhp.c:5802:25: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 5802 |                         if(s) SAFEFREE(s); s = 0;
      |                         ^~
ifhp.c:5802:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 5802 |                         if(s) SAFEFREE(s); s = 0;
      |                                            ^
ifhp.c:5891:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 5891 |         if( pgm ) SAFEFREE(pgm); pgm = 0;
      |         ^~
ifhp.c:5891:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 5891 |         if( pgm ) SAFEFREE(pgm); pgm = 0;
      |                                  ^~~
cc1: all warnings being treated as errors
make[2]: *** [<builtin>: ifhp.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:52: src] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:33: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: ifhp
Source-Version: 3.5.20-18
Done: David da Silva Polverari <david.polverari@gmail.com>

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

Debian distribution maintenance software
pp.
David da Silva Polverari <david.polverari@gmail.com> (supplier of updated ifhp 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, 02 Apr 2023 00:11:05 +0000
Source: ifhp
Architecture: source
Version: 3.5.20-18
Distribution: experimental
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: David da Silva Polverari <david.polverari@gmail.com>
Closes: 984056
Changes:
 ifhp (3.5.20-18) experimental; urgency=medium
 .
   * QA upload.
   * Ran wrap-and-sort.
   * debian/clean: added to remove auto-generated file from the source tree not
     removed by the upstream build system.
   * debian/control:
       - Added 'Rules-Requires-Root: no' to source stanza.
       - Added Vcs-* fields.
       - Bumped Standards-Version to 4.6.2.
   * debian/gbp.conf: added to provide minimal configuration for gbp.
   * debian/patches/100-fix-ftbfs-gcc11.patch: fixed FTBFS with GCC-11. (Closes:
     #984056)
   * debian/salsa-ci.yml: added to provide CI tests for Salsa.
Checksums-Sha1:
 4d091b0fc06210aa77c56c86cec1246f4129f999 1837 ifhp_3.5.20-18.dsc
 e31eb6ff4d4e1a6abd000ebff24feb46980d1e8f 92248 ifhp_3.5.20-18.debian.tar.xz
 32e72b271b9d4ad31b3f134ab09e06fe64335d38 7440 ifhp_3.5.20-18_source.buildinfo
Checksums-Sha256:
 1bd52da76cc183e2a7be22f534fc7bf90d130a8fc0fa6ee4d91454fe71355345 1837 ifhp_3.5.20-18.dsc
 b61ab1363c71b96278bc7631a4563379ef2be74f1677fc4bd62cdbb4a8eff473 92248 ifhp_3.5.20-18.debian.tar.xz
 d15d910edfed6f95b0bfb7b7f0f385579fe58e2e1af8390856c0557a2111a1b1 7440 ifhp_3.5.20-18_source.buildinfo
Files:
 f77478ec0a81ec02d2c8b560bfafa537 1837 net optional ifhp_3.5.20-18.dsc
 fb296bebc0cdb2e4c599f1454fb900d3 92248 net optional ifhp_3.5.20-18.debian.tar.xz
 65e35990f5a2032916a121273c510379 7440 net optional ifhp_3.5.20-18_source.buildinfo

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

iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAmQrWa0ACgkQ3mO5xwTr
6e9sxQ/9ENd3ZKDY0B/HJdT8dOgMn4C7BjKc/9zn2oImuEN5W7HVaD2lFPPlbE4g
HULLUzOOUgNUU+fzwfqbXgNaJZwkLp63HZohY3ilia46g3hCUt45KNPFkkK1vJEx
yrQNOzVt2a7Uh0eyCyLi2IPw51Ulq3KByf3k1JvHIcYAj6W9wrJ4nWOuQUXmecG0
4EKZ6NKj11MUvApKy4n4dRNnNBbTsGAEnPaauZg5FEkSfs27K3BgsVdhwyxA5mOu
Zug4D6DYW3nfmpkJTbksqa86l72VcqF0C1jx9TCH4BFHWROQOrvfj3ecSPkAC0fJ
tAZffYZsLOprSSaRmr55hQ7KncHL2L3ax0TpndRo2rRXYIHw5zgsFGattIZr/F0r
SPNvQCYdYyjMdu0JQm+reIQdSVgLIKr9MlCObUG9/++BGbwLL4+QBbERQhJA/lqB
zntEmH/dU2ZwLRkjO3O2rjFPKVNK6W1jQK/bDPuBlMoF0LcrK2TW2FgMEbD+YMFG
45dI47fQfTHzpiFvmitAEMEBEVfLDrY80WFxs6CJSSRsp0Kls2FTmpDqqtNvE8TI
hZweJlN0FyMRx6jTGWJrgCpMGKwtwTjt0a0iOCnHD1hH209QKsOPvBl1lExV+eL6
t4z0HtA3XohA9OnMPIYmeM4zINe7sBxWr+hcTK0SVGl4RUnnvno=
=BjC2
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: