https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/pnpm-bin-8.7.5 does not respect CFLAGS. Discovered on: amd64 (internal ref: guru_ci) NOTE: To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS. If this is not something about c/c++ context see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS.
Created attachment 870582 [details] build.log build log and emerge --info
I don't see how a -bin package could respect CFLAGS given it installs a precompiled binary provided by upstream.
This is a valid bug. It should be solved by adding a QA variable to the ebuild (like QA_PREBUILT). The maintainer tried to fix it with QA_FLAGS_IGNORED, which should also work, but the expression is wrong.
It's a bogus bug because the bug implicitly suggests that running a CI to find issues like this, then shotgunning the bugtracker with individual bug reports containing bits and pieces of the actual problem, is going to solve anything. :) But perhaps Agostino's CI is open source and we can contribute bug fixes to it to make this not happen again? The correct answer is of course that for packages which ship prebuilt upstream binaries, it should indeed use QA_PREBUILT, and the tinderbox CI should detect this case and recommend the correct solution, rather than the wrong one. *** This bug has been marked as a duplicate of bug 914190 ***
Thanks for your hint. However there is nothing broken. They are different problems and then need to be tracked seaprately.
They are not different problems! It is semantically incorrect to use QA_FLAGS_IGNORED. There is a simple and straightforward heuristic that can be automated to detect that these problems should be coalesced into one, and also that the one in question has a different recommended solution than the incorrect suggestion given here. I will never understand why you are so opposed to the idea of having useful, accurate, reliable CI.
SOLVED here https://bugs.gentoo.org/914190#c2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe242a03ee1867f4fa700680c638156c720d4b52 commit fe242a03ee1867f4fa700680c638156c720d4b52 Author: Vitaly Zdanevich <zdanevich.vitaly@ya.ru> AuthorDate: 2024-02-15 10:59:24 +0000 Commit: Vitaly Zdanevich <zdanevich.vitaly@ya.ru> CommitDate: 2024-02-15 10:59:24 +0000 sys-apps/pnpm-bin: replace QA_FLAGS_IGNORED to QA_PREBUILT Closes: https://bugs.gentoo.org/show_bug.cgi?id=914190 Closes: https://bugs.gentoo.org/show_bug.cgi?id=914191 Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru> sys-apps/pnpm-bin/pnpm-bin-8.7.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)