[Debian-med-packaging] Bug#957551: mlv-smile: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:06:19 BST 2020


Package: src:mlv-smile
Version: 1.47-6
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/mlv-smile_1.47-6_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

[...]
make[3]: Entering directory '/<<PKGBUILDDIR>>/P_BLOCS+DELTA'
find . -name "*~" -exec rm -f {} \;
rm -f obj/*o Spell/obj/*o
rm -f bin/x-smile_delta
echo CLEAN OK!!!
CLEAN OK!!!
make[3]: Leaving directory '/<<PKGBUILDDIR>>/P_BLOCS+DELTA'
make -C SigStat/ clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/SigStat'
find . -name "*~" -exec rm -f {} \;
rm -f obj/*o
rm -f bin/e-smile_shuffling bin/e-smile_against
make -C grep+/ clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/SigStat/grep+'
find . -name "*~" -exec rm -f {} \;
rm -f obj/*o Spell/obj/*o
CLEAN OK!!!
make[4]: Leaving directory '/<<PKGBUILDDIR>>/SigStat/grep+'
CLEAN OK!!!
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SigStat'
Clean OK.
**** Making P_BLOCS...
make -C P_BLOCS/ all
make[3]: Entering directory '/<<PKGBUILDDIR>>/P_BLOCS'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now src/global_fonctions.c -o obj/global_fonctions.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now src/construction.c -o obj/construction.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now src/liste_pos.c -o obj/liste_pos.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now src/allocateurs.c -o obj/allocateurs.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
src/allocateurs.c: In function ‘Alloc_Alloc_Cell’:
src/allocateurs.c:45:39: warning: implicit declaration of function ‘getpagesize’ [-Wimplicit-function-declaration]
   45 |   cel->data = (unsigned char *)malloc(getpagesize());
      |                                       ^~~~~~~~~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now src/bit_tab.c -o obj/bit_tab.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now src/libfasta.c -o obj/libfasta.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now src/global_variables.c -o obj/global_variables.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/global.c -o Spell/obj/global.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/criteres.c -o Spell/obj/criteres.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/pile_occ.c -o Spell/obj/pile_occ.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/spell.c -o Spell/obj/spell.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
Spell/src/spell.c: In function ‘spellModels’:
Spell/src/spell.c:569:13: warning: variable ‘tmpint’ set but not used [-Wunused-but-set-variable]
  569 | int         tmpint,
      |             ^~~~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/occ.c -o Spell/obj/occ.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/barre.c -o Spell/obj/barre.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/alphabet.c -o Spell/obj/alphabet.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
Spell/src/alphabet.c: In function ‘chargeAlphabet’:
Spell/src/alphabet.c:129:1: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  129 | fgets(line, 512, f);
      | ^~~~~~~~~~~~~~~~~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now Spell/src/model.c -o Spell/obj/model.o -c -Wall -ansi -O3 -Iinclude/ -ISpell/include/ -DOCC=1 -DAFF_OCC=0 
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wall -ansi -O3 -Iinclude/ -ISpell/include/ obj/*.o Spell/obj/*.o -o bin/x-smile -lm
/usr/bin/ld: obj/bit_tab.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
/usr/bin/ld: obj/construction.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
/usr/bin/ld: obj/global_fonctions.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
/usr/bin/ld: obj/global_variables.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
/usr/bin/ld: obj/liste_pos.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
/usr/bin/ld: Spell/obj/occ.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
/usr/bin/ld: Spell/obj/pile_occ.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
/usr/bin/ld: Spell/obj/spell.o:./P_BLOCS/include/define.h:23: multiple definition of `ALPHA_CARD'; obj/allocateurs.o:./P_BLOCS/include/define.h:23: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:48: bin/x-smile] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/P_BLOCS'
make[2]: *** [Makefile:11: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" "CC=gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now" returned exit code 2
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-med-packaging mailing list