Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744487 - sys-libs/libsemanage: Calls pkg-config directly
Summary: sys-libs/libsemanage: Calls pkg-config directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-09-24 08:36 UTC by Fergus Dall
Modified: 2022-03-27 04:40 UTC (History)
1 user (show)

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


Attachments
failing build log (build.log,23.02 KB, text/plain)
2020-09-24 08:39 UTC, Fergus Dall
Details
Proposed patch (0001-sys-libs-libsemanage-Use-tc-getPKG_CONFIG-where-appr.patch,1.19 KB, patch)
2020-09-24 08:39 UTC, Fergus Dall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fergus Dall 2020-09-24 08:36:44 UTC
* pkg-config: ERROR: Do not call unprefixed tools directly.
 * pkg-config: ERROR: For board tools, use `tc-export PKG_CONFIG` (or ${CHOST}-pkg-config).
 * pkg-config: ERROR: For build-time-only tools, `tc-export BUILD_PKG_CONFIG` (or ${CBUILD}-pkg-config).

This error is produced by the emake calls for pywrap and install-pywrap.

Reproducible: Always
Comment 1 Fergus Dall 2020-09-24 08:39:20 UTC
Created attachment 662266 [details]
failing build log
Comment 2 Fergus Dall 2020-09-24 08:39:51 UTC
Created attachment 662269 [details, diff]
Proposed patch
Comment 3 Larry the Git Cow gentoo-dev 2022-03-27 04:40:54 UTC
The bug has been closed via the following commit(s):

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

commit 680f3d2158258adb747c6acc01d20a58530eb601
Author:     Fergus Dall <sidereal@google.com>
AuthorDate: 2022-03-27 04:39:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-27 04:40:35 +0000

    sys-libs/libsemanage: Use tc-getPKG_CONFIG where appropriate
    
    Closes: https://bugs.gentoo.org/744487
    Signed-off-by: Fergus Dall <sidereal@google.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/libsemanage/libsemanage-3.3.ebuild  | 4 +++-
 sys-libs/libsemanage/libsemanage-9999.ebuild | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)