Bug#957305: graywolf: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:01:53 BST 2020


Package: src:graywolf
Version: 0.1.6-3
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/graywolf_0.1.6-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

[...]
../src/genrows/draw.c:1672:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1672 |     sprintf( maxlength,   "%d",
      |                            ~^
      |                             |
      |                             int
      |                            %ld
 1673 |  tile->llx + tile->row_start + tile->max_length ) ;
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              |
      |                              INT {aka long int}
../src/genrows/draw.c:1676:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1676 |     sprintf( separation,   "%d", tile->channel_separation ) ;
      |                             ~^   ~~~~~~~~~~~~~~~~~~~~~~~~
      |                              |       |
      |                              int     INT {aka long int}
      |                             %ld
../src/genrows/draw.c:1678:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1678 |     sprintf( class,  "%d", tile->class ) ;
      |                       ~^   ~~~~~~~~~~~
      |                        |       |
      |                        int     INT {aka long int}
      |                       %ld
../src/genrows/draw.c: In function ‘edit_row’:
../src/genrows/draw.c:1868:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1868 |     sprintf( left,  "Left  : %d", rowptr->llx ) ;
      |                              ~^   ~~~~~~~~~~~
      |                               |         |
      |                               int       INT {aka long int}
      |                              %ld
../src/genrows/draw.c:1871:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1871 |     sprintf( bottom,"Bottom: %d", rowptr->lly ) ;
      |                              ~^   ~~~~~~~~~~~
      |                               |         |
      |                               int       INT {aka long int}
      |                              %ld
../src/genrows/draw.c:1874:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1874 |     sprintf( right, "Right : %d", rowptr->urx ) ;
      |                              ~^   ~~~~~~~~~~~
      |                               |         |
      |                               int       INT {aka long int}
      |                              %ld
../src/genrows/draw.c:1877:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1877 |     sprintf( top,   "Top   : %d", rowptr->ury ) ;
      |                              ~^   ~~~~~~~~~~~
      |                               |         |
      |                               int       INT {aka long int}
      |                              %ld
../src/genrows/draw.c:1882:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1882 |  sprintf( class, "%d", rowptr->class ) ;
      |                   ~^   ~~~~~~~~~~~~~
      |                    |         |
      |                    int       INT {aka long int}
      |                   %ld
../src/genrows/draw.c: In function ‘update_macro_data’:
../src/genrows/draw.c:1965:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1965 |  sprintf( answer[XPOSF].string, "%d", pos ) ;
      |                                  ~^   ~~~
      |                                   |   |
      |                                   int INT {aka long int}
      |                                  %ld
../src/genrows/draw.c:1972:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘INT’ {aka ‘long int’} [-Wformat=]
 1972 |  sprintf( answer[YPOSF].string, "%d", pos ) ;
      |                                  ~^   ~~~
      |                                   |   |
      |                                   int INT {aka long int}
      |                                  %ld
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v returned exit code 1
make: *** [debian/rules:18: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list