855 | void setInkPaths(const QList<QLinkedList<QPointF>> &paths); | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here 51 | template <class T> class QLinkedList; | ^~~~~~~~~~~ In file included from sources/pdfmodel.cpp:47: /usr/include/poppler/qt5/poppler-form.h:876:6: error: optional in namespace std does not name a template type 876 | std::optional<CryptoSignBackend> POPPLER_QT5_EXPORT activeCryptoSignBackend(); | ^~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_plasma_systemd-20230619-011930 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.6 Python 3.11.4 Available Rust versions: [1] rust-bin-1.69.0 [2] rust-1.69.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm php cli (if any): go version go1.20.5 linux/amd64 HEAD of ::gentoo commit c0b17c808c85bc0ef7227fb475f7cfeeabffb8f7 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Jun 23 13:02:04 2023 +0000 2023-06-23 13:02:04 UTC emerge -qpvO app-text/qpdfview [ebuild N ] app-text/qpdfview-0.5 USE="cups dbus pdf postscript -djvu -fitz -sqlite -svg -synctex"
Created attachment 864473 [details] emerge-info.txt
Created attachment 864474 [details] app-text:qpdfview-0.5:20230623-150131.log
Created attachment 864475 [details] emerge-history.txt.xz
Created attachment 864476 [details] environment
Created attachment 864477 [details] etc.clang.tar.xz
Created attachment 864478 [details] etc.portage.tar.xz
Created attachment 864479 [details] temp.tar.xz
With poppler stable, qpdfview build without error. emerge -1 poppler:0/128
current poppler stable is poppler-23.08.0 and the build fails for me with that, same error as OP. build succeeds with poppler-23.05.0.
Building with -std=gnu++17 will hopefully work.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b459a4ba460fb6a2d3be40648d5397ea19d70b commit e4b459a4ba460fb6a2d3be40648d5397ea19d70b Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-08 12:57:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-08 12:57:35 +0000 app-text/qpdfview: fix build w/ >=poppler-23.08.0 (build w/ c++17) Closes: https://bugs.gentoo.org/909037 Signed-off-by: Sam James <sam@gentoo.org> app-text/qpdfview/files/qpdfview-0.5-poppler-23.08.0-cxx17.patch | 9 +++++++++ app-text/qpdfview/qpdfview-0.5.ebuild | 4 ++++ 2 files changed, 13 insertions(+)
*** Bug 914032 has been marked as a duplicate of this bug. ***