Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-config could not get portage CHOST? (can't reproduce)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9824
Location: almost Mile High in the USA

PostPosted: Wed Feb 17, 2021 6:29 pm    Post subject: gcc-config could not get portage CHOST? (can't reproduce) Reply with quote

I don't understand this:
Code:
~ # grep CHOST /etc/portage/make.conf
# WARNING: Changing your CHOST is not something that should be done lightly.
CHOST="i686-pc-linux-gnu"
~ # gcc-config -l
 * 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
~ # export CHOST=i686-pc-linux-gnu
~ # gcc-config -l
 [1] i686-pc-linux-gnu-8.3.0
 [2] i686-pc-linux-gnu-9.2.0 *
 [3] i686-pc-linux-gnu-9.3.0
~ #

*misery* This last update has ran into so many issues including that python-exec where even portage no longer uses a python-exec known version of python... *sigh*

----------

After sys-apps/portage and app-portage/gentoolkit merged, this problem won't reproduce and thus closed for now.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?


Last edited by eccerr0r on Fri Feb 19, 2021 9:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3684

PostPosted: Wed Feb 17, 2021 7:13 pm    Post subject: Reply with quote

Why at all are you setting CHOST?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9824
Location: almost Mile High in the USA

PostPosted: Wed Feb 17, 2021 7:44 pm    Post subject: Reply with quote

It was in the default make.conf and I never changed it, plus it's requesting it to be there? (and that experimental export seems to make gcc-config work where it won't without it!)

---

After portage and gentoolkit merged, the problem went away.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum