[Debian-med-packaging] Bug#976908: spaln: FTBFS on ppc64el: codepot.h:37:55: error: narrowing conversion of ‘-2’ from ‘int’ to ‘char’ [-Wnarrowing]

Lucas Nussbaum lucas at debian.org
Wed Dec 9 08:41:58 GMT 2020


Source: spaln
Version: 2.4.1+dfsg-1
Severity: serious
Justification: FTBFS on ppc64el
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201209 ftbfs-bullseye ftbfs-ppc64el

Hi,

During a rebuild of all packages in sid, your package failed to build
on ppc64el. At the same time, it did not fail on amd64.

I'm marking this bug as severity:serious since your package currently has
ppc64el binary packages in unstable (so this is a regression).

Relevant part (hopefully):
> g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -flto -O3 -Wall -DM_THREAD=1 -DUSE_ZLIB=1 -c spaln.cc 
> In file included from stdtype.h:34,
>                  from cmn.h:25,
>                  from seq.h:25,
>                  from aln.h:26,
>                  from spaln.cc:25:
> clib.h:1076:51: warning: extra ‘;’ [-Wpedantic]
>  1076 | inline double inverse(double x) {return (1. / x);};
>       |                                                   ^
> In file included from seq.h:62,
>                  from aln.h:26,
>                  from spaln.cc:25:
> codepot.h:37:55: error: narrowing conversion of ‘-2’ from ‘int’ to ‘char’ [-Wnarrowing]
>    37 | static const EXIN ZeroExin = {0, 0, 0, 0, 0, 0, -2, -2};
>       |                                                       ^
> codepot.h:171:2: warning: extra ‘;’ [-Wpedantic]
>   171 | };
>       |  ^
> make[2]: *** [Makefile:30: spaln.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/09/spaln_2.4.1+dfsg-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on a Power8 cluster part of the
Grid'5000 testbed. Hardware specs: https://www.grid5000.fr/w/Grenoble:Hardware#drac



More information about the Debian-med-packaging mailing list