View previous topic :: View next topic |
Author |
Message |
cwc Veteran
Joined: 20 Mar 2006 Posts: 1389 Location: Tri-Cities, WA USA
|
Posted: Mon Nov 11, 2024 3:54 pm Post subject: openrc install - select profile help |
|
|
I have two systems running openrc.. I am setting up another with openrc.
This is the stage 3 tar is used on the new system:
stage3-amd64-desktop-openrc-20241103T164822Z.tar.xz
I have my current openrc systems (2 different computers) set to : [46] default/linux/amd64/23.0/split-usr/desktop (stable) *
I read this thread and found split-usr days are numbered: https://forums.gentoo.org/viewtopic-p-8824386.html
When I went to install app-portage/cpuid2cpuflags on my new system I get the following:
Code: |
emerge --ask --oneshot app-portage/cpuid2cpuflags
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.98 s (backtrack: 0/20).
[ebuild N ] app-portage/cpuid2cpuflags-14
Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-portage/cpuid2cpuflags-14::gentoo
* cpuid2cpuflags-14.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
*
* Your profile is of type split-usr, but your directories
* on-disk are of type merged-usr.
* Please switch back to your last valid profile setting and
* read the documentation about merged-usr and profile changes.
*
* ERROR: app-portage/cpuid2cpuflags-14::gentoo failed (setup phase):
* ERROR: 23.0 split-usr profile, but disk is merged-usr
*
* Call stack:
* ebuild.sh, line 606: Called __source_all_bashrcs
* ebuild.sh, line 426: Called __try_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 487: Called __qa_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 123: Called source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* profile.bashrc, line 53: Called die
* The specific snippet of code:
* die "ERROR: 23.0 split-usr profile, but disk is merged-usr"
*
* If you need support, post the output of `emerge --info '=app-portage/cpuid2cpuflags-14::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-portage/cpuid2cpuflags-14::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-portage/cpuid2cpuflags-14/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-portage/cpuid2cpuflags-14/temp/die.env'.
* Working directory: '/var/tmp/portage/app-portage/cpuid2cpuflags-14/empty'
* S: '/var/tmp/portage/app-portage/cpuid2cpuflags-14/work/cpuid2cpuflags-14'
>>> Failed to emerge app-portage/cpuid2cpuflags-14, Log file:
>>> '/var/tmp/portage/app-portage/cpuid2cpuflags-14/temp/build.log'
* Messages for package app-portage/cpuid2cpuflags-14:
*
* Your profile is of type split-usr, but your directories
* on-disk are of type merged-usr.
* Please switch back to your last valid profile setting and
* read the documentation about merged-usr and profile changes.
*
* ERROR: app-portage/cpuid2cpuflags-14::gentoo failed (setup phase):
* ERROR: 23.0 split-usr profile, but disk is merged-usr
*
* Call stack:
* ebuild.sh, line 606: Called __source_all_bashrcs
* ebuild.sh, line 426: Called __try_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 487: Called __qa_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* ebuild.sh, line 123: Called source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
* profile.bashrc, line 53: Called die
* The specific snippet of code:
* die "ERROR: 23.0 split-usr profile, but disk is merged-usr"
*
* If you need support, post the output of `emerge --info '=app-portage/cpuid2cpuflags-14::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-portage/cpuid2cpuflags-14::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-portage/cpuid2cpuflags-14/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-portage/cpuid2cpuflags-14/temp/die.env'.
* Working directory: '/var/tmp/portage/app-portage/cpuid2cpuflags-14/empty'
* S: '/var/tmp/portage/app-portage/cpuid2cpuflags-14/work/cpuid2cpuflags-14'
livecd / #
|
I changed the profile on the new current install to 23.
I set the profile to : [23] default/linux/amd64/23.0/desktop (stable) *
and app-portage/cpuid2cpuflags installs.
I'm really not sure what to do. I have my system set to bios boot and here are my partitions:
Device Start End Sectors Size Type
/dev/sda1 2048 2099199 2097152 1G Linux filesystem
/dev/sda2 2099200 69208063 67108864 32G Linux filesystem
/dev/sda3 69208064 500117503 430909440 205.5G Linux filesystem _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22892
|
Posted: Mon Nov 11, 2024 4:20 pm Post subject: |
|
|
As I wrote in the thread you linked, everything depends on the continued support of relevant developers. Until the developers responsible for keeping split-usr working say that they are considering abandoning it, we will not know that it is doomed.
Your problem appears to be that you used a merged-usr stage, then tried to use a split-usr profile. That does not work. If you want a split-usr profile, then start with a split-usr stage (per grknight's post in that thread, such a stage exists, but it is not obvious). My systems are still split-usr because I have had no reason to change them. I would likely start any new systems with merged-usr, since it seems likely to me that merged-usr will not go away, even if split-usr remains available indefinitely, but it is possible that split-usr will go away eventually. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1778 Location: South America
|
Posted: Mon Nov 11, 2024 4:25 pm Post subject: |
|
|
The non-/usr-merged OpenRC stage 3 archive does exist indeed, its name starts with stage3-amd64-openrc-splitusr. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1389 Location: Tri-Cities, WA USA
|
Posted: Mon Nov 11, 2024 5:35 pm Post subject: |
|
|
Hu wrote: | As I wrote in the thread you linked, everything depends on the continued support of relevant developers. Until the developers responsible for keeping split-usr working say that they are considering abandoning it, we will not know that it is doomed.
Your problem appears to be that you used a merged-usr stage, then tried to use a split-usr profile. That does not work. If you want a split-usr profile, then start with a split-usr stage (per grknight's post in that thread, such a stage exists, but it is not obvious). My systems are still split-usr because I have had no reason to change them. I would likely start any new systems with merged-usr, since it seems likely to me that merged-usr will not go away, even if split-usr remains available indefinitely, but it is possible that split-usr will go away eventually. |
Thank you. I still need to read more of the differences. [/quote][/code]
Which profile would you recommend for openrc and xfce4?
[code]
[1] default/linux/amd64/17.1 (stable)
[2] default/linux/amd64/17.1/selinux (exp)
[3] default/linux/amd64/17.1/hardened (exp)
[4] default/linux/amd64/17.1/hardened/selinux (exp)
[5] default/linux/amd64/17.1/desktop (exp)
[6] default/linux/amd64/17.1/desktop/gnome (exp)
[7] default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (exp)
[8] default/linux/amd64/17.1/desktop/plasma (exp)
[9] default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (exp)
[10] default/linux/amd64/17.1/desktop/systemd/merged-usr (exp)
[11] default/linux/amd64/17.1/developer (exp)
[12] default/linux/amd64/17.1/no-multilib (exp)
[13] default/linux/amd64/17.1/no-multilib/hardened (exp)
[14] default/linux/amd64/17.1/no-multilib/hardened/selinux (exp)
[15] default/linux/amd64/17.1/no-multilib/systemd/merged-usr (exp)
[16] default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr (exp)
[17] default/linux/amd64/17.1/systemd/merged-usr (stable)
[18] default/linux/amd64/17.1/systemd/selinux/merged-usr (exp)
[19] default/linux/amd64/17.1/clang (exp)
[20] default/linux/amd64/17.1/systemd/clang/merged-usr (exp)
[21] default/linux/amd64/23.0 (stable)
[22] default/linux/amd64/23.0/systemd (stable)
[23] default/linux/amd64/23.0/desktop (stable)
[24] default/linux/amd64/23.0/desktop/systemd (stable)
[25] default/linux/amd64/23.0/desktop/gnome (stable)
[26] default/linux/amd64/23.0/desktop/gnome/systemd (stable)
[27] default/linux/amd64/23.0/desktop/plasma (stable)
[28] default/linux/amd64/23.0/desktop/plasma/systemd (stable)
[29] default/linux/amd64/23.0/no-multilib (stable)
[30] default/linux/amd64/23.0/no-multilib/systemd (stable)
[31] default/linux/amd64/23.0/no-multilib/hardened (stable)
[32] default/linux/amd64/23.0/no-multilib/hardened/systemd (stable)
[33] default/linux/amd64/23.0/no-multilib/hardened/selinux (stable)
[34] default/linux/amd64/23.0/no-multilib/hardened/selinux/systemd (stable)
[35] default/linux/amd64/23.0/no-multilib/prefix (exp)
[36] default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.32+ (exp)
[37] default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.16+ (exp)
[38] default/linux/amd64/23.0/no-multilib/prefix/kernel-3.2+ (exp)
[39] default/linux/amd64/23.0/llvm (stable)
[40] default/linux/amd64/23.0/llvm/systemd (stable)
[41] default/linux/amd64/23.0/hardened (stable)
[42] default/linux/amd64/23.0/hardened/systemd (stable)
[43] default/linux/amd64/23.0/hardened/selinux (stable)
[44] default/linux/amd64/23.0/hardened/selinux/systemd (stable)
[45] default/linux/amd64/23.0/split-usr (stable)
[46] default/linux/amd64/23.0/split-usr/desktop (stable) *
[47] default/linux/amd64/23.0/split-usr/desktop/gnome (stable)
[48] default/linux/amd64/23.0/split-usr/desktop/plasma (stable)
[49] default/linux/amd64/23.0/split-usr/no-multilib (stable)
[50] default/linux/amd64/23.0/split-usr/no-multilib/selinux (stable)
[51] default/linux/amd64/23.0/split-usr/no-multilib/hardened (stable)
[52] default/linux/amd64/23.0/split-usr/no-multilib/hardened/selinux (stable)
[53] default/linux/amd64/23.0/split-usr/no-multilib/prefix (exp)
[54] default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.32+ (exp)
[55] default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.16+ (exp)
[56] default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-3.2+ (exp)
[57] default/linux/amd64/23.0/split-usr/llvm (stable)
[58] default/linux/amd64/23.0/split-usr/hardened (stable)
[59] default/linux/amd64/23.0/split-usr/hardened/selinux (stable)
[60] default/linux/amd64/17.0/x32 (exp)
[61] default/linux/amd64/17.0/x32/systemd/merged-usr (exp)
[62] default/linux/amd64/23.0/x32 (dev)
[63] default/linux/amd64/23.0/x32/systemd (exp)
[64] default/linux/amd64/23.0/split-usr/x32 (exp)
[65] default/linux/amd64/17.0/musl (exp)
[66] default/linux/amd64/17.0/musl/clang (exp)
[67] default/linux/amd64/17.0/musl/hardened (exp)
[68] default/linux/amd64/17.0/musl/hardened/selinux (exp)
[69] default/linux/amd64/23.0/musl (dev)
[70] default/linux/amd64/23.0/musl/llvm (exp)
[71] default/linux/amd64/23.0/musl/hardened (exp)
[72] default/linux/amd64/23.0/musl/hardened/selinux (exp)
[73] default/linux/amd64/23.0/split-usr/musl (dev)
[74] default/linux/amd64/23.0/split-usr/musl/llvm (exp)
[75] default/linux/amd64/23.0/split-usr/musl/hardened (exp)
[76] default/linux/amd64/23.0/split-usr/musl/hardened/selinux (exp)
[quote] _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1778 Location: South America
|
Posted: Mon Nov 11, 2024 8:00 pm Post subject: |
|
|
cwc wrote: | Which profile would you recommend for openrc and xfce4? |
If you started from this stage3 archive:
cwc wrote: | This is the stage 3 tar is used on the new system:
stage3-amd64-desktop-openrc-20241103T164822Z.tar.xz |
... then I'd select this one:
cwc wrote: | Code: | [23] default/linux/amd64/23.0/desktop (stable) |
|
_________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
cwc Veteran
Joined: 20 Mar 2006 Posts: 1389 Location: Tri-Cities, WA USA
|
Posted: Mon Nov 11, 2024 8:34 pm Post subject: |
|
|
[23] default/linux/amd64/23.0/desktop (stable)
Thank you! _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
|
|
|
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
|
|