Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890457 - dev-lang/zig-0.10.0 does not respect LDFLAGS
Summary: dev-lang/zig-0.10.0 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: Eric Joldasov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2023-01-11 08:20 UTC by Agostino Sarubbo
Modified: 2023-01-14 19:17 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,143.92 KB, application/x-xz)
2023-01-11 08:20 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-11 08:20:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/zig-0.10.0 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 2023-01-11 08:20:46 UTC
Created attachment 848201 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Larry the Git Cow gentoo-dev 2023-01-14 19:17:26 UTC
The bug has been closed via the following commit(s):

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

commit 766ffdacc8e269ad975a010bb9124024e7272fd7
Author:     Eric Joldasov <bratishkaerik@getgoogleoff.me>
AuthorDate: 2023-01-13 11:47:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-14 19:14:51 +0000

    dev-lang/zig: fix patch from previous commit
    
    I'm sorry for possible incovenience caused by this (I hope that it was, since it
    didn't look SO bad). Explained in and rebased upstream PR too.
    
    Fixes: 28fcae31f91eb30b62c8d55b39207238d377f0c2
    Closes: https://bugs.gentoo.org/890457
    Closes: https://bugs.gentoo.org/890459
    
    Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../zig-0.10.0-build-dir-install-stage3.patch      | 24 +++++++++++++++++-----
 .../{zig-0.10.0.ebuild => zig-0.10.0-r1.ebuild}    |  0
 2 files changed, 19 insertions(+), 5 deletions(-)