Source: xfractint
Version: 20.4.10-2
Severity: serious
Tags: ftbfs sid bullseye
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Hi,

xfractint started to FTBFS when GCC 10 was made the default compiler:

/usr/bin/gcc -o xfractint -I./headers -DXFRACT  -DNOBSTRING   -g -DBIG_ANSI_C 
-DLINUX -fno-builtin -O2 ./common/3d.o ./common/ant.o ./common/bigflt.o  
./common/biginit.o ./common/bignum.o ./common/bignumc.o ./common/calcfrac.o 
./common/cmdfiles.o ./common/decoder.o ./common/editpal.o ./common/encoder.o 
./common/evolve.o ./common/f16.o ./common/fracsubr.o ./common/fractalb.o 
./common/fractalp.o ./common/fractals.o ./common/fractint.o ./common/framain2.o 
./common/frasetup.o ./common/gifview.o ./common/hcmplx.o ./common/help.o 
./common/history.o ./common/intro.o ./common/jb.o ./common/jiim.o 
./common/line3d.o ./common/loadfdos.o ./common/loadfile.o ./common/loadmap.o 
./common/lorenz.o ./common/lsys.o ./common/lsysf.o ./common/memory.o 
./common/miscfrac.o ./common/miscovl.o ./common/miscres.o ./common/mpmath_c.o 
./common/parser.o ./common/parserfp.o ./common/plot3d.o ./common/printer.o 
./common/prompts1.o ./common/prompts2.o ./common/realdos.o ./common/rotate.o 
./common/slideshw.o ./common/soi.o ./common/soi1.o ./common/stereo.o 
./common/targa.o ./common/testpt.o ./common/tgaview.o ./common/zoom.o 
./unix/calcmand.o ./unix/calmanfp.o ./unix/diskvidu.o ./unix/fpu087.o 
./unix/fracsuba.o ./unix/general.o ./unix/unix.o ./unix/xfcurses.o 
./unix/unixscr.o ./unix/video.o -L/usr/X11R6/lib -lX11 -lm
/usr/bin/ld: 
./common/fractals.o:/build/xfractint-20.4.10/common/fractals.c:3434: multiple 
definition of `b_const'; 
./common/fractalb.o:/build/xfractint-20.4.10/common/fractalb.c:24: first 
defined here
/usr/bin/ld: ./unix/video.o:/build/xfractint-20.4.10/unix/video.c:14: multiple 
definition of `curwin'; 
./unix/xfcurses.o:/build/xfractint-20.4.10/unix/xfcurses.c:78: first defined 
here
/usr/bin/ld: ./unix/video.o:/build/xfractint-20.4.10/unix/video.c:47: multiple 
definition of `boxcolor'; 
./common/zoom.o:/build/xfractint-20.4.10/common/zoom.c:38: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:302: xfractint] Error 1

More information about the corresponding GCC change can be found here:
https://gcc.gnu.org/gcc-10/porting_to.html
"Default to -fno-common"


Andreas

Reply via email to