Created attachment 855020 [details] build.log /usr/include/qpdf/QPDFWriter.hh:560:32: error: ‘std::string_view’ has not been declared std::string_view was introduced in c++17, and the ebuild was compiled with c++11, so the error occurs. I will raise a pr.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67821b27fe794c645040025594950eac26fd9e3c commit 67821b27fe794c645040025594950eac26fd9e3c Author: Yu Gu <guyu2876@gmail.com> AuthorDate: 2023-02-27 13:29:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-27 22:30:28 +0000 net-print/cups-filters: fix compile failure /usr/include/qpdf/QPDFWriter.hh:560:32: error: ‘std::string_view’ has not been declared std::string_view was introduced in c++17, and the ebuild was compiled with c++11, so the error occurs. Bug: https://bugs.gentoo.org/898156 Signed-off-by: Yu Gu <guyu2876@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29831 Signed-off-by: Sam James <sam@gentoo.org> .../cups-filters/cups-filters-1.28.17-r1.ebuild | 145 +++++++++++++++++++++ 1 file changed, 145 insertions(+)
Can you send something upstream too please? Thanks! Either qpdf needs to indicate this in its pkgconfig file & cmake files, or cups-filters needs to respect the settings qpdf is exposing.
(In reply to Sam James from comment #2) > Can you send something upstream too please? Thanks! > > Either qpdf needs to indicate this in its pkgconfig file & cmake files, or > cups-filters needs to respect the settings qpdf is exposing. Sure. I added the issue on see also
This fix breaks the build for clang profile, see bug 901243