Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767712 - app-admin/sudo-1.9.5_p2 Missing tc-export PKG_CONFIG
Summary: app-admin/sudo-1.9.5_p2 Missing tc-export PKG_CONFIG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-27 23:38 UTC by nvaa
Modified: 2021-01-28 00:07 UTC (History)
1 user (show)

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


Attachments
log file from running emerge (log.txt,20.11 KB, text/plain)
2021-01-27 23:38 UTC, nvaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nvaa 2021-01-27 23:38:35 UTC
Created attachment 684927 [details]
log file from running emerge

Trying to emerge app-admin/sudo after most recent update fails.

Fixed by adding "tc-export PKG_CONFIG" on line 132.

app-admin/sudo-1.8.31::portage-stable was built with the following:
USE="nls secure-path sendmail -gcrypt -ldap -libressl -offensive -pam -sasl -selinux -skey -sssd -system-digest" ABI_X86="(64)"
FEATURES="allow-missing-manifests assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg clean-logs config-protect-if-modified distlocks fixlafiles force-mirror ipc-sandbox multilib-strict network-sandbox parallel-fetch parallel-install protect-owned sandbox sfperms unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-27 23:42:23 UTC
Is the failure actually shown in the log?
Comment 2 nvaa 2021-01-27 23:48:27 UTC
The failure didn't actually show up in the log, but the output of the command was:
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).
Comment 3 Larry the Git Cow gentoo-dev 2021-01-28 00:07:51 UTC
The bug has been closed via the following commit(s):

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

commit 4cd7ed9ed20b1d8c209733776b143efe186ccb32
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-01-28 00:07:34 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-01-28 00:07:49 +0000

    app-admin/sudo: tc-export PKG_CONFIG variable
    
    Closes: https://bugs.gentoo.org/767712
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 app-admin/sudo/sudo-1.9.5_p2.ebuild | 3 ++-
 app-admin/sudo/sudo-9999.ebuild     | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)