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

Bug#984361: marked as done (tcm: ftbfs with GCC-11)



Your message dated Tue, 12 Oct 2021 20:27:53 +0000
with message-id <E1maONN-0007Mw-9C@fasolo.debian.org>
and subject line Bug#984361: fixed in tcm 2.20+TSQD-7
has caused the Debian Bug report #984361,
regarding tcm: 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.)


-- 
984361: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984361
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:tcm
Version: 2.20+TSQD-6
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/tcm_2.20+TSQD-6_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.

[...]
                 from modejunction.h:25,
                 from modejunction.c:22:
/<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::next()’:
/<<PKGBUILDDIR>>/src/gl/llist.h:106:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  106 |                 if (current) current=current->next; return (current != 0); }
      |                 ^~
/<<PKGBUILDDIR>>/src/gl/llist.h:106:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  106 |                 if (current) current=current->next; return (current != 0); }
      |                                                     ^~~~~~
/<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::prev()’:
/<<PKGBUILDDIR>>/src/gl/llist.h:110:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  110 |                 if (current) current=current->prev; return (current != 0); }
      |                 ^~
/<<PKGBUILDDIR>>/src/gl/llist.h:110:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  110 |                 if (current) current=current->prev; return (current != 0); }
      |                                                     ^~~~~~
/usr/bin/g++ -Wall -g -fcommon -O2 -DCONFIG_INSTALL=\"/etc/tcm/\" -DTCM_INSTALL_DIR=\"/usr\" -DTCM_INSTALL_LIB=\"/usr/lib/\" -DTCM_INSTALL_SHARE=\"/usr/share/doc/tcm-doc/\" -DCONFIG_FILE=\"tcm.conf\" -DHELP_DIR=\"/usr/share/doc/tcm-doc/help/\" -DCOLOR_FILE=\"colorrgb.txt\" -DBANNER_FILE=\"banner.ps\" -I. -I/<<PKGBUILDDIR>>/src/bitmaps -I/<<PKGBUILDDIR>>/src/gl -I/<<PKGBUILDDIR>>/src/ui -I/<<PKGBUILDDIR>>/src/ed -I/<<PKGBUILDDIR>>/src/dg -I/<<PKGBUILDDIR>>/src/tb -I/usr/X11R6/LessTif/Motif1.2/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I../dv -DLINUX -c cbactor.c
In file included from /<<PKGBUILDDIR>>/src/dg/thing.h:25,
                 from /<<PKGBUILDDIR>>/src/dg/subject.h:25,
                 from /<<PKGBUILDDIR>>/src/dg/node.h:25,
                 from cbactor.h:26,
                 from cbactor.c:23:
/<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::next()’:
/<<PKGBUILDDIR>>/src/gl/llist.h:106:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  106 |                 if (current) current=current->next; return (current != 0); }
      |                 ^~
/<<PKGBUILDDIR>>/src/gl/llist.h:106:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  106 |                 if (current) current=current->next; return (current != 0); }
      |                                                     ^~~~~~
/<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::prev()’:
/<<PKGBUILDDIR>>/src/gl/llist.h:110:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  110 |                 if (current) current=current->prev; return (current != 0); }
      |                 ^~
/<<PKGBUILDDIR>>/src/gl/llist.h:110:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  110 |                 if (current) current=current->prev; return (current != 0); }
      |                                                     ^~~~~~
/usr/bin/g++ -Wall -g -fcommon -O2 -DCONFIG_INSTALL=\"/etc/tcm/\" -DTCM_INSTALL_DIR=\"/usr\" -DTCM_INSTALL_LIB=\"/usr/lib/\" -DTCM_INSTALL_SHARE=\"/usr/share/doc/tcm-doc/\" -DCONFIG_FILE=\"tcm.conf\" -DHELP_DIR=\"/usr/share/doc/tcm-doc/help/\" -DCOLOR_FILE=\"colorrgb.txt\" -DBANNER_FILE=\"banner.ps\" -I. -I/<<PKGBUILDDIR>>/src/bitmaps -I/<<PKGBUILDDIR>>/src/gl -I/<<PKGBUILDDIR>>/src/ui -I/<<PKGBUILDDIR>>/src/ed -I/<<PKGBUILDDIR>>/src/dg -I/<<PKGBUILDDIR>>/src/tb -I/usr/X11R6/LessTif/Motif1.2/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I../dv -DLINUX -c c2r2mlistline.c
In file included from /<<PKGBUILDDIR>>/src/ui/grafport.h:30,
                 from c2r2mlistline.c:25:
/<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::next()’:
/<<PKGBUILDDIR>>/src/gl/llist.h:106:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  106 |                 if (current) current=current->next; return (current != 0); }
      |                 ^~
/<<PKGBUILDDIR>>/src/gl/llist.h:106:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  106 |                 if (current) current=current->next; return (current != 0); }
      |                                                     ^~~~~~
/<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::prev()’:
/<<PKGBUILDDIR>>/src/gl/llist.h:110:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  110 |                 if (current) current=current->prev; return (current != 0); }
      |                 ^~
/<<PKGBUILDDIR>>/src/gl/llist.h:110:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  110 |                 if (current) current=current->prev; return (current != 0); }
      |                                                     ^~~~~~
c2r2mlistline.c: In member function ‘virtual void C2R2MListLine::DrawShape()’:
c2r2mlistline.c:423:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  423 |         if ((CBDMessage *)((CBObjectLinkEdge *)GetSubject())->NrOfMessages() > 0) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c2r2mlistline.c:423:78: error: ordered comparison of pointer with integer zero (‘CBDMessage*’ and ‘int’)
  423 |         if ((CBDMessage *)((CBObjectLinkEdge *)GetSubject())->NrOfMessages() > 0) {
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
make[4]: *** [/<<PKGBUILDDIR>>/src/Config.GEN:62: c2r2mlistline.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/dv'
make[3]: *** [Makefile:6: tcmd] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/sd'
make[2]: *** [Makefile:29: tcmd] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:113: execs] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:29: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: tcm
Source-Version: 2.20+TSQD-7
Done: Andreas Beckmann <anbe@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated tcm 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: SHA256

Format: 1.8
Date: Tue, 12 Oct 2021 21:38:16 +0200
Source: tcm
Architecture: source
Version: 2.20+TSQD-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 849618 866158 981310 984361
Changes:
 tcm (2.20+TSQD-7) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * QA upload.
   * Fix FTBFS with GCC 11.  (Closes: #984361)
   * Fail early on unknown platforms.
   * Set Rules-Requires-Root: no.
   * Suggest tcm-doc.  (Closes: #849618)
 .
   [ Roland Rosenfeld ]
   * The transfig package has been renamed to fig2dev.  (Closes: #866158)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass cross tools to make. (Closes: #981310)
Checksums-Sha1:
 9ea3ec63a33fc9131f51e722dfd6c0633ec324ef 1872 tcm_2.20+TSQD-7.dsc
 88df9b2f3bc3c4bb5008f3a7fb769bb462f99caf 52104 tcm_2.20+TSQD-7.debian.tar.xz
 ed01ea80ee7c8ed94415a6d0e9bbab4edec3b900 7149 tcm_2.20+TSQD-7_source.buildinfo
Checksums-Sha256:
 707e26e94f8cb3979d0b2c0baabf7a5720e0013124b882c29b18a8139ee3bbb2 1872 tcm_2.20+TSQD-7.dsc
 a16e4dadda1b76f5404f4ac0897e491f6d64d587ac9fdddbae8bab48b37a784d 52104 tcm_2.20+TSQD-7.debian.tar.xz
 5b9111452eb1372158f792c5ac034a0db6d154be05b4c055f6d73f7738fa9a93 7149 tcm_2.20+TSQD-7_source.buildinfo
Files:
 e58f93bdab51760c20152a8589f54cfc 1872 graphics optional tcm_2.20+TSQD-7.dsc
 28226b989470795ea3c9a282782abdcb 52104 graphics optional tcm_2.20+TSQD-7.debian.tar.xz
 0c7bca61e9a72e330bc30e6ff516916d 7149 graphics optional tcm_2.20+TSQD-7_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmFl5GUQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCNdmD/46DJKOMU+1K4qotDCxkqduy2IoomNU8Z8x
o/c4GUz1jq1DiD1fmAyw0c9qppuJASxzqE4w3tDd4jo9FiU/VOHycWSH0NRdbTGH
LYVD3OKm3qRszHPhDeFEIEX2nhq1zHihhhXD8ndYmYovuPs0cls4WVB+GMutJGyr
HVOMhz3WNGz+XWtjp+VDNIbMG7Na5tPQb7HyoE+gyjz04l9DOVMlYo1czCQ0owTk
8NDswyoWLMwMek5fDmbPZOp/fy2q+lCb7A9z5Lx2DAN69ija4tnR6vdTkwmp+WUR
y8nLWHBow6uAFjBA3/mfvVO/5X3qq9RLsWdTtG21R0+FfWv+g9ueMycbBkszReJu
WccWdX9HFT4WchHcypcitQ6SQ7mOKrjWpdcjQo8w1/3ZFCWeWi0FVWZu5UpH20MB
DPHUP+L0prV3dIcwmaJ5j7jX69c8KrEJVW7V3NtGtd8AlNyRzpG0ZERsgWSlGPHp
9jgy5eHFTtRVPyQ2HfW+JUsD+MDm2hAn/wYN14iyXPXslGBIIne+Q/aJPOU4XrCY
1j/u1U6JS8djshWKa3xH2akYjzZM7s+gsuwHTSIq2NV1JGIoDz6eenP14s+nixmx
Tpi79SHg9NVN+u92b+Z/mqG4VoWy/120UhaNHM/T61B5D30pdrFUSpZliLcXS3hG
x7zuDOTj8A==
=boF6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: