Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889748 - net-analyzer/suricata-6.0.10[debug] does not respect CFLAGS
Summary: net-analyzer/suricata-6.0.10[debug] 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: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2023-01-04 19:51 UTC by Agostino Sarubbo
Modified: 2023-03-01 23:12 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,413.41 KB, text/plain)
2023-01-04 19:51 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 2023-01-04 19:51:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/suricata-6.0.9 does not respect CFLAGS.
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
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 2023-01-04 19:51:46 UTC
Created attachment 847250 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-01 11:10:11 UTC
ci has reproduced this issue with version 6.0.10 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2023-03-01 23:12:08 UTC
The bug has been closed via the following commit(s):

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

commit b17adffd47e3d9b107b7c25fb1f17a2edf3df605
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-03-01 22:29:51 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-03-01 23:11:58 +0000

    net-analyzer/suricata: allow ignoring CFLAGS for USE=debug
    
    We set specific compiler flags when Suricata is built in debug mode in
    order to confirm with upstream bug-reporting policy.
    
    Closes: https://bugs.gentoo.org/889748
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-analyzer/suricata/suricata-6.0.10.ebuild | 1 +
 1 file changed, 1 insertion(+)