Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 807121

Summary: [guru] dev-util/rust-analyzer-bin-2021.08.02 does not respect CFLAGS/LDFLAGS
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: James K <contrib_x>
Status: RESOLVED FIXED    
Severity: normal CC: guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 785607    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-08-08 07:44:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/rust-analyzer-bin-2021.08.02 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.
Comment 1 Agostino Sarubbo gentoo-dev 2021-08-08 07:44:51 UTC
Created attachment 731284 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-08-16 19:04:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=217d704dc2381bbd81f863816df07ae0d9f82a68

commit 217d704dc2381bbd81f863816df07ae0d9f82a68
Author:     James Kalyan <contrib_x@protonmail.com>
AuthorDate: 2021-08-12 12:33:10 +0000
Commit:     James Kalyan <contrib_x@protonmail.com>
CommitDate: 2021-08-12 14:06:45 +0000

    dev-util/rust-analyzer-bin: ignore irrelevant QA warning
    
    Closes: https://bugs.gentoo.org/807121
    Signed-off-by: James Kalyan <contrib_x@protonmail.com>

 dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.08.02.ebuild | 2 ++
 1 file changed, 2 insertions(+)