too long lines were shrinked: | ~~~~~~~~~~~~~~~~^~~~~ [44/190] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_NO_LIB -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0 -I/var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0/fofi -I/var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0/goo -I/var/tmp/portag FAILED: CMakeFiles/poppler.dir/poppler/ImageEmbeddingUtils.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_NO_LIB -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0 -I/var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0/fofi -I/var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0/goo -I/var/tmp/portage/app-tex /var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0/poppler/ImageEmbeddingUtils.cc:298:5: error: ‘jmp_buf’ does not name a type 298 | jmp_buf setjmpBuffer; | ^~~~~~~ /var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0/poppler/ImageEmbeddingUtils.cc: In function ‘void ImageEmbeddingUtils::jpegExitErrorHandler(j_common_ptr)’: /var/tmp/portage/app-text/poppler-21.12.0/work/poppler-21.12.0/poppler/ImageEmbeddingUtils.cc:307:27: error: ‘struct ImageEmbeddingUtils::JpegErrorManager’ has no member named ‘setjmpBuffer’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4-20211130-070103 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.21.0 [icedtea-8] 2) IcedTea JDK 3.16.0 [icedtea-bin-8] 3) OpenJDK 8.312_p07 [openjdk-8] *) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 [3] openjdk-8 [4] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 3426f05e759eb2a52029a5fe1a00b29403bedef7 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Dec 8 16:51:45 2021 +0000 2021-12-08 16:51:44 UTC emerge -qpvO app-text/poppler [ebuild U ] app-text/poppler-21.12.0 [21.11.0] USE="cxx introspection jpeg jpeg2k lcms utils -boost -cairo -cjk -curl -debug -doc -nss -png -qt5 -tiff"
Created attachment 757746 [details] emerge-info.txt
Created attachment 757747 [details] app-text:poppler-21.12.0:20211208-170702.log
Created attachment 757748 [details] emerge-history.txt
Created attachment 757749 [details] environment
Created attachment 757750 [details] etc.portage.tar.bz2
Created attachment 757751 [details] logs.tar.bz2
Created attachment 757752 [details] temp.tar.bz2
Created attachment 758128 [details, diff] poppler_include-setjmp.patch The problem seems the -png use flag, with the patch the compilation is successful.
(In reply to Marco Genasci from comment #8) > Created attachment 758128 [details, diff] [details, diff] > poppler_include-setjmp.patch > > The problem seems the -png use flag, with the patch the compilation is > successful. Thanks for your patch, are you prepared to take it to upstream? https://gitlab.freedesktop.org/poppler/poppler
I opened a PR upstream https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1016
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804c291fd052088c649652a91fca2c0e6db6bb7c commit 804c291fd052088c649652a91fca2c0e6db6bb7c Author: Marco Genasci <fedeliallalinea@gmail.com> AuthorDate: 2021-12-12 17:43:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-12 18:48:36 +0000 app-text/poppler: add upstream patch for -png use flag compilation Closes: https://bugs.gentoo.org/828578 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23270 Signed-off-by: Sam James <sam@gentoo.org> .../files/poppler-21.12.0-include-csetjmp.patch | 27 ++++++++++++++++++++++ app-text/poppler/poppler-21.12.0.ebuild | 1 + 2 files changed, 28 insertions(+)