Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724076 - dev-scheme/guile-json does not respect CFLAGS
Summary: dev-scheme/guile-json does not respect CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2020-05-19 19:47 UTC by Agostino Sarubbo
Modified: 2020-06-14 13:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,15.14 KB, text/plain)
2020-05-19 19:47 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 2020-05-19 19:47:25 UTC
This is an auto-filed bug because dev-scheme/guile-json does not respect CFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches". If this is not something about c/c++ context you may want to set also FFLAGS and FCFLAGS or just see this bug as an hint to hide the QA warning where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-19 19:47:33 UTC
Created attachment 640402 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-19 20:31:11 UTC
"""
 * QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/guile/2.2/site-ccache/json/parser.go
 * /usr/lib64/guile/2.2/site-ccache/json/builder.go
 * /usr/lib64/guile/2.2/site-ccache/json.go
"""

These files (and any files built with guile) don't contain native code and they are not built from C sources.
Comment 3 Agostino Sarubbo gentoo-dev 2020-05-19 20:35:23 UTC
(In reply to Sergei Trofimovich from comment #2)
> """
>  * QA Notice: Files built without respecting CFLAGS have been detected
>  *  Please include the following list of files in your report:
>  * /usr/lib64/guile/2.2/site-ccache/json/parser.go
>  * /usr/lib64/guile/2.2/site-ccache/json/builder.go
>  * /usr/lib64/guile/2.2/site-ccache/json.go
> """
> 
> These files (and any files built with guile) don't contain native code and
> they are not built from C sources.

if you think that the portage qa warning can be improved to bypass these situations, otherwise this is to  hide the qa warning as mentioned in comment 0
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-19 21:08:24 UTC
That is known as a portage's bug #677600. We can workaround it all over the tree. Should we though?

comment 0 mentions no bug numbers except this bug. But maybe I'm reading it wrong.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2020-06-14 13:53:53 UTC
Added a workaround.