Source: r-cran-qpdf Version: 1.2.0+dfsg-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
https://buildd.debian.org/status/fetch.php?pkg=r-cran-qpdf&arch=amd64&ver=1.2.0%2Bdfsg-1%2Bb1&stamp=1663060773&raw=0 g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/qpdf/ -I'/usr/lib/R/site-library/Rcpp/include' -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-J8F88F/r-base-4.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c bindings.cpp -o bindings.o In file included from /usr/include/qpdf/Buffer.hh:26, from /usr/include/qpdf/QPDF.hh:37, from bindings.cpp:1: /usr/include/qpdf/PointerHolder.hh:31:3: warning: #warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" [-Wcpp] 31 | # warning "POINTERHOLDER_TRANSITION is not defined -- see qpdf/PointerHolder.hh" | ^~~~~~~ bindings.cpp: In function ‘QPDF read_pdf_with_password(const char*, const char*)’: bindings.cpp:27:10: error: use of deleted function ‘QPDF::QPDF(const QPDF&)’ 27 | return pdf; | ^~~ /usr/include/qpdf/QPDF.hh:941:5: note: declared here 941 | QPDF(QPDF const&) = delete; | ^~~~ bindings.cpp: In function ‘int cpp_pdf_length(const char*, const char*)’: bindings.cpp:32:53: error: use of deleted function ‘QPDF::QPDF(const QPDF&)’ 32 | QPDF pdf = read_pdf_with_password(infile, password); | ^ /usr/include/qpdf/QPDF.hh:941:5: note: declared here 941 | QPDF(QPDF const&) = delete; | ^~~~ bindings.cpp: In function ‘Rcpp::CharacterVector cpp_pdf_split(const char*, std::string, const char*)’: bindings.cpp:41:55: error: use of deleted function ‘QPDF::QPDF(const QPDF&)’ 41 | QPDF inpdf = read_pdf_with_password(infile, password); | ^ /usr/include/qpdf/QPDF.hh:941:5: note: declared here 941 | QPDF(QPDF const&) = delete; | ^~~~ bindings.cpp: In function ‘Rcpp::CharacterVector cpp_pdf_select(const char*, const char*, Rcpp::IntegerVector, const char*)’: bindings.cpp:61:55: error: use of deleted function ‘QPDF::QPDF(const QPDF&)’ 61 | QPDF inpdf = read_pdf_with_password(infile, password); | ^ /usr/include/qpdf/QPDF.hh:941:5: note: declared here 941 | QPDF(QPDF const&) = delete; | ^~~~ bindings.cpp: In function ‘Rcpp::CharacterVector cpp_pdf_combine(Rcpp::CharacterVector, const char*, const char*)’: bindings.cpp:82:64: error: use of deleted function ‘QPDF::QPDF(const QPDF&)’ 82 | QPDF inpdf = read_pdf_with_password(infiles.at(i), password); | ^ /usr/include/qpdf/QPDF.hh:941:5: note: declared here 941 | QPDF(QPDF const&) = delete; | ^~~~ bindings.cpp: In function ‘Rcpp::CharacterVector cpp_pdf_compress(const char*, const char*, bool, const char*)’: bindings.cpp:98:55: error: use of deleted function ‘QPDF::QPDF(const QPDF&)’ 98 | QPDF inpdf = read_pdf_with_password(infile, password); | ^ /usr/include/qpdf/QPDF.hh:941:5: note: declared here 941 | QPDF(QPDF const&) = delete; | ^~~~ bindings.cpp: In function ‘Rcpp::CharacterVector cpp_pdf_rotate_pages(const char*, const char*, Rcpp::IntegerVector, int, bool, const char*)’: bindings.cpp:111:55: error: use of deleted function ‘QPDF::QPDF(const QPDF&)’ 111 | QPDF inpdf = read_pdf_with_password(infile, password); | ^ /usr/include/qpdf/QPDF.hh:941:5: note: declared here 941 | QPDF(QPDF const&) = delete; | ^~~~ make[1]: *** [/usr/lib/R/etc/Makeconf:177: bindings.o] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>/src' make[1]: Entering directory '/<<PKGBUILDDIR>>/src' make[1]: Leaving directory '/<<PKGBUILDDIR>>/src' ERROR: compilation failed for package ‘qpdf’ * removing ‘/<<PKGBUILDDIR>>/debian/r-cran-qpdf/usr/lib/R/site-library/qpdf’ dh_auto_install: error: R CMD INSTALL -l /<<BUILDDIR>>/r-cran-qpdf-1.2.0\+dfsg/debian/r-cran-qpdf/usr/lib/R/site-library --clean . "--built-timestamp='Tue, 13 Sep 2022 09:19:17 +0000'" returned exit code 1 make: *** [debian/rules:4: binary-arch] Error 25 dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2 Cheers -- Sebastian Ramacher