[R-pkg-team] Bug#1032545: r-cran-qpdf: FTBFS in testing: QPDF.hh:1569:36: error: ‘std::string_view’ has not been declared

Lucas Nussbaum lucas at debian.org
Wed Mar 8 20:30:38 GMT 2023


Source: r-cran-qpdf
Version: 1.3.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230307 ftbfs-bookworm

Hi,

During a rebuild of all packages in testing (bookworm), your package failed
to build on amd64.


Relevant part (hopefully):
> 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-wZDgjM/r-base-4.2.2.20221110=. -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:38,
>                  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"
>       |   ^~~~~~~
> /usr/include/qpdf/QPDF.hh:1569:36: error: ‘std::string_view’ has not been declared
>  1569 |     void linearizationWarning(std::string_view);
>       |                                    ^~~~~~~~~~~
> In file included from bindings.cpp:3:
> /usr/include/qpdf/QPDFWriter.hh:557:27: error: ‘std::string_view’ has not been declared
>   557 |     void writeString(std::string_view str);
>       |                           ^~~~~~~~~~~
> /usr/include/qpdf/QPDFWriter.hh:559:30: error: ‘std::string_view’ has not been declared
>   559 |     void writeStringQDF(std::string_view str);
>       |                              ^~~~~~~~~~~
> /usr/include/qpdf/QPDFWriter.hh:560:32: error: ‘std::string_view’ has not been declared
>   560 |     void writeStringNoQDF(std::string_view str);
>       |                                ^~~~~~~~~~~
> make[1]: *** [/usr/lib/R/etc/Makeconf:178: bindings.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/03/07/r-cran-qpdf_1.3.0+dfsg-1_testing.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230307;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230307&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the R-pkg-team mailing list