Source: xtrs
Version: 4.9c-4
Severity: serious
Tags: sid buster
Justification: fails to build from source (but built successfully in the past)

Hi,

xtrs FTBFS since gcc-8 became the default gcc,
probably due to usage of -Werror and new warnings being
emitted by the new compiler version:

cc -Wall -Werror -Wno-error=unused-but-set-variable -O2 -g -D_REENTRANT  
-DDEFAULT_ROM='"/usr/local/lib/xtrs/level2rom.hex"' 
-DDEFAULT_ROM3='"/usr/local/lib/xtrs/romimage.m3"' 
-DDEFAULT_ROM4P='"/usr/local/lib/xtrs/romimage.m4p"' -DREADLINE -DDISKDIR='"."' 
-I/usr/include/X11 -DAPPDEFAULTS='"/usr/X11/lib/X11/app-defaults"' -DKBWAIT   
-c -o cmddump.o cmddump.c
cmddump.c: In function 'main':
cmddump.c:78:7: error: 'strncat' output truncated copying between 0 and 8 bytes 
from a string of length 8 [-Werror=stringop-truncation]
       strncat(pdsbuf, "        ", 8 - strlen(pdsbuf));
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [<builtin>: cmddump.o] Error 1
make[1]: Leaving directory '/build/xtrs-4.9c'
make: *** [debian/rules:36: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Andreas

Attachment: xtrs_4.9c-4.log.gz
Description: application/gzip

Reply via email to