Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887663 - [guru] dev-util/tflint-bin-0.46.0 does not respect CFLAGS
Summary: [guru] dev-util/tflint-bin-0.46.0 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: Gabriel M. Dutra
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2022-12-21 10:17 UTC by Agostino Sarubbo
Modified: 2024-04-28 21:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,45.39 KB, text/plain)
2022-12-21 10:17 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-12-21 10:17:06 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/tflint-bin-0.43.0 does not respect CFLAGS.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
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-12-21 10:17:08 UTC
Created attachment 844365 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-04-24 07:24:25 UTC
guru_ci has reproduced this issue with version 0.46.0 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2024-04-28 21:05:29 UTC
The bug has been closed via the following commit(s):

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

commit dc980dcb3d4711303a9b53edf662bceea9e50eb4
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2024-04-28 17:10:20 +0000
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2024-04-28 17:12:50 +0000

    dev-util/tflint-bin: add QA_{FLAGS_IGNORED,PREBUILT} for prebuilt file
    
    Fix VariableOrderCheck
    Bump copyright
    
    Closes: https://bugs.gentoo.org/887665
    Closes: https://bugs.gentoo.org/887663
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 dev-util/tflint-bin/tflint-bin-0.43.0.ebuild | 10 ++++++----
 dev-util/tflint-bin/tflint-bin-0.46.0.ebuild | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)