Package: src:nanopolish; Maintainer for src:nanopolish is Debian Med Packaging Team <[email protected]>;
Reported by: Matthias Klose <[email protected]>
Date: Mon, 17 Feb 2025 17:42:12 UTC
Severity: important
Tags: forky, sid
Found in version nanopolish/0.14.0-1
Reply or subscribe to this bug.
View this report as an mbox folder, status mbox, maintainer mbox
Report forwarded
to Debian Med Packaging Team <[email protected]>
:
Bug#1097430
; Package src:nanopolish
.
(Mon, 17 Feb 2025 17:42:13 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <[email protected]>
:
New Bug report received and forwarded. Copy sent to Debian Med Packaging Team <[email protected]>
.
(Mon, 17 Feb 2025 17:42:13 GMT) (full text, mbox, link).
Message #5 received at [email protected] (full text, mbox, reply):
Package: src:nanopolish Version: 0.14.0-1 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15 [This bug is NOT targeted to the upcoming trixie release] 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/nanopolish_0.14.0-1_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other 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-15/porting_to.html [...] | long int g++ -o src/nanopolish_methyltrain.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_methyltrain.cpp g++ -o src/nanopolish_phase_reads.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_phase_reads.cpp g++ -o src/nanopolish_polya_estimator.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_polya_estimator.cpp g++ -o src/nanopolish_raw_loader.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_raw_loader.cpp src/nanopolish_polya_estimator.cpp: In function ‘void estimate_polya_for_single_read(const ReadDB&, const faidx_t*, FILE*, const bam_hdr_t*, const bam1_t*, size_t, int, int)’: src/nanopolish_polya_estimator.cpp:765:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=] 765 | fprintf(out_fp, "%s\t%s\t%d\t-1.0\t-1.0\t-1.0\t-1.0\t-1.00\t-1.00\tREAD_FAILED_LOAD\n", | ~^ | | | int | %ld 766 | read_name.c_str(), ref_name.c_str(), record->core.pos); | ~~~~~~~~~~~~~~~~ | | | long int src/nanopolish_polya_estimator.cpp:823:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=] 823 | fprintf(out_fp, "%s\t%s\t%d\t%.1lf\t%.1lf\t%.1lf\t%.1lf\t%.2lf\t%.2lf\t%s\n", | ~^ | | | int | %ld 824 | read_name.c_str(), ref_name.c_str(), record->core.pos, | ~~~~~~~~~~~~~~~~ | | | long int g++ -o src/nanopolish_read_db.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_read_db.cpp g++ -o src/nanopolish_scorereads.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_scorereads.cpp g++ -o src/nanopolish_squiggle_read.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_squiggle_read.cpp g++ -o src/nanopolish_train_poremodel_from_basecalls.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_train_poremodel_from_basecalls.cpp g++ -o src/nanopolish_variant_db.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_variant_db.cpp g++ -o src/nanopolish_vcf2fasta.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/nanopolish_vcf2fasta.cpp g++ -o src/pore_model/nanopolish_model_names.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/pore_model/nanopolish_model_names.cpp g++ -o src/pore_model/nanopolish_pore_model_set.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/pore_model/nanopolish_pore_model_set.cpp g++ -o src/pore_model/nanopolish_poremodel.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/pore_model/nanopolish_poremodel.cpp g++ -o src/training_core.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/training_core.cpp cc -o src/thirdparty/fet.o -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/thirdparty/fet.c cc -o src/thirdparty/scrappie/event_detection.o -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/thirdparty/scrappie/event_detection.c cc -o src/thirdparty/scrappie/scrappie_common.o -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/thirdparty/scrappie/scrappie_common.c cc -o src/thirdparty/stdaln.o -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/thirdparty/stdaln.c g++ -o nanopolish -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/main/nanopolish.o src/alignment/nanopolish_alignment_db.o src/alignment/nanopolish_anchor.o src/alignment/nanopolish_eventalign.o src/basemods/nanopolish_basemods.o src/common/fs_support.o src/common/logsum.o src/common/nanopolish_alphabet.o src/common/nanopolish_bam_processor.o src/common/nanopolish_bam_utils.o src/common/nanopolish_common.o src/common/nanopolish_iupac.o src/common/nanopolish_klcs.o src/common/nanopolish_variant.o src/hmm/nanopolish_duration_model.o src/hmm/nanopolish_profile_hmm.o src/hmm/nanopolish_profile_hmm_r7.o src/hmm/nanopolish_profile_hmm_r9.o src/hmm/nanopolish_transition_parameters.o src/io/nanopolish_fast5_io.o src/io/nanopolish_fast5_loader.o src/io/nanopolish_fast5_processor.o src/nanopolish_call_methylation.o src/nanopolish_call_variants.o src/nanopolish_detect_polyi.o src/nanopolish_fast5_check.o src/nanopolish_haplotype.o src/nanopolish_index.o src/nanopolish_methyltrain.o src/nanopolish_phase_reads.o src/nanopolish_polya_estimator.o src/nanopolish_raw_loader.o src/nanopolish_read_db.o src/nanopolish_scorereads.o src/nanopolish_squiggle_read.o src/nanopolish_train_poremodel_from_basecalls.o src/nanopolish_variant_db.o src/nanopolish_vcf2fasta.o src/pore_model/nanopolish_model_names.o src/pore_model/nanopolish_pore_model_set.o src/pore_model/nanopolish_poremodel.o src/training_core.o src/thirdparty/fet.o src/thirdparty/scrappie/event_detection.o src/thirdparty/scrappie/scrappie_common.o src/thirdparty/stdaln.o -lz -lrt -lhdf5 -lhts -lminimap2 -lslow5 -lstreamvbyte -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu/hdf5/serial make[2]: Leaving directory '/build/reproducible-path/nanopolish-0.14.0' /usr/bin/make nanopolish_test make[2]: Entering directory '/build/reproducible-path/nanopolish-0.14.0' g++ -o src/test/nanopolish_test.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2 -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -fPIC src/test/nanopolish_test.cpp In file included from src/test/nanopolish_test.cpp:24: ./src/hmm/invgauss.hpp: In function ‘bool operator==(const inverse_gaussian_distribution<Real_Type>&, const inverse_gaussian_distribution<Real_Type>&)’: ./src/hmm/invgauss.hpp:37:127: error: ‘const class inverse_gaussian_distribution<Real_Type>’ has no member named ‘params’; did you mean ‘param’? [-Wtemplate-body] 37 | friend bool operator == (const inverse_gaussian_distribution& lhs, const inverse_gaussian_distribution& rhs) { return lhs.params() == rhs.params(); } | ^~~~~~ | param ./src/hmm/invgauss.hpp:37:143: error: ‘const class inverse_gaussian_distribution<Real_Type>’ has no member named ‘params’; did you mean ‘param’? [-Wtemplate-body] 37 | friend bool operator == (const inverse_gaussian_distribution& lhs, const inverse_gaussian_distribution& rhs) { return lhs.params() == rhs.params(); } | ^~~~~~ | param ./src/hmm/invgauss.hpp: In function ‘std::ostream& operator<<(std::ostream&, const inverse_gaussian_distribution<Real_Type>&)’: ./src/hmm/invgauss.hpp:42:17: error: ‘const class inverse_gaussian_distribution<Real_Type>’ has no member named ‘p’; did you mean ‘_p’? [-Wtemplate-body] 42 | os << d.p.first << " " << d.p.second; | ^ | _p ./src/hmm/invgauss.hpp:42:37: error: ‘const class inverse_gaussian_distribution<Real_Type>’ has no member named ‘p’; did you mean ‘_p’? [-Wtemplate-body] 42 | os << d.p.first << " " << d.p.second; | ^ | _p make[2]: *** [Makefile:197: src/test/nanopolish_test.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/nanopolish-0.14.0' make[1]: *** [debian/rules:38: override_dh_auto_build] Error 2 make[1]: Leaving directory '/build/reproducible-path/nanopolish-0.14.0' make: *** [debian/rules:27: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Send a report that this bug log contains spam.
Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.