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

Bug 836271

Summary: dev-util/hip-5.3.3-r1 does not respect CFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: candrews, gentoo, xgreenlandforwyy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-03-27 13:08:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/hip-5.0.2 does not respect CFLAGS.
Discovered on: amd64 (internal ref: 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.
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-27 13:08:19 UTC
Created attachment 767967 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-14 06:42:50 UTC
ci has reproduced this issue with version 5.0.2-r1 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2022-06-22 13:57:24 UTC
ci has reproduced this issue with version 5.0.2-r2 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-08-07 05:35:56 UTC
ci has reproduced this issue with version 5.1.3 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2022-09-12 09:14:59 UTC
ci has reproduced this issue with version 5.1.3-r1 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2022-11-20 08:47:57 UTC
ci has reproduced this issue with version 5.1.3-r2 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2022-12-20 10:19:18 UTC
ci has reproduced this issue with version 5.3.3 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2023-01-21 06:48:56 UTC
ci has reproduced this issue with version 5.3.3-r1 - Updating summary.
Comment 9 Yiyang Wu 2023-01-25 04:08:40 UTC
I cannot reproduce this even with adding "-frecord-gcc-switches" to CFLAGS/CXXFLAGS, using sys-devel/gcc-12.2.1_p20221231
Comment 10 Agostino Sarubbo gentoo-dev 2023-01-25 07:31:29 UTC
(In reply to Yiyang Wu from comment #9)
> I cannot reproduce this even with adding "-frecord-gcc-switches" to
> CFLAGS/CXXFLAGS, using sys-devel/gcc-12.2.1_p20221231

comment 0 says to add it to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS
Comment 11 Yiyang Wu 2023-01-25 09:06:17 UTC
(In reply to Agostino Sarubbo from comment #10)
> (In reply to Yiyang Wu from comment #9)
> > I cannot reproduce this even with adding "-frecord-gcc-switches" to
> > CFLAGS/CXXFLAGS, using sys-devel/gcc-12.2.1_p20221231
> 
> comment 0 says to add it to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS

Thanks, after setting "-frecord-gcc-switches" to all four flags I can reproduce this issue.
Comment 12 Larry the Git Cow gentoo-dev 2023-01-31 13:32:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ca9fcf9bce9f636f1db0af1892758c61ec0285

commit a4ca9fcf9bce9f636f1db0af1892758c61ec0285
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2023-01-25 09:17:31 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2023-01-31 13:31:37 +0000

    dev-util/hip: ignore QA FLAG check for libhiprtc-builtins
    
    Closes: https://bugs.gentoo.org/836271
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 dev-util/hip/hip-5.3.3-r2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)