https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/lazarus-2.0.12 calls cc directly. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Created attachment 744948 [details] build.log build log and emerge --info
Possible context of error(s): /bin/sh: line 1: gcc: command not found Could not find libgcc
ci has reproduced this issue with version 2.2.0 - Updating summary.
ci has reproduced this issue with version 2.2.4 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4ae6502bc01de42621d6744ebca15b882de5fd commit dc4ae6502bc01de42621d6744ebca15b882de5fd Author: Michael Corvinus <voron1@gmail.com> AuthorDate: 2022-12-24 21:31:42 +0000 Commit: Amy Liffey <amynka@gentoo.org> CommitDate: 2023-01-11 09:40:50 +0000 dev-lang/lazarus: fix calling `gcc` directly The build system does things like GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`) Replace with ${CC}. Add QA_FLAGS_IGNORED and QA_PRESTRIPPED as FPC doesn't care about CFLAGS and does its own stripping. Closes: https://bugs.gentoo.org/818154 Closes: https://bugs.gentoo.org/737060 Signed-off-by: Michael Corvinus <voron1@gmail.com> Signed-off-by: Amy Liffey <amynka@gentoo.org> dev-lang/lazarus/Manifest | 1 + ...lazarus-2.2.4.ebuild => lazarus-2.2.4-r1.ebuild} | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-)
@Agostino Will it reopen if it reproduces the issue after the revbump?