Summary: | sys-apps/portage: add QA check for ignored RUSTFLAGS (meanwhile rust packages use QA_FLAGS_IGNORED to suppress false positives) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Agostino Sarubbo <ago> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=913908 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 59506, 331933 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2021-06-20 13:03:06 UTC
Created attachment 716952 [details]
build.log
build log and emerge --info
I wonder if there some way to do the equivalent of CFLAGS=-frecord-gcc-switches in RUSTFLAGS so that portage can QA check to see if your RUSTFLAGS visible in the binaries? > <zmedico> gyakovlev: is there some way to do the equivalent of CFLAGS=-frecord-gcc-switches in RUSTFLAGS so that portage QA check to see if your RUSTFLAGS visible in the binaries? Related bug report is this one about dev-lang/starlark-rust no respecting CFLAGS/LDFLAGS: https://bugs.gentoo.org/796887
> -*- zmedico reassigned the bug to dev-portage
> <gyakovlev> zmedico: last time I checked it was an unstable options ( gated behind -Z flag)
> <gyakovlev> so it will not work with USE=nightly
> <gyakovlev> without*
> <zmedico> aha I peaked behind -Z and there was lots of stuff there :-)
> <zmedico> can fix it in portage after it's available in stable
Rust packages will have to use QA_FLAGS_IGNORED until we've got some kind of RUSTFLAGS support. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82ff8557c0395218bd635c2e14c71b1ce026afa0 commit 82ff8557c0395218bd635c2e14c71b1ce026afa0 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-06-22 20:36:45 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-06-22 20:45:43 +0000 dev-lang/starlark-rust: set QA_FLAGS_IGNORED=".*" (bug 796887) Bug: https://bugs.gentoo.org/796887 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-lang/starlark-rust/starlark-rust-0.4.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) |