https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/lazarus-2.0.6 does not respect CFLAGS/LDFLAGS. Discovered on: amd64 (internal ref: tinderbox) NOTE: To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Created attachment 654548 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
ci has reproduced this issue with version 2.0.12 - Updating summary.
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(-)