https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-misc/castor-0.8.16 does not respect CFLAGS/LDFLAGS. Discovered on: amd64 (internal ref: guru_ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html 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 704178 [details] build.log build log and emerge --info
It's a Rust package. Looks like false positive
At least one of the rust modules (“libc”) tries to compile C code. When I test it in my chroot, it complains that it cannot find `cc`.
Packages in ::gentoo just use something like # Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings QA_FLAGS_IGNORED="usr/bin/filename"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46b3080056af8407d4b87cf99e8eaff314cad91d commit 46b3080056af8407d4b87cf99e8eaff314cad91d Author: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> AuthorDate: 2021-05-01 14:10:03 +0000 Commit: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> CommitDate: 2021-05-01 14:10:03 +0000 net-misc/castor: Ignore QA warning about flags. Closes: https://bugs.gentoo.org/787077 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> net-misc/castor/castor-0.8.15.ebuild | 5 ++++- net-misc/castor/castor-0.8.16.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-)