[Debian-med-packaging] Bug#1037778: mira: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:28:37 BST 2023


Package: src:mira
Version: 4.9.6-7
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/mira_4.9.6-7_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
      |            ^~~~~~~~
fmttext.C:57:12: error: ‘colcount’ was not declared in this scope
   57 |         if(colcount==0 && word=="-"){
      |            ^~~~~~~~
fmttext.C:61:12: error: ‘colcount’ was not declared in this scope
   61 |         if(colcount>0 && !word.empty() && colcount+word.size()+1 > llen){
      |            ^~~~~~~~
fmttext.C:66:12: error: ‘colcount’ was not declared in this scope
   66 |         if(colcount>0) {
      |            ^~~~~~~~
fmttext.C:70:9: error: ‘colcount’ was not declared in this scope
   70 |         colcount+=static_cast<uint32_t>(word.size());
      |         ^~~~~~~~
fmttext.C:70:31: error: ‘uint32_t’ does not name a type
   70 |         colcount+=static_cast<uint32_t>(word.size());
      |                               ^~~~~~~~
fmttext.C:70:31: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
fmttext.C: At global scope:
fmttext.C:87:48: error: ‘uint32_t’ has not been declared
   87 |   std::string makeTextSign(const char * intxt, uint32_t llen)
      |                                                ^~~~~~~~
fmttext.C: In function ‘std::string FmtText::makeTextSign(const char*, int)’:
fmttext.C:92:9: error: ‘uint32_t’ was not declared in this scope
   92 |     for(uint32_t xi=0; xi<llen; ++xi) result+='*';
      |         ^~~~~~~~
fmttext.C:92:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
fmttext.C:92:24: error: ‘xi’ was not declared in this scope
   92 |     for(uint32_t xi=0; xi<llen; ++xi) result+='*';
      |                        ^~
fmttext.C:94:5: error: ‘uint32_t’ was not declared in this scope
   94 |     uint32_t colcount=0;
      |     ^~~~~~~~
fmttext.C:94:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
fmttext.C:96:10: error: ‘colcount’ was not declared in this scope
   96 |       if(colcount==0){
      |          ^~~~~~~~
fmttext.C:101:15: error: ‘colcount’ was not declared in this scope
  101 |         for(; colcount< llen-1; ++colcount) result+=' ';
      |               ^~~~~~~~
fmttext.C:103:9: error: ‘colcount’ was not declared in this scope
  103 |         colcount=0;
      |         ^~~~~~~~
fmttext.C:106:11: error: ‘colcount’ was not declared in this scope
  106 |         ++colcount;
      |           ^~~~~~~~
fmttext.C:109:17: error: expected ‘;’ before ‘xi’
  109 |     for(uint32_t xi=0; xi<llen; ++xi) result+='*';
      |                 ^~~
      |                 ;
fmttext.C:109:24: error: ‘xi’ was not declared in this scope
  109 |     for(uint32_t xi=0; xi<llen; ++xi) result+='*';
      |                        ^~
make[5]: *** [Makefile:428: fmttext.o] Error 1
make[5]: *** Waiting for unfinished jobs....
fileanddisk.C: In function ‘int64 myGZRead(gzFile_s*&, void*, uint64)’:
fileanddisk.C:173:19: warning: ignoring return value of ‘char* strerror_r(int, char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  173 |         strerror_r(errno,buf,1024);
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/util'
make[4]: *** [Makefile:399: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:416: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:363: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:39: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list