Summary: | media-libs/ftgl-2.1.3_rc5-r1 - [icu-75.1] FTVectoriser.cpp: error: invalid conversion from unsigned char to char [-fpermissive] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gentoo.qxrin, jwthaparc, konsolebox, leonchik1976, olafitohb, ted.d.rodgers |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=938014 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz media-libs:ftgl-2.1.3_rc5-r1:20240812-220110.log qlist-info.txt.xz temp.tar.xz Workaround/fix |
Description
Toralf Förster
2024-08-13 07:12:27 UTC
Created attachment 900010 [details]
emerge-info.txt
Created attachment 900011 [details]
emerge-history.txt.xz
Created attachment 900012 [details]
environment
Created attachment 900013 [details]
etc.clang.tar.xz
Created attachment 900014 [details]
etc.portage.tar.xz
Created attachment 900015 [details]
logs.tar.xz
Created attachment 900016 [details]
media-libs:ftgl-2.1.3_rc5-r1:20240812-220110.log
Created attachment 900017 [details]
qlist-info.txt.xz
Created attachment 900018 [details]
temp.tar.xz
Created attachment 900334 [details, diff]
Workaround/fix
Confirming the patch successfully works. Tested with: media-libs/ftgl-2.1.3_rc5-r1 sys-devel/gcc-15.0.0_pre20240818-r1 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d4d2a90596d3dc8b23b4b07e274c0d8517c8b7 commit 59d4d2a90596d3dc8b23b4b07e274c0d8517c8b7 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-23 11:21:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-23 11:21:26 +0000 media-libs/ftgl: fix build w/ freetype-2.13.3 Closes: https://bugs.gentoo.org/937849 Thanks-to: konsolebox <konsolebox@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../files/ftgl-2.1.3_rc5-freetype-2.13.3.patch | 49 ++++++++++++++++++ media-libs/ftgl/ftgl-2.1.3_rc5-r2.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 108 insertions(+) The fix breaks ABI, I'll fix it in a minute. I should've realised earlier. Break in what way? So you'll rely on forced casting instead? (In reply to konsolebox from comment #14) > Break in what way? So you'll rely on forced casting instead? Argument types are part of mangled names. (In reply to konsolebox from comment #14) > Break in what way? So you'll rely on forced casting instead? There isn't an alternative for C vs C++. libxml2 did the same thing not long ago. (In reply to Sam James from comment #16) > (In reply to konsolebox from comment #14) > > Break in what way? So you'll rely on forced casting instead? > > There isn't an alternative for C vs C++. libxml2 did the same thing not long > ago. Is forcing dependents to be rebuilt not a solution and is there a way to? Like perhaps adding a temporary subslot and doing a revision bump on the packages and specifying 'media-libs/ftgl:='? I also unpacked the latest versions of every package that depends on media-libs/ftgl. None of it references FTContour except their bundled copies of ftgl. I'm still running into this one, as of 12/13/24. I couldn't tell if there was a fix already from reading the comment thread. Just wanted to add that it does seem to still be occurring. This bug happened to me today, 21 december 2024, when updating For anyone complaining the problem still occurs please post your build.log and make sure you're installing 2.1.3_rc5-r2 and not 2.1.3_rc5-r1. Don't bother commenting if you can't. |