[Debian-med-packaging] Bug#831131: vsearch: FTBFS with GCC 6: maps.cc:485:3: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]

Lucas Nussbaum lucas at debian.org
Thu Jul 14 07:29:54 UTC 2016


Source: vsearch
Version: 2.0.0-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wsign-compare -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o maps.o maps.cc
> maps.cc:485:3: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
>    };
>    ^
> maps.cc:485:3: error: narrowing conversion of '129' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '131' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '132' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '133' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '134' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '135' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '136' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '137' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '138' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '139' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '140' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '141' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '142' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '143' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '144' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '145' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '146' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '147' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '148' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '149' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '150' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '151' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '152' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '154' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '155' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '156' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '157' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '158' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '159' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '160' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '161' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '162' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '163' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '164' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '165' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '166' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '167' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '168' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '169' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '170' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '171' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '172' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '173' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '174' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '175' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '176' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '177' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '178' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '179' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '180' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '181' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '182' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '183' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '184' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '185' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '186' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '187' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '188' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '189' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '190' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '192' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '193' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '194' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '195' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '196' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '197' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '198' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '199' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '200' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '202' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '203' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '204' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '205' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '206' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '207' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '208' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '209' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '210' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '211' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '212' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '213' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '214' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '215' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '216' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '217' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '218' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '219' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '220' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '221' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '222' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '223' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '224' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '225' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '226' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '227' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '228' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '229' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '230' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '231' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '232' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '233' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '234' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '235' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '236' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '237' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '238' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '239' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '241' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '242' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '243' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '244' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '245' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '246' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '247' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '248' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '249' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '250' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '251' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '252' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '253' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '254' from 'int' to 'char' inside { } [-Wnarrowing]
> maps.cc:485:3: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> make[4]: *** [maps.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/vsearch_2.0.0-1_unstable_gcc6.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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list