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

Bug 851792

Summary: dev-util/rocprofiler-5.0.2 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, heroxbd, xgreenlandforwyy
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/25891
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-06-14 06:44:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/rocprofiler-5.0.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-14 06:44:42 UTC
Created attachment 784688 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-06-22 18:35:13 UTC
The bug has been closed via the following commit(s):

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

commit 548d7270d6a895bcd7ce4af5bb6417e8508d2175
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2022-06-14 08:02:26 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-06-22 18:35:03 +0000

    dev-util/rocprofiler: QA fixes
    
    Closes: https://bugs.gentoo.org/851792
    Closes: https://bugs.gentoo.org/851795
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-util/rocprofiler/files/rocprofiler-4.3.0-ldflag.patch  | 13 +++++++++++++
 dev-util/rocprofiler/files/rocprofiler-4.3.0-nostrip.patch | 13 +++++++++++++
 dev-util/rocprofiler/rocprofiler-4.3.0.ebuild              |  2 ++
 dev-util/rocprofiler/rocprofiler-5.0.2.ebuild              |  4 +++-
 4 files changed, 31 insertions(+), 1 deletion(-)