prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int parse_gridspec(); ^ fig2dev.c:376:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main(argc, argv) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20221005-010004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.2 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 [2] php8.0 * [3] php8.1 GNU Make 4.3 HEAD of ::gentoo commit 967d86534133ca4f4647fb29031b2b839b91e240 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Oct 5 09:48:55 2022 +0000 2022-10-05 09:48:54 UTC emerge -qpvO media-gfx/transfig [ebuild N ] media-gfx/transfig-3.2.5e-r1
Created attachment 820963 [details] emerge-info.txt
Created attachment 820966 [details] clang.tar.bz2
Created attachment 820969 [details] emerge-history.txt
Created attachment 820972 [details] environment
Created attachment 820975 [details] etc.portage.tar.bz2
Created attachment 820978 [details] media-gfx:transfig-3.2.5e-r1:20221005-102857.log
Created attachment 820981 [details] temp.tar.bz2
*** Bug 882277 has been marked as a duplicate of this bug. ***
Created attachment 871864 [details, diff] transfig-3.2.5e-r1-clang-17.patch Hello, this patch allowed me to build transfig-3.2.5e-r1 with clang-17.
Created attachment 871865 [details, diff] transfig-3.2.5e-r1-clang-17.patch Wrong patch, sorry.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aecf0e611fd26ef621d8096459595cc6ccba3c49 commit aecf0e611fd26ef621d8096459595cc6ccba3c49 Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> AuthorDate: 2024-01-23 07:12:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-24 13:37:35 +0000 media-gfx/transfig: fix modern C issues Closes: https://bugs.gentoo.org/875419 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/34971 Signed-off-by: Sam James <sam@gentoo.org> .../transfig/files/transfig-3.2.5e-clang-17.patch | 258 +++++++++++++++++++++ media-gfx/transfig/transfig-3.2.5e-r2.ebuild | 1 + 2 files changed, 259 insertions(+)