Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785745 - [guru] dev-libs/ftl-1.0_p20210308 does not respect CFLAGS
Summary: [guru] dev-libs/ftl-1.0_p20210308 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: Sergey Torokhov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-04-25 22:03 UTC by Agostino Sarubbo
Modified: 2021-04-29 08:23 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,10.85 KB, text/plain)
2021-04-25 22:03 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 2021-04-25 22:03:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/ftl-1.0_p20210308 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 2021-04-25 22:03:44 UTC
Created attachment 702519 [details]
build.log

build log and emerge --info
Comment 2 Sergey Torokhov 2021-04-26 19:40:13 UTC
The only *.c file presented in project assumed by upstream to compile by  CXXCOMPILER with passing CXXFLAGS. It it really necessary to pass CFLAGS?

I.e. there is no calls of C-compiller (gcc), only g++ etc. and gfortran/ifort are called.

The project could use CXXCOMPILER to build *.cpp file in 'perftest' directory but the compilation of this is currently skipped.
Comment 3 Larry the Git Cow gentoo-dev 2021-04-29 08:23:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=60f15dba6835d3ec1b703a7d4d375df05a8fa6c7

commit 60f15dba6835d3ec1b703a7d4d375df05a8fa6c7
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2021-04-28 21:19:38 +0000
Commit:     Sergey Torokhov <torokhov-s-a@yandex.ru>
CommitDate: 2021-04-28 21:25:15 +0000

    dev-libs/ftl: fix FLAGS (i.e. FCFLAGS) reassigning, pass CXXFLAGS
    
    Closes: https://bugs.gentoo.org/785745
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>

 dev-libs/ftl/ftl-1.0_p20210308.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)