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

Bug 744487

Summary: sys-libs/libsemanage: Calls pkg-config directly
Product: Gentoo Linux Reporter: Fergus Dall <sidereal>
Component: SELinuxAssignee: SE Linux Bugs <selinux>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: failing build log
Proposed patch

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(-)