This is an auto-filed bug because sci-electronics/gnucap does not respect CFLAGS/LDFLAGS. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches" and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to set also FFLAGS and FCFLAGS or just see this bug as an hint to hide the QA warning where is not possible to respect CFLAGS/LDFLAGS.
Created attachment 641842 [details] build.log.bz2 build log and emerge --info
tinderbox has reproduced this issue with version 0.35.20091207-r1 - Updating summary.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e79a95397bbf5564ba4b59fdd437b2ebe00d5a1d commit e79a95397bbf5564ba4b59fdd437b2ebe00d5a1d Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-01-27 18:25:46 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-01-27 18:27:54 +0000 sci-electronics/gnucap: add version 20210107 Closes: https://bugs.gentoo.org/614656 Bug: https://bugs.gentoo.org/628828 Bug: https://bugs.gentoo.org/792735 Bug: https://bugs.gentoo.org/731854 Bug: https://bugs.gentoo.org/725452 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-electronics/gnucap/Manifest | 1 + .../gnucap/files/gnucap-20210107-fix-paths.patch | 68 +++++++ .../files/gnucap-20210107-respect-ldflags.patch | 208 +++++++++++++++++++++ sci-electronics/gnucap/gnucap-20210107.ebuild | 21 +++ 4 files changed, 298 insertions(+)