Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766597 - sys-devel/gcc-config: broken with dev-lang/python-exec[-native-symlinks]
Summary: sys-devel/gcc-config: broken with dev-lang/python-exec[-native-symlinks]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-22 21:32 UTC by John Helmert III
Modified: 2021-01-23 17:58 UTC (History)
0 users

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


Attachments
Patch (gcc-config.patch,1.31 KB, patch)
2021-01-23 02:37 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-01-22 21:32:07 UTC
With dev-lang/python-exec[-native-symlinks]:

~ # eselect gcc list
 * Python seems to be broken, attempting to locate CHOST ourselves ...
 * gcc-config: Could not get portage CHOST!
 * gcc-config: You should verify that CHOST is set in one of these places:
 * gcc-config:  - //etc/portage/make.conf
 * gcc-config:  - active environment

With dev-lang/python-exec[native-symlinks]:

~ # eselect gcc list
 [1] x86_64-pc-linux-gnu-9.3.0
 [2] x86_64-pc-linux-gnu-10.2.0 *
Comment 1 Arfrever Frehtes Taifersar Arahesis 2021-01-23 02:37:20 UTC
Created attachment 684201 [details, diff]
Patch
Comment 2 Larry the Git Cow gentoo-dev 2021-01-23 17:51:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=79af2476b55a6b01e612c9eb0cb98755a51da780

commit 79af2476b55a6b01e612c9eb0cb98755a51da780
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2021-01-23 00:00:00 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-01-23 17:50:41 +0000

    gcc-config: Do not call 'python' directly.
    
    'python' is not available with dev-lang/python-exec[-native-symlinks].
    
    Bug: https://bugs.gentoo.org/766597
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 gcc-config | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2021-01-23 17:58:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28cda407f2bbad10404e87168afa36c94273ac09

commit 28cda407f2bbad10404e87168afa36c94273ac09
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-01-23 17:57:59 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-01-23 17:58:11 +0000

    sys-devel/gcc-config: bump up to 2.3.3
    
    Single new change:
    - gcc-config: Do not call 'python' directly.
    
    Reported-by: John Helmert III (ajak)
    Closes: https://bugs.gentoo.org/766597
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/gcc-config/Manifest                |  1 +
 sys-devel/gcc-config/gcc-config-2.3.3.ebuild | 53 ++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)