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

Bug 828057

Summary: sys-cluster/drbd-utils-9.19.1 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, jpds, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-12-03 06:59:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-cluster/drbd-utils-9.19.1 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 2021-12-03 06:59:43 UTC
CC'ing also the author of the commit (85d6acdce7c5e60c5dfe768d1b3514e2c962c2ea)
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-03 06:59:44 UTC
Created attachment 757248 [details]
build.log

build log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2023-06-13 18:00:16 UTC
The bug has been closed via the following commit(s):

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

commit 02512e1d120272ad4e035959fa4014a8df7a28fc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-13 17:42:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-13 17:59:50 +0000

    sys-cluster/drbd-utils: add 9.23.1
    
    Bug: https://bugs.gentoo.org/863728
    Closes: https://bugs.gentoo.org/828057
    Closes: https://bugs.gentoo.org/828058
    Closes: https://bugs.gentoo.org/832021
    Closes: https://bugs.gentoo.org/880973
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/drbd-utils/Manifest                    |   1 +
 sys-cluster/drbd-utils/drbd-utils-9.23.1.ebuild    | 129 +++++++++++++++++++++
 .../files/drbd-utils-9.23.1-respect-flags.patch    |  21 ++++
 3 files changed, 151 insertions(+)