View previous topic :: View next topic |
Author |
Message |
gplcoder n00b
Joined: 17 May 2021 Posts: 9 Location: Sothwestern Ontario, Canada
|
Posted: Mon Apr 08, 2024 7:20 pm Post subject: Profile from 17.0 to 23.0 on i686 |
|
|
Hi,
I am attempting to migrate the profile from 17.0 to 23.0 according to eselect news https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html
Note 1: CHOST has not been changed and does not appear in /etc/portage/make.conf, also no CHOST_.
Note 2: Not familiar with brinary packages, always worked with source only. Bin package directory (/var/cache/binpkgs) does not exist
1.updated and depclean
2. is not amd64, does not apply
3. is not systemd, does not apply
4. CHOST="i686_pc_linux_gnu"
5. no changes
6. ran eselect profile set 12 which is i686 on profile 23.0
old profile: per table (https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_table) default/linux/x86/17.0
new profile: per same table, new profile default/linux/x86/23.0/i686/split-user
new profile: per same table, new binhost directory x86/bin/packages/23.0/i686
7. /var/cache/binpkgs does not exist
8. /etc/protage/binrepos.conf does not exist
9. output from emerge --ask --oneshot sys-devel/binutils
Code: |
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Dependency resolution took 2.28 s (backtrack: 0/20).
[ebuild R ] sys-devel/binutils-2.41-r5 USE="zstd*"
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-devel/binutils-2.41-r5::gentoo
* binutils-2.41.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* binutils-2.41-patches-5.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
[31;01m*[0m
[31;01m*[0m Your profile is of type merged-usr, but your directories
[31;01m*[0m on-disk are of type split-usr.
[31;01m*[0m Please switch back to your last valid profile setting and
[31;01m*[0m read the documentation about merged-usr and profile changes.
[31;01m*[0m
[31;01m*[0m ERROR: sys-devel/binutils-2.41-r5::gentoo failed (setup phase):
[31;01m*[0m ERROR: 23.0 merged-usr profile, but disk is split-usr
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 606: Called __source_all_bashrcs
[31;01m*[0m ebuild.sh, line 426: Called __try_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
[31;01m*[0m ebuild.sh, line 487: Called __qa_source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
[31;01m*[0m ebuild.sh, line 123: Called source '/var/db/repos/gentoo/profiles/releases/23.0/profile.bashrc'
[31;01m*[0m profile.bashrc, line 44: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m die "ERROR: 23.0 merged-usr profile, but disk is split-usr"
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=sys-devel/binutils-2.41-r5::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.41-r5::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.41-r5/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.41-r5/temp/die.env'.
[31;01m*[0m Working directory: '/var/tmp/portage/sys-devel/binutils-2.41-r5/empty'
[31;01m*[0m S: '/var/tmp/portage/sys-devel/binutils-2.41-r5/work/binutils-2.41'
>>> Failed to emerge sys-devel/binutils-2.41-r5, Log file:
>>> '/var/tmp/portage/sys-devel/binutils-2.41-r5/temp/build.log'
* Messages for package sys-devel/binutils-2.41-r5:
*
* Your profile is of type merged-usr, but your directories
* on-disk are of type split-usr.
* Please switch back to your last valid profile setting and
* read the documentation about merged-usr and profile changes.
*
* ERROR: sys-devel/binutils-2.41-r5::gentoo failed (setup phase):
* ERROR: 23.0 merged-usr profile, but disk is split-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 44: Called die
* The specific snippet of code:
* die "ERROR: 23.0 merged-usr profile, but disk is split-usr"
*
* If you need support, post the output of `emerge --info '=sys-devel/binutils-2.41-r5::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.41-r5::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.41-r5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.41-r5/temp/die.env'.
* Working directory: '/var/tmp/portage/sys-devel/binutils-2.41-r5/empty'
* S: '/var/tmp/portage/sys-devel/binutils-2.41-r5/work/binutils-2.41'[url]
Opinions on how to resolve this conflict?
TIA[/url] |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54387 Location: 56N 3W
|
Posted: Mon Apr 08, 2024 7:32 pm Post subject: |
|
|
gplcoder,
What does Code: | eselect profile list | show for you?
I don't have any i686 to generate it for myself _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
gplcoder n00b
Joined: 17 May 2021 Posts: 9 Location: Sothwestern Ontario, Canada
|
Posted: Mon Apr 08, 2024 7:40 pm Post subject: |
|
|
NeddySeagoon,
Code: | Available profile symlink targets:
[1] default/linux/x86/17.0 (exp)
[2] default/linux/x86/17.0/selinux (exp)
[3] default/linux/x86/17.0/hardened (exp)
[4] default/linux/x86/17.0/hardened/selinux (exp)
[5] default/linux/x86/17.0/desktop (exp)
[6] default/linux/x86/17.0/desktop/gnome (exp)
[7] default/linux/x86/17.0/desktop/gnome/systemd/merged-usr (exp)
[8] default/linux/x86/17.0/desktop/plasma (exp)
[9] default/linux/x86/17.0/desktop/plasma/systemd/merged-usr (exp)
[10] default/linux/x86/17.0/developer (exp)
[11] default/linux/x86/17.0/systemd/merged-usr (exp)
[12] default/linux/x86/23.0/i686 (stable) *
[13] default/linux/x86/23.0/i686/systemd (stable)
[14] default/linux/x86/23.0/i686/hardened (stable)
[15] default/linux/x86/23.0/i686/hardened/selinux (stable)
[16] default/linux/x86/23.0/i686/desktop (stable)
[17] default/linux/x86/23.0/i686/desktop/gnome (stable)
[18] default/linux/x86/23.0/i686/desktop/gnome/systemd (stable)
[19] default/linux/x86/23.0/i686/desktop/plasma (stable)
[20] default/linux/x86/23.0/i686/desktop/plasma/systemd (stable)
[21] default/linux/x86/23.0/i686/prefix (exp)
[22] default/linux/x86/23.0/i686/prefix/kernel-2.6.32+ (exp)
[23] default/linux/x86/23.0/i686/prefix/kernel-2.6.16+ (exp)
[24] default/linux/x86/23.0/i686/prefix/kernel-3.2+ (exp)
[25] default/linux/x86/23.0/i686/split-usr (stable)
[26] default/linux/x86/23.0/i686/split-usr/hardened (stable)
[27] default/linux/x86/23.0/i686/split-usr/hardened/selinux (stable)
[28] default/linux/x86/23.0/i686/split-usr/desktop (stable)
[29] default/linux/x86/23.0/i686/split-usr/desktop/gnome (stable)
[30] default/linux/x86/23.0/i686/split-usr/desktop/plasma (stable)
[31] default/linux/x86/23.0/i686/split-usr/prefix (exp)
[32] default/linux/x86/23.0/i686/split-usr/prefix/kernel-2.6.32+ (exp)
[33] default/linux/x86/23.0/i686/split-usr/prefix/kernel-2.6.16+ (exp)
[34] default/linux/x86/23.0/i686/split-usr/prefix/kernel-3.2+ (exp)
[35] default/linux/x86/23.0/i486 (stable)
[36] default/linux/x86/23.0/i486/systemd (stable)
[37] default/linux/x86/23.0/i486/hardened (dev)
[38] default/linux/x86/23.0/i486/hardened/selinux (dev)
[39] default/linux/x86/23.0/i486/split-usr (dev)
[40] default/linux/x86/23.0/i486/split-usr/hardened (dev)
[41] default/linux/x86/23.0/i486/split-usr/hardened/selinux (dev)
[42] default/linux/x86/17.0/musl (exp)
[43] default/linux/x86/17.0/musl/selinux (exp)
[44] default/linux/x86/23.0/i686/musl (dev)
[45] default/linux/x86/23.0/i686/musl/selinux (exp)
[46] default/linux/x86/23.0/i686/split-usr/musl (dev)
[47] default/linux/x86/23.0/i686/split-usr/musl/selinux (exp)
[48] default/linux/x86/23.0/i486/musl (dev)
[49] default/linux/x86/23.0/i486/musl/selinux (exp)
[50] default/linux/x86/23.0/i486/split-usr/musl (dev)
[51] default/linux/x86/23.0/i486/split-usr/musl/selinux (exp) |
TIA |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1698
|
Posted: Mon Apr 08, 2024 7:43 pm Post subject: |
|
|
gplcoder wrote: | 6. ran eselect profile set 12 which is i686 on profile 23.0 |
This should likely be "[25] default/linux/x86/23.0/i686/split-usr" not 12 (which is merged-usr) |
|
Back to top |
|
|
gplcoder n00b
Joined: 17 May 2021 Posts: 9 Location: Sothwestern Ontario, Canada
|
Posted: Mon Apr 08, 2024 8:00 pm Post subject: [solved] |
|
|
grknight,
Right you are.
Binutils successfully compiled, now working on gcc.
Please consider this solved.
I need to read up on the difference between 'split-user' and 'merged-user'.
Many thanks. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54387 Location: 56N 3W
|
Posted: Mon Apr 08, 2024 8:17 pm Post subject: |
|
|
gplcoder,
Once upon a time, all systems were 'split-user'. Even systemd what it started.
Systemd decided to change that a push for merged user.
It the /17.x/ all profiles are split user, unless its says merged-user in the name. That convention has been reversed with /23.0/
The default is merged user unless the name contains split-user
For 23.0 systemd profiles, there is only merged user. Systemd users must migrate to a merged user profile before they can update to 23.0
One day, split-user will go away for the rest of us too. The convention change will make that ease. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
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
|
|