[Debian-med-packaging] Bug#957198: fermi-lite: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:00:00 BST 2020
Package: src:fermi-lite
Version: 0.1-9
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/fermi-lite_0.1-9_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
[...]
dh_auto_configure
dh_auto_build
make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kthread.o kthread.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bseq.o bseq.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o htab.o htab.c
misc.c: In function ‘fml_utg_print’:
misc.c:211:12: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
211 | int i, j, l;
| ^
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bfc.o bfc.c
bfc.c: In function ‘bfc_kmer_insert’:
bfc.c:54:17: warning: variable ‘hash’ set but not used [-Wunused-but-set-variable]
54 | uint64_t y[2], hash;
| ^~~~
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rle.o rle.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rope.o rope.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mrope.o mrope.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rld0.o rld0.c
rld0.c: In function ‘rld_restore’:
rld0.c:298:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
298 | fread(e->z[i], 8, RLD_LSIZE, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rld0.c:299:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
299 | fread(e->z[i], 8, k, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
rld0.c:301:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
301 | fread(e->frame, 8 * e->asize1, e->n_frames, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rld0.c: In function ‘rld_restore_header’:
rld0.c:256:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
256 | fread(magic, 1, 4, fp);
| ^~~~~~~~~~~~~~~~~~~~~~
rld0.c:258:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
258 | fread(&x, 4, 1, fp);
| ^~~~~~~~~~~~~~~~~~~
rld0.c:260:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
260 | fread(a, 8, 3, fp);
| ^~~~~~~~~~~~~~~~~~
rld0.c:262:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
262 | fread(e->mcnt + 1, 8, e->asize, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o unitig.o unitig.c
unitig.c: In function ‘unitig1’:
unitig.c:325:16: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
325 | int seed_len, ret, is_loop, contained;
| ^~~
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mag.o mag.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bubble.o bubble.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ksw.o ksw.c
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c -o example.o example.c
ar -csru libfml.a kthread.o misc.o bseq.o htab.o bfc.o rle.o rope.o mrope.o rld0.o unitig.o mag.o bubble.o ksw.o
cc -Wl,-z,relro -Wl,-z,now -shared -o libfml.so.0 kthread.o misc.o bseq.o htab.o bfc.o rle.o rope.o mrope.o rld0.o unitig.o mag.o bubble.o ksw.o -fPIC -Wl,-soname,libfml.so.0 -lm -lz -lpthread
ar: `u' modifier ignored since `D' is the default (see `U')
/usr/bin/ld: cc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -g -Wall -O2 -fPIC libfml.a example.o -o fml-asm -L. -lfml -lm -lz -lpthread
rle.o:./rle.h:33: multiple definition of `rle_auxtab'; misc.o:./rle.h:33: first defined here
/usr/bin/ld: rope.o:./rle.h:33: multiple definition of `rle_auxtab'; misc.o:./rle.h:33: first defined here
/usr/bin/ld: ./libfml.a(rope.o):./rle.h:33: multiple definition of `rle_auxtab'; ./libfml.a(misc.o):./rle.h:33: first defined here
/usr/bin/ld: ./libfml.a(rle.o):./rle.h:33: multiple definition of `rle_auxtab'; ./libfml.a(misc.o):./rle.h:33: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:24: libfml.so.0] Error 1
make[1]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:18: fml-asm] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:12: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list