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

Bug 723042

Summary: dev-libs/pigpio does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Daniel Kenzelmann <gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16080
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-14 15:43:49 UTC
This is an auto-filled bug because dev-libs/pigpio 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 where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-14 15:43:58 UTC
Created attachment 639008 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-25 08:08:03 UTC
The bug has been closed via the following commit(s):

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

commit d11d295f38c134e0cc7f75e1c1017dc759b2a2a0
Author:     Daniel Kenzelmann <gentoo@k8n.de>
AuthorDate: 2020-06-05 19:02:59 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-25 08:07:42 +0000

    dev-libs/pigpio: fix SONAME and pre-stripped files, add LDFLAGS
    
    Bring back SONAME/SOVERSION, fix lib links, disable stripping, respect LDFLAGS
    
    Closes: https://bugs.gentoo.org/727044
    Closes: https://bugs.gentoo.org/727074
    Closes: https://bugs.gentoo.org/723042
    
    Signed-off-by: Daniel Kenzelmann <gentoo@k8n.de>
    Closes: https://github.com/gentoo/gentoo/pull/16080
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/pigpio/files/pigpio-70-makefile.patch | 68 +++++++++++++++++---------
 1 file changed, 45 insertions(+), 23 deletions(-)