[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032546: cups-filters: FTBFS in testing: QPDF.hh:1569:36: error: ‘std::string_view’ has not been declared



Source: cups-filters
Version: 1.28.17-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@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++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x  -D_PPD_DEPRECATED=""    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall  -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-intervalset.o `test -f 'filter/pdftopdf/intervalset.cc' || echo './'`filter/pdftopdf/intervalset.cc
> /usr/include/qpdf/QPDF.hh:1569:36: error: ‘std::string_view’ has not been declared
>  1569 |     void linearizationWarning(std::string_view);
>       |                                    ^~~~~~~~~~~
> g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x  -D_PPD_DEPRECATED=""    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall  -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-qpdf_tools.o `test -f 'filter/pdftopdf/qpdf_tools.cc' || echo './'`filter/pdftopdf/qpdf_tools.cc
> In file included from /usr/include/qpdf/Buffer.hh:26,
>                  from /usr/include/qpdf/QPDFObjectHandle.hh:36,
>                  from filter/pdftopdf/qpdf_tools.h:4,
>                  from filter/pdftopdf/qpdf_tools.cc: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"
>       |   ^~~~~~~
> g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x  -D_PPD_DEPRECATED=""    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall  -D_GNU_SOURCE -c -o filter/pdftopdf/pdftopdf-qpdf_xobject.o `test -f 'filter/pdftopdf/qpdf_xobject.cc' || echo './'`filter/pdftopdf/qpdf_xobject.cc
> /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 /usr/include/qpdf/Buffer.hh:26,
>                  from /usr/include/qpdf/QPDFObjectHandle.hh:36,
>                  from filter/pdftopdf/qpdf_xobject.h:4,
>                  from filter/pdftopdf/qpdf_xobject.cc: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"
>       |   ^~~~~~~
> make[3]: *** [Makefile:4224: filter/pdftopdf/pdftopdf-pdftopdf_processor.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/03/07/cups-filters_1.28.17-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.


Reply to: