Summary: | app-text/xpdf-4.04-r1 - /.../GlobalParams.cc: error: invalid conversion from const char to char [-fpermissive] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Andrew Savchenko <bircoph> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs.gentoo.org, grozin, marcel.schilling, proteuss |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://forum.xpdfreader.com/viewtopic.php?t=42367 | ||
See Also: | https://github.com/rrthomas/libpaper/issues/29 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 888703 | ||
Attachments: |
emerge-info.txt
app-text:xpdf-4.04:20220915-113600.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
![]() 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! |