[Debian-med-packaging] Bug#853604: pbsim: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:34:56 UTC 2017
Package: src:pbsim
Version: 1.0.3-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/pbsim_1.0.3-2_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html
[...]
fprintf(fp_maf, " %d %s\n", ref.len, mut.maf_ref_seq);
~~~~~~~ ^
pbsim.cpp:1527:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(fp_maf, " %d %c", len, mut.seq_strand);
^
pbsim.cpp:1531:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(fp_maf, " %d %s\n\n", len, mut.maf_seq);
^
pbsim.cpp: In function 'void print_sim_param()':
pbsim.cpp:1608:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
sim.sub_ratio, sim.ins_ratio, sim.del_ratio);
~~~~~~~~~~~~~ ^
pbsim.cpp:1608:48: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
pbsim.cpp:1608:48: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
pbsim.cpp: In function 'int set_mut()':
pbsim.cpp:1618:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
mut.sub_nt_a = "TGC";
^~~~~
pbsim.cpp:1619:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
mut.sub_nt_t = "AGC";
^~~~~
pbsim.cpp:1620:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
mut.sub_nt_g = "ATC";
^~~~~
pbsim.cpp:1621:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
mut.sub_nt_c = "ATG";
^~~~~
pbsim.cpp:1622:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
mut.sub_nt_n = "ATGC";
^~~~~~
pbsim.cpp:1623:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
mut.ins_nt = "ATGC";
^~~~~~
pbsim.cpp: In function 'void print_simulation_stats()':
pbsim.cpp:1816:69: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(stderr, ":::: Simulation stats (ref.%d) ::::\n\n", ref.num);
~~~~~~~^
Makefile:224: recipe for target 'pbsim.o' failed
make[3]: *** [pbsim.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Makefile:222: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:161: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Debian-med-packaging
mailing list