Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864971 - [guru] dev-lang/hare-0_pre20220730 does not respect CFLAGS
Summary: [guru] dev-lang/hare-0_pre20220730 does not respect CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Haelwenn (lanodan) Monnier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2022-08-12 07:09 UTC by Agostino Sarubbo
Modified: 2022-08-24 15:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,95.58 KB, text/plain)
2022-08-12 07:09 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-12 07:09:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/hare-0_pre20220730 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.
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-12 07:09:55 UTC
Created attachment 799371 [details]
build.log

build log and emerge --info
Comment 2 Haelwenn (lanodan) Monnier 2022-08-12 21:59:32 UTC
>  * QA Notice: Files built without respecting CFLAGS have been detected
> *  Please include the following list of files in your report:
> * /usr/bin/haredoc
> * /usr/bin/hare

Seems like there is some detection issue, those aren't built by a C compiler but by hare(+qbe+as).
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-12 22:07:04 UTC
(In reply to Haelwenn (lanodan) Monnier from comment #2)
> >  * QA Notice: Files built without respecting CFLAGS have been detected
> > *  Please include the following list of files in your report:
> > * /usr/bin/haredoc
> > * /usr/bin/hare
> 
> Seems like there is some detection issue, those aren't built by a C compiler
> but by hare(+qbe+as).

You can silence the warning using the variables ago mentioned.
Comment 4 Larry the Git Cow gentoo-dev 2022-08-24 15:52:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2adbf5c546c515db2e132011e9ef606c54d1ed61

commit 2adbf5c546c515db2e132011e9ef606c54d1ed61
Author:     Haelwenn (lanodan) Monnier <contact@hacktivis.me>
AuthorDate: 2022-08-13 07:04:30 +0000
Commit:     Haelwenn (lanodan) Monnier <contact@hacktivis.me>
CommitDate: 2022-08-13 07:04:42 +0000

    dev-lang/hare: Add QA_FLAGS_IGNORED on hare-built binaries
    
    Closes: https://bugs.gentoo.org/864971
    Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>

 dev-lang/hare/hare-0_pre20220730.ebuild | 3 +++
 dev-lang/hare/hare-9999.ebuild          | 3 +++
 2 files changed, 6 insertions(+)