Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723042 - dev-libs/pigpio does not respect LDFLAGS
Summary: dev-libs/pigpio 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: Daniel Kenzelmann
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2020-05-14 15:43 UTC by Agostino Sarubbo
Modified: 2020-06-25 08:08 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,11.08 KB, text/plain)
2020-05-14 15:43 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 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(-)