too long lines were shrinked: [48/135] /usr/bin/x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04 -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04_build -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04/goo -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04/fofi -I/var/tmp/portage/app-text/xp FAILED: xpdf/CMakeFiles/xpdf_objs.dir/GlobalParams.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04 -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04_build -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04/goo -I/var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04/fofi -I/var/tmp/portage/app-text/xpdf-4.04/w /var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04/xpdf/GlobalParams.cc: In constructor GlobalParams::GlobalParams(const char*): /var/tmp/portage/app-text/xpdf-4.04/work/xpdf-4.04/xpdf/GlobalParams.cc:661:35: error: invalid conversion from const char* to char* [-fpermissive] 661 | if ((paperName = systempapername())) { | ~~~~~~~~~~~~~~~^~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220912-150005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-12.2.1 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: 1) OpenJDK 17.0.5_p5 [openjdk-17] 2) OpenJDK 8.345_p01 [openjdk-8] 3) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 5) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] 6) Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-8 [2] openjdk-17 [3] openjdk-bin-8 [4] openjdk-bin-11 [5] openjdk-bin-17 system-vm [6] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * GNU Make 4.3 HEAD of ::gentoo commit bd6e9f4da5656ab29c4d271408b8d3a6f1277704 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Sep 15 11:01:56 2022 +0000 2022-09-15 11:01:56 UTC emerge -qpvO app-text/xpdf [ebuild N ] app-text/xpdf-4.04 USE="cmyk cups fontconfig i18n icons libpaper metric opi png textselect -utils -verify-sig"
Created attachment 805306 [details] emerge-info.txt
Created attachment 805309 [details] app-text:xpdf-4.04:20220915-113600.log
Created attachment 805312 [details] emerge-history.txt
Created attachment 805315 [details] environment
Created attachment 805318 [details] etc.portage.tar.bz2
Created attachment 805321 [details] logs.tar.bz2
Created attachment 805324 [details] temp.tar.bz2
ci has reproduced this issue with version 4.04-r1 - Updating summary.
Just add the following line to the src_prepare section of the ebuild sed -i "s/char \*paperName;/const char *paperName;/" xpdf/GlobalParams.cc
A patch would be better.
(In reply to Helmut Jarausch from comment #9) > Just add the following line to the src_prepare section of the ebuild > > sed -i "s/char \*paperName;/const char *paperName;/" xpdf/GlobalParams.cc This may break xpdf with older libpaper. I need to see what exactly changed there and patch will likely check libpaper version.
Just hit this in a world update: libpaper went from 1.x to 2.x, triggering a rebuild for xpdf which faileddue to this bug. Now depclean can't resolve the dependencies due to the incomplete world update. Any chance for this to get fixed in a timely fashion or should I rather look for an alternative?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e33adc640a4a1bf32892d9144ec060f9080b2e5 commit 7e33adc640a4a1bf32892d9144ec060f9080b2e5 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-09 10:16:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-09 10:16:27 +0000 app-text/xpdf: fix build w/ libpaper-2 Closes: https://bugs.gentoo.org/870217 Signed-off-by: Sam James <sam@gentoo.org> app-text/xpdf/files/xpdf-4.04-libpaper-2.patch | 14 ++++++++++++++ app-text/xpdf/xpdf-4.04-r1.ebuild | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-)
Wow. That was fast. XD Thank you!
(In reply to Marcel Schilling from comment #14) > Wow. That was fast. XD > Thank you! I'd totally forgot about this bug until I saw you CC/comment on it, so thank you!