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

Bug#897860: simulavr: ftbfs with GCC-8



Package: src:simulavr
Version: 0.1.2.2-7
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/simulavr_0.1.2.2-7_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

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

[...]
Making all in disp-vcd
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/disp-vcd'
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src    -Wall -Winline -Werror -I../../src -I../../src/getopt -Wall -g -std=gnu89 -O2 -MT disp.o -MD -MP -MF ".deps/disp.Tpo" -c -o disp.o disp.c; \
then mv -f ".deps/disp.Tpo" ".deps/disp.Po"; else rm -f ".deps/disp.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src    -Wall -Winline -Werror -I../../src -I../../src/getopt -Wall -g -std=gnu89 -O2 -MT vcd.o -MD -MP -MF ".deps/vcd.Tpo" -c -o vcd.o vcd.c; \
then mv -f ".deps/vcd.Tpo" ".deps/vcd.Po"; else rm -f ".deps/vcd.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src    -Wall -Winline -Werror -I../../src -I../../src/getopt -Wall -g -std=gnu89 -O2 -MT config_parser.o -MD -MP -MF ".deps/config_parser.Tpo" -c -o config_parser.o config_parser.c; \
then mv -f ".deps/config_parser.Tpo" ".deps/config_parser.Po"; else rm -f ".deps/config_parser.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src    -Wall -Winline -Werror -I../../src -I../../src/getopt -Wall -g -std=gnu89 -O2 -MT config_scanner.o -MD -MP -MF ".deps/config_scanner.Tpo" -c -o config_scanner.o config_scanner.c; \
then mv -f ".deps/config_scanner.Tpo" ".deps/config_scanner.Po"; else rm -f ".deps/config_scanner.Tpo"; exit 1; fi
x86_64-linux-gnu-gcc -Wall -Winline -Werror -I../../src -I../../src/getopt -Wall -g -std=gnu89 -O2  -Wl,-z,defs -o simulavr-vcd  disp.o vcd.o config_parser.o config_scanner.o ../getopt/libgnugetopt.a 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/disp-vcd'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT adc.o -MD -MP -MF ".deps/adc.Tpo" -c -o adc.o adc.c; \
then mv -f ".deps/adc.Tpo" ".deps/adc.Po"; else rm -f ".deps/adc.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT avrclass.o -MD -MP -MF ".deps/avrclass.Tpo" -c -o avrclass.o avrclass.c; \
then mv -f ".deps/avrclass.Tpo" ".deps/avrclass.Po"; else rm -f ".deps/avrclass.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT avrcore.o -MD -MP -MF ".deps/avrcore.Tpo" -c -o avrcore.o avrcore.c; \
then mv -f ".deps/avrcore.Tpo" ".deps/avrcore.Po"; else rm -f ".deps/avrcore.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT avrerror.o -MD -MP -MF ".deps/avrerror.Tpo" -c -o avrerror.o avrerror.c; \
then mv -f ".deps/avrerror.Tpo" ".deps/avrerror.Po"; else rm -f ".deps/avrerror.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT avrmalloc.o -MD -MP -MF ".deps/avrmalloc.Tpo" -c -o avrmalloc.o avrmalloc.c; \
then mv -f ".deps/avrmalloc.Tpo" ".deps/avrmalloc.Po"; else rm -f ".deps/avrmalloc.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT callback.o -MD -MP -MF ".deps/callback.Tpo" -c -o callback.o callback.c; \
then mv -f ".deps/callback.Tpo" ".deps/callback.Po"; else rm -f ".deps/callback.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT decoder.o -MD -MP -MF ".deps/decoder.Tpo" -c -o decoder.o decoder.c; \
then mv -f ".deps/decoder.Tpo" ".deps/decoder.Po"; else rm -f ".deps/decoder.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT device.o -MD -MP -MF ".deps/device.Tpo" -c -o device.o device.c; \
then mv -f ".deps/device.Tpo" ".deps/device.Po"; else rm -f ".deps/device.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT devsupp.o -MD -MP -MF ".deps/devsupp.Tpo" -c -o devsupp.o devsupp.c; \
then mv -f ".deps/devsupp.Tpo" ".deps/devsupp.Po"; else rm -f ".deps/devsupp.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT display.o -MD -MP -MF ".deps/display.Tpo" -c -o display.o display.c; \
then mv -f ".deps/display.Tpo" ".deps/display.Po"; else rm -f ".deps/display.Tpo"; exit 1; fi
if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Winline -Werror -I../src/getopt -Wall -g -std=gnu89 -O2 -MT eeprom.o -MD -MP -MF ".deps/eeprom.Tpo" -c -o eeprom.o eeprom.c; \
then mv -f ".deps/eeprom.Tpo" ".deps/eeprom.Po"; else rm -f ".deps/eeprom.Tpo"; exit 1; fi
eeprom.c: In function 'eeprom_dump_core':
eeprom.c:395:9: error: 'strncat' output may be truncated copying between 0 and 79 bytes from a string of length 79 [-Werror=stringop-truncation]
         strncat (line, buf, 80 - strlen(line) - 1);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:431: eeprom.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:454: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:318: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:337: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:29: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: