too long lines were shrinked: /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -I../src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -I/usr/include/freetype2 -O2 -pipe -march=native -fno-diagnostics-color -c -o libftgl_la-FTV libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -I../src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -I/usr/include/freetype2 -O2 -pipe -march=native -fno-diagnostics-color -c FTSize.cpp -fPIC -DPIC -o .libs/libftgl_la-FTS libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -I../src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -I/usr/include/freetype2 -O2 -pipe -march=native -fno-diagnostics-color -c FTVectoriser.cpp -fPIC -DPIC -o .libs/libftgl_ /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -I../src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -I/usr/include/freetype2 -O2 -pipe -march=native -fno-diagnostics-color -c -o libftgl_la-FTG libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -I../src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -I/usr/include/freetype2 -O2 -pipe -march=native -fno-diagnostics-color -c FTGlyph/FTGlyph.cpp -fPIC -DPIC -o .libs/libft FTVectoriser.cpp: In member function 'void FTVectoriser::ProcessContours()': FTVectoriser.cpp:169:25: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive] 169 | char* tagList = &outline.tags[startIndex]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_systemd-20240808-180502 UNMASKED: Requested by sam ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.8 Python 3.12.5 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.79.0 [2] rust-1.79.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.2 [2] php8.3 * go version go1.22.6 linux/amd64 HEAD of ::gentoo commit 0d19d230f69c2dc406a457fd039cdd1ce64095e7 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Aug 12 20:34:02 2024 +0000 2024-08-12 20:34:02 UTC emerge -qpvO =media-libs/ftgl-2.1.3_rc5-r1 [ebuild N ] media-libs/ftgl-2.1.3_rc5-r1 USE="-static-libs"
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.