Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850109 - sys-fs/ncdu-2.1.2 does not respect CFLAGS
Summary: sys-fs/ncdu-2.1.2 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
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2022-06-06 15:03 UTC by Agostino Sarubbo
Modified: 2022-06-07 07:04 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,50.26 KB, text/plain)
2022-06-06 15: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 2022-06-06 15:03:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/ncdu-2.1.2 does not respect CFLAGS.
Discovered on: amd64 (internal ref: 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-06-06 15:03:48 UTC
CC'ing also the author of the commit (434ae831b65c7791c02bbb2ff6837bdac31070a7)
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-06 15:03:50 UTC
Created attachment 783137 [details]
build.log

build log and emerge --info
Comment 3 Eric Joldasov 2022-06-07 02:19:15 UTC
This is because dev-lang/zig doesn't respect CFLAGS

https://github.com/ziglang/zig/issues/3382
Comment 4 Larry the Git Cow gentoo-dev 2022-06-07 07:04:48 UTC
The bug has been closed via the following commit(s):

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

commit 3de57a5b81defa93c72a29490bd827c7e898079c
Author:     BratishkaErik <bratishkaerik@getgoogleoff.me>
AuthorDate: 2022-06-07 02:22:32 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-06-07 07:04:50 +0000

    sys-fs/ncdu: package can't respect LDFLAGS/CFLAGS/etc.
    
    Closes: https://bugs.gentoo.org/850106
    Closes: https://bugs.gentoo.org/850109
    Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
    Closes: https://github.com/gentoo/gentoo/pull/25781
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 sys-fs/ncdu/ncdu-2.1.2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)