Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need new profille 23.0 update advice
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
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Wed Jun 05, 2024 3:33 pm    Post subject: Need new profille 23.0 update advice Reply with quote

I'm not sure on step 4 of the profile update.I understand removing the CHOST line itself, but don't get "Also delete all lines defining CHOST_... variables." in my make.conf file.

Does this mean really mean remove the CFLAGS,CXXFLAGS,ACCEPT_KEYWORDS,CPU_FLAGS,USE,PORTDIR lines or any of the others? I'm also wondering what's going to happen to my current /etc/portage/USE file, and others. Please advise. I've run ~amd64 kde systems since 2004,but still unclear on many things. Advice and tips is greatly appreciated! (have a current backup of /etc/portage files to refer to)



Quote:
4. Run "emerge --info" and note down the value of the CHOST variable.

5. Edit /etc/portage/make.conf; if there is a line defining the CHOST variable,
remove it. Also delete all lines defining CHOST_... variables.
#


My current make.conf file

Code:
# detailed example.
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mno-fma4 -mno-tbm -mno-xop -mno-lwp"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="elogind pulseaudio  linguas_en_US -pie -pipewire -qt4 -qt3support -consolekit -systemd X wayland"
# CPU_FLAGS_X86="mmx sse sse2 sse3 sse4a sse4_1 sse4_2 ssse3 mmxext aes avx avx2"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
FEATURES="-binpkg-multi-instance"
PORTAGE_NICENESS="19"
MAKEOPTS="-j8"
L10N="en-US"
LINGUAS="en_US"
# ACCEPT_LICENSE="* -@EULA"
ACCEPT_LICENSE="*"
INPUT_DEVICES="libinput"
VIDEO_CARDS="amdgpu"
GENTOO_MIRRORS="http://distfiles.gentoo.org"

# GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://mirror.csclub.uwaterloo.ca/kde/stable/ http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/distfiles/distfiles/ http://gentoo.osuosl.org/distfiles/ http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://mirror.usu.edu/mirrors/gentoo/"

# RUBY_TARGETS=" ruby27"



# RUBY_TARGETS="ruby30"
XFCE_PLUGINS="brightness clock trash"

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.11.3 USE=experimental python3_12.7-final-0
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1912

PostPosted: Wed Jun 05, 2024 4:02 pm    Post subject: Reply with quote

wrc1944 wrote:
I'm not sure on step 4 of the profile update.I understand removing the CHOST line itself, but don't get "Also delete all lines defining CHOST_... variables." in my make.conf file.

Does this mean really mean remove the CFLAGS,CXXFLAGS,ACCEPT_KEYWORDS,CPU_FLAGS,USE,PORTDIR lines or any of the others? I'm also wondering what's going to happen to my current /etc/portage/USE file, and others. Please advise. I've run ~amd64 kde systems since 2004,but still unclear on many things. Advice and tips is greatly appreciated! (have a current backup of /etc/portage files to refer to)

No, just remove any variable from make.conf that starts with CHOST.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5095
Location: Bavaria

PostPosted: Wed Jun 05, 2024 4:07 pm    Post subject: Re: Need new profille 23.0 update advice Reply with quote

wrc1944 wrote:
"Also delete all lines defining CHOST_... variables." in my make.conf file.

means: delete one line in your make.conf which begins with "CHOST=..."

wrc1944 wrote:
Does this mean really mean remove the CFLAGS,CXXFLAGS,ACCEPT_KEYWORDS,CPU_FLAGS,USE,PORTDIR lines or any of the others?

No - this is not meant !

After the change your make.conf should look like this:
Code:
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mno-fma4 -mno-tbm -mno-xop -mno-lwp"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

ACCEPT_KEYWORDS="~amd64"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="elogind pulseaudio  linguas_en_US -pie -pipewire -qt4 -qt3support -consolekit -systemd X wayland"
# CPU_FLAGS_X86="mmx sse sse2 sse3 sse4a sse4_1 sse4_2 ssse3 mmxext aes avx avx2"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
FEATURES="-binpkg-multi-instance"
PORTAGE_NICENESS="19"
MAKEOPTS="-j8"
L10N="en-US"
LINGUAS="en_US"
# ACCEPT_LICENSE="* -@EULA"
ACCEPT_LICENSE="*"
INPUT_DEVICES="libinput"
VIDEO_CARDS="amdgpu"
GENTOO_MIRRORS="http://distfiles.gentoo.org"

# GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://mirror.csclub.uwaterloo.ca/kde/stable/ http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/distfiles/distfiles/ http://gentoo.osuosl.org/distfiles/ http://gentoo.mirrors.tds.net/gentoo/distfiles/ http://mirror.usu.edu/mirrors/gentoo/"

# RUBY_TARGETS=" ruby27"



# RUBY_TARGETS="ruby30"
XFCE_PLUGINS="brightness clock trash"

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Thu Jun 06, 2024 12:55 pm    Post subject: Reply with quote

Thanks much! Profile update is complete, it worked out perfectly with a full empty tree rebuid! :D
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.11.3 USE=experimental python3_12.7-final-0
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