https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-devel/smatch-1.72 fails to compile. Discovered on: amd64 (internal ref: gcc15_tinderbox) System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 911004 [details] build.log build log and emerge --info
Patch sent upstream in https://lore.kernel.org/smatch/4aa87542-a6f5-48b6-9d06-aa67f6779faa@yahoo.com/T/#u
My patch was rejected. Current upstream patch: https://repo.or.cz/smatch.git/commit/b84a20732d9473a62627d89b5eea4f98b3640283
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183d0c261597f9bb247f19174f224bd307edc71c commit 183d0c261597f9bb247f19174f224bd307edc71c Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-01-30 14:47:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-10 08:51:46 +0000 sys-devel/smatch: update EAPI 7 -> 8, fix build failures with C23 Non-deterministic build, usage of unreachable() with completely different meaning than C23 intends, incompatible function pointer types. Add cgcc wrapper for "build and check project" process documented in sparse.rst, replace sparse readme with smatch.rst readme Closes: https://bugs.gentoo.org/944322 Closes: https://bugs.gentoo.org/881087 Closes: https://bugs.gentoo.org/882047 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org> sys-devel/smatch/files/smatch-1.72-C23.patch | 20 ++++++++ .../files/smatch-1.72-function-prototype.patch | 54 ++++++++++++++++++++++ sys-devel/smatch/files/smatch-1.72-make-deps.patch | 14 ++++++ .../{smatch-1.72.ebuild => smatch-1.72-r1.ebuild} | 19 +++++--- 4 files changed, 100 insertions(+), 7 deletions(-)