Source: trn4 Version: 4.0-test77-12 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, trn4 started to FTBFS when GCC 10 was made the default compiler: gcc -Wl,-z,relro addng.o art.o artio.o artsrch.o autosub.o backpage.o bits.o cache.o charsubst.o datasrc.o decode.o edit_dist.o env.o final.o hash.o head.o help.o init.o intrp.o kfile.o last.o list.o mime.o ng.o ngdata.o ngsrch.o ngstuff.o only.o opt.o rcln.o rcstuff.o respond.o rthread.o rt-mt.o rt-ov.o rt-process.o rt-page.o rt-select.o rt-util.o rt-wumpus.o search.o sw.o term.o trn.o util.o util2.o uudecode.o parsedate.o nntpinit.o nntpclient.o nntpauth.o nntp.o wildmat.o color.o filter.o scan.o scmd.o sdisp.o smisc.o sorder.o spage.o scanart.o samain.o samisc.o sadisp.o sacmd.o sadesc.o sathread.o url.o mempool.o univ.o score.o scorefile.o scoresave.o score-easy.o tkstuff.o tktree.o -ltinfo -lm -lresolv -lnsl -o trn /usr/bin/ld: ng.o:./scan.h:105: multiple definition of `s_cur_type'; init.o:./scan.h:105: first defined here /usr/bin/ld: ng.o:./scan.h:96: multiple definition of `s_flags'; init.o:./scan.h:96: first defined here /usr/bin/ld: ng.o:./scan.h:95: multiple definition of `s_ptr_page_line'; init.o:./scan.h:95: first defined here /usr/bin/ld: ng.o:./scan.h:93: multiple definition of `s_desc_cols'; init.o:./scan.h:93: first defined here /usr/bin/ld: ng.o:./scan.h:92: multiple definition of `s_itemnum_cols'; init.o:./scan.h:92: first defined here /usr/bin/ld: ng.o:./scan.h:91: multiple definition of `s_cursor_cols'; init.o:./scan.h:91: first defined here /usr/bin/ld: ng.o:./scan.h:90: multiple definition of `s_status_cols'; init.o:./scan.h:90: first defined here /usr/bin/ld: ng.o:./scan.h:89: multiple definition of `s_bot_lines'; init.o:./scan.h:89: first defined here /usr/bin/ld: ng.o:./scan.h:88: multiple definition of `s_top_lines'; init.o:./scan.h:88: first defined here /usr/bin/ld: ng.o:./scan.h:86: multiple definition of `s_ref_desc'; init.o:./scan.h:86: first defined here /usr/bin/ld: ng.o:./scan.h:85: multiple definition of `s_ref_status'; init.o:./scan.h:85: first defined here /usr/bin/ld: ng.o:./scan.h:83: multiple definition of `s_ref_bot'; init.o:./scan.h:83: first defined here /usr/bin/ld: ng.o:./scan.h:82: multiple definition of `s_ref_top'; init.o:./scan.h:82: first defined here /usr/bin/ld: ng.o:./scan.h:81: multiple definition of `s_ref_all'; init.o:./scan.h:81: first defined here /usr/bin/ld: ng.o:./scan.h:79: multiple definition of `s_refill'; init.o:./scan.h:79: first defined here /usr/bin/ld: ng.o:./scan.h:78: multiple definition of `s_bot_ent'; init.o:./scan.h:78: first defined here /usr/bin/ld: ng.o:./scan.h:77: multiple definition of `s_top_ent'; init.o:./scan.h:77: first defined here /usr/bin/ld: ng.o:./scan.h:75: multiple definition of `page_ents'; init.o:./scan.h:75: first defined here /usr/bin/ld: ng.o:./scan.h:73: multiple definition of `s_page_size'; init.o:./scan.h:73: first defined here /usr/bin/ld: ng.o:./scan.h:71: multiple definition of `s_ent_index_max'; init.o:./scan.h:71: first defined here [...] 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