Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850106 - sys-fs/ncdu-2.1.2 does not respect LDFLAGS
Summary: sys-fs/ncdu-2.1.2 does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: ldflags
  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:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/ncdu-2.1.2 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-06 15:03:42 UTC
CC'ing also the author of the commit (434ae831b65c7791c02bbb2ff6837bdac31070a7)
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-06 15:03:44 UTC
Created attachment 783134 [details]
build.log

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

https://github.com/ziglang/zig/issues/3382
Comment 4 Larry the Git Cow gentoo-dev 2022-06-07 07:04:49 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(+)