Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726700 - app-shells/powerline does not respect LDFLAGS
Summary: app-shells/powerline does not respect LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2020-06-01 19:23 UTC by Agostino Sarubbo
Modified: 2020-06-01 22:10 UTC (History)
1 user (show)

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

build.log (build.log,125.43 KB, text/plain)
2020-06-01 19:23 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-01 19:23:47 UTC
This is an auto-filed bug because app-shells/powerline 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.

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 19:23:52 UTC
Created attachment 643092 [details]

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

commit f216ce5fd9fdcaefe20b7f72eca0ad8fa32e19d2
Author:     Matthew Thode <>
AuthorDate: 2020-06-01 20:00:16 +0000
Commit:     Matthew Thode <>
CommitDate: 2020-06-01 20:00:30 +0000

    app-shells/powerline: fix respecting ldflags
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Matthew Thode <>

 app-shells/powerline/files/2.7-ldflags.patch              | 15 +++++++++++++++
 .../{powerline-2.7.ebuild => powerline-2.7-r1.ebuild}     |  4 ++++
 2 files changed, 19 insertions(+)