Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 726634

Summary: app-misc/blink1-1.98-r2 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal Keywords: PMASKED, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37207
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 934200    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-06-01 11:22:44 UTC
This is an auto-filed bug because app-misc/blink1 does not respect LDFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

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 2020-06-01 11:22:49 UTC
Created attachment 643018 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-13 12:18:44 UTC
tinderbox has reproduced this issue with version 1.98-r2 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2024-06-19 05:20:50 UTC
The bug has been referenced in the following commit(s):

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

commit ef369f2e3d5ff00e86119d5c0e4e031804d37879
Author:     Martin Kolleck <martin.kolleck@gmail.com>
AuthorDate: 2024-06-18 19:06:23 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-06-19 05:20:36 +0000

    app-misc/blink1: Add patch such that build system respects LDFLAGS.
    
    Bug: https://bugs.gentoo.org/726634
    Signed-off-by: Martin Kolleck <martin.kolleck@gmail.com>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-misc/blink1/blink1-1.98-r2.ebuild           |  2 ++
 app-misc/blink1/files/blink1-1.98-ldflags.patch | 10 ++++++++++
 2 files changed, 12 insertions(+)