View previous topic :: View next topic |
Author |
Message |
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sat Jul 27, 2024 11:57 am Post subject: Want a Split-usr systemd profile |
|
|
Hi.
I was asked to switch to split-usr
I had the profile default/linux/amd64/17.1/desktop/gnome/systemd
so i have systemd, and i would like to keep it if possible.
i already ran the guide to the point where it says 6. Switch to a merged-usr profile.
so i ran it.
and now i noticed there is no profile that has both merged-usr and systemd.
I also use Gnome as seen from my current profile.
Any ideas on how to proceed?
When i try to run emerge -avuDU --backtrack=120 --verbose-conflicts @world
i see there are packages with -systemd (systemd disabled)
I want to keep it.
Thank you |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1686 Location: South America
|
Posted: Sat Jul 27, 2024 12:05 pm Post subject: Re: Want a Split-usr systemd profile |
|
|
heikkikk wrote: | I was asked to switch to split-usr |
Who asked you? systemd no longer supports non-/usr merged filesystem layouts, so there aren't any split-usr 23.0 systemd profiles.
heikkikk wrote: | I want to keep it. |
Sorry, systemd devolopers have decided that you can't, they don't allow it. Gentoo is just following upstream here. _________________
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 |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 489
|
Posted: Sat Jul 27, 2024 12:10 pm Post subject: Re: Want a Split-usr systemd profile |
|
|
heikkikk wrote: | When i try to run emerge -avuDU --backtrack=120 --verbose-conflicts @world
i see there are packages with -systemd (systemd disabled) |
If you have problems with the emerge output, please share it.
Some packages (e.g. installkernel) can have USE=-systemd without impacting systemd as init system. |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sat Jul 27, 2024 12:15 pm Post subject: Re: Want a Split-usr systemd profile |
|
|
GDH-gentoo wrote: | heikkikk wrote: | I was asked to switch to split-usr |
Who asked you? systemd no longer supports non-/usr merged filesystem layouts, so there aren't any split-usr 23.0 systemd profiles.
heikkikk wrote: | I want to keep it. |
Sorry, systemd devolopers have decided that you can't, they don't allow it. Gentoo is just following upstream here. |
So... I can safely switch to default/linux/amd64/23.0/desktop/gnome/systemd
now that i have run the merge-usr -script?
right?
EDIT: And the portage asked me to switch to split-usr |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1686 Location: South America
|
Posted: Sat Jul 27, 2024 12:29 pm Post subject: Re: Want a Split-usr systemd profile |
|
|
heikkikk wrote: | So... I can safely switch to default/linux/amd64/23.0/desktop/gnome/systemd
now that i have run the merge-usr -script?
right? |
Read the the news item carefully. Step #3 of the migration procedure applies to your setup; you must migrate first to default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr according to the other news item, and then continue the migration to default/linux/amd64/23.0/desktop/gnome/systemd from step #4 of the procedure. _________________
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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2398
|
Posted: Sat Jul 27, 2024 1:12 pm Post subject: |
|
|
heikkikk,
In the past, 17 and 17.1 profiles were default split-usr, so it was not mentioned in the name. Now 23 profiles are by default merged-usr, so you don't see it in the name. Also, as somebody above mentioned, systemd doesn ot support split-usr anymore.
And last but not least, I don't know why portage asked you to switch to split-usr, but you better save messages like that so you can ask for clarification because I'm pretty certain portage didn't ask you to do that, but the message meant something else.
Best Regards,
Georgi |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Sat Jul 27, 2024 4:58 pm Post subject: Re: Want a Split-usr systemd profile |
|
|
heikkikk,
I would like to confirm that this is the only correct information/procedure:
GDH-gentoo wrote: | [...] you must migrate first to default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr according to the other news item,
and then continue the migration to default/linux/amd64/23.0/desktop/gnome/systemd from step #4 of the procedure. |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sat Jul 27, 2024 6:10 pm Post subject: |
|
|
This is what i keep getting when trying to run emerge -avuDU --backtrack=120 --verbose-conflicts @world
logs and command outputts: https://3.14.fi/spidermonkey/ |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 489
|
Posted: Sun Jul 28, 2024 8:00 am Post subject: |
|
|
The linked logs show problems with spidermonkey, probably caused by rust.
At which step are you stuck? Transition from split-usr to merged-user? |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sun Jul 28, 2024 4:40 pm Post subject: |
|
|
sMueggli wrote: | The linked logs show problems with spidermonkey, probably caused by rust.
At which step are you stuck? Transition from split-usr to merged-user? |
So, i have run the merge-usr script and i have switched to the profile
Code: | # eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr |
but after that i never got the spidermonkey compiled at leasts no tusing the command
Code: | emerge -avuDU --backtrack=120 --verbose-conflicts @world |
You mentionet rust, so this is my only rust version installed:
Code: | # eselect rust list
Available Rust versions:
[1] rust-1.79.0 * |
edit:
Trying to install & reinstall:
[ebuild R ] dev-lang/rust-1.79.0:stable/1.79::gentoo USE="lto rustfmt (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri) (-nightly) (-parallel-compiler) -profiler -rust-analyzer -rust-src (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa" 0 KiB
[ebuild N ] dev-lang/rust-bin-1.79.0:stable::gentoo USE="rustfmt (-big-endian) -clippy -doc (-prefix) -profiler -rust-analyzer -rust-src -verify-sig" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" 0 KiB
Last edited by heikkikk on Sun Jul 28, 2024 5:18 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Sun Jul 28, 2024 5:18 pm Post subject: |
|
|
I wonder why your system is trying to install version 115.9.1 when 115.10.0 is already up to date:
Code: | $ eix spidermonkey
* dev-lang/spidermonkey
Verfügbare Versionen:
(102) 102.15.0^t
(115) 115.9.1^t 115.10.0^t ~115.11.0^t ~115.12.0^t ~115.13.0^t
{clang debug +jit lto test CPU_FLAGS_ARM="neon"}
Startseite: https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html
Beschreibung: SpiderMonkey is Mozilla's JavaScript engine written in C and C++ |
I don't have it, but I can see the differences between the two versions:
Code: | ~ $ emerge -pvD spidermonkey
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.30 s (backtrack: 0/20).
[ebuild N ] dev-lang/rust-bin-1.77.1:stable::gentoo USE="(-big-endian) -clippy -doc (-prefix) -profiler -rust-analyzer -rust-src -rustfmt -verify-sig" CPU_FLAGS_X86="sse2" 155.314 KiB
[ebuild UD ] virtual/rust-1.77.1:0/llvm-17::gentoo [1.79.0:0/llvm-18::gentoo] USE="-profiler -rustfmt" 0 KiB
[ebuild NS ] dev-build/autoconf-2.13-r8:2.1::gentoo [2.71-r7:2.71::gentoo] USE="-test% (-emacs%) (-verify-sig%)" 434 KiB
[ebuild N ] dev-lang/spidermonkey-115.10.0:115::gentoo USE="jit -clang -debug -lto -test" 495.946 KiB
Total: 4 packages (1 downgrade, 2 new, 1 in new slot), Size of downloads: 651.692 KiB
~ $
~ $
~ $ emerge -pvD =spidermonkey-115.9.1
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.22 s (backtrack: 0/20).
[ebuild N ] dev-python/ensurepip-setuptools-70.3.0::gentoo 910 KiB
[ebuild N ] dev-python/ensurepip-wheels-100::gentoo 0 KiB
[ebuild NS ] dev-build/autoconf-2.13-r8:2.1::gentoo [2.71-r7:2.71::gentoo] USE="-test% (-emacs%) (-verify-sig%)" 434 KiB
[ebuild NS ] dev-lang/python-3.11.9-r1:3.11::gentoo [3.12.3-r1:3.12::gentoo] USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig" 0 KiB
[ebuild NS ] sys-devel/llvm-17.0.6:17::gentoo [18.1.8-r1:18/18.1::gentoo] USE="binutils-plugin libffi ncurses xml zstd -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -xar% -z3" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (LoongArch) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa" 0 KiB
[ebuild NS ] sys-devel/llvm-toolchain-symlinks-17:17::gentoo [18:18::gentoo] USE="native-symlinks -multilib-symlinks" 0 KiB
[ebuild N ] dev-lang/spidermonkey-115.9.1:115::gentoo USE="jit -clang -debug -lto -test" 496.184 KiB
Total: 7 packages (3 new, 4 in new slots), Size of downloads: 497.526 KiB |
Could it be that you still have outdated entries in your /etc/portage/package.use (especially: old python settings) ?
Also check who needs it:
Code: | emerge -cpv spidermonkey |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sun Jul 28, 2024 5:29 pm Post subject: |
|
|
pietinger wrote: |
Could it be that you still have outdated entries in your /etc/portage/package.use (especially: old python settings) ? |
Not in make.conf but in package.use/python i do have these:
Code: |
*/* PYTHON_TARGETS: python3_10 python3_11
*/* PYTHON_SINGLE_TARGET: -* python3_10
dev-python/moddb PYTHON_SINGLE_TARGET: -* python3_10
games-util/lutris PYTHON_SINGLE_TARGET: -* python3_10
app-office/libreoffice-bin PYTHON_SINGLE_TARGET: -* python3_11
|
should i remove it?
I have:
Code: | # eselect python list
Available Python interpreters, in order of preference:
[1] python3.12
[2] python3.11
[3] python3.10
|
edit: Code: |
emerge -cpv spidermonkey
Calculating dependencies... done!
dev-lang/spidermonkey-102.15.0 pulled in by:
dev-libs/gjs-1.76.2 requires >=dev-lang/spidermonkey-102.2.0:102
|
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sun Jul 28, 2024 5:43 pm Post subject: |
|
|
pietinger wrote: | heikkikk wrote: | Code: | app-office/libreoffice-bin PYTHON_SINGLE_TARGET: -* python3_11 |
|
Hmmm ... see: https://bugs.gentoo.org/show_bug.cgi?id=929347
... Maybe it is best to remove libreoffice-bin completely (and use libreoffice instead later) ... together with this line ?
Edit:
Okay, now what needs gjs ? |
Code: | Calculating dependencies... done!
dev-libs/gjs-1.76.2 pulled in by:
gnome-base/gnome-shell-44.3 requires >=dev-libs/gjs-1.73.1[cairo]
gnome-extra/gnome-characters-44.0 requires >=dev-libs/gjs-1.50
gnome-extra/gnome-shell-extensions-44.0 requires >=dev-libs/gjs-1.29
gnome-extra/sushi-44.2 requires >=dev-libs/gjs-1.40
|
EDIT:
But how do i derermine who requires exactly require dev-lang/spidermonkey-115.9.1:115::gentoo
this version is tried to install with emerge -avuDU --backtrack=120 --verbose-conflicts @world
Last edited by heikkikk on Sun Jul 28, 2024 6:01 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Sun Jul 28, 2024 6:01 pm Post subject: |
|
|
Yes, sorry I have not looked at the output of "emerge --info" ... here it shows clearly you are on a gnome/systemd profile.
Okay, I would like that you uncomment (or delete) both lines:
Code: | */* PYTHON_TARGETS: python3_10 python3_11
*/* PYTHON_SINGLE_TARGET: -* python3_10 |
(and please check also that there are no settings in your make.conf for python)
AND THEN I would like to see the output of emerge -uUDvp @world _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sun Jul 28, 2024 6:04 pm Post subject: |
|
|
pietinger wrote: | Yes, sorry I have not looked at the output of "emerge --info" ... here it shows clearly you are on a gnome/systemd profile.
Okay, I would like that you uncomment (or delete) both lines:
Code: | */* PYTHON_TARGETS: python3_10 python3_11
*/* PYTHON_SINGLE_TARGET: -* python3_10 |
(and please check also that there are no settings in your make.conf for python)
AND THEN I would like to see the output of emerge -uUDvp @world |
Code: | # emerge -uUDvp @world
!!! The ebuild selected to satisfy "gnome-extra/nautilus-dropbox" has unmet requirements.
- gnome-extra/nautilus-dropbox-2020.03.04-r1::gentoo USE="-debug" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"
The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
|
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Sun Jul 28, 2024 6:12 pm Post subject: |
|
|
No problem: Add it to your package.use:
Code: | gnome-extra/nautilus-dropbox PYTHON_SINGLE_TARGET: -* python3_11 |
and do the emerge -uUDvp again. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sun Jul 28, 2024 6:25 pm Post subject: |
|
|
pietinger wrote: | No problem: Add it to your package.use:
Code: | gnome-extra/nautilus-dropbox PYTHON_SINGLE_TARGET: -* python3_11 |
and do the emerge -uUDvp again. |
great, then comes:
Code: | !!! The ebuild selected to satisfy "media-video/vidcutter" has unmet requirements.
- media-video/vidcutter-6.0.5.1_p20230201::gentoo USE="" ABI_X86="(64)" PYTHON_TARGETS="-python3_10 -python3_11"
The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( python_targets_python3_10 python_targets_python3_11 ) any-of ( python_targets_python3_10 python_targets_python3_11 )
|
...
I ended up adding these to package.use:
Code: | gnome-extra/nautilus-dropbox PYTHON_SINGLE_TARGET: -* python3_11
media-video/vidcutter PYTHON_TARGETS: -* python3_11
media-tv/kodi PYTHON_SINGLE_TARGET: -* python3_11 |
and these i left there, just in case:
Code: | dev-python/moddb PYTHON_SINGLE_TARGET: -* python3_10
games-util/lutris PYTHON_SINGLE_TARGET: -* python3_10
app-office/libreoffice-bin PYTHON_SINGLE_TARGET: -* python3_11 |
Then i ran emerge -uUDvp @world
The output:
https://3.14.fi/emerge-uUDvp_world_2024-07-28-21-19.txt |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Sun Jul 28, 2024 6:30 pm Post subject: |
|
|
Okay, the problem with vlc we can handle ... but there are many weird settings ... e.g.:
Code: | >=dev-python/gpep517-8[python_targets_python3_10(-)] required by (net-misc/youtube-dl-2021.12.17-r1:0/0::gentoo, installed) USE="userland_GNU yt-dlp -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9" |
We need more info:
- the content of /var/lib/portage/world, and
- grep -r --exclude=linux* "" /etc/portage _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Sun Jul 28, 2024 6:42 pm Post subject: |
|
|
pietinger wrote: | Okay, the problem with vlc we can handle ... but there are many weird settings ... e.g.:
Code: | >=dev-python/gpep517-8[python_targets_python3_10(-)] required by (net-misc/youtube-dl-2021.12.17-r1:0/0::gentoo, installed) USE="userland_GNU yt-dlp -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9" |
We need more info:
- the content of /var/lib/portage/world, and
- grep -r --exclude=linux* "" /etc/portage |
world:
https://3.14.fi/world-2024-07-28-21-36.txt
grep output:
https://3.14.fi/grep-r--exclude=linux_etc_portage.txt |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Sun Jul 28, 2024 8:01 pm Post subject: |
|
|
Okay ...
- this is an old installation (e.g. net-misc/youtube-dl does not exist anymore; now it is net-misc/yt-dlp)
- no update of python (https://www.gentoo.org/support/news-items/2024-05-09-python3-12.html )
- and you have gnome- and kde-applications ... with wayland ...
- and some applications from overlays (brave)
- some weird settings in Use-flags ("kwallet ... -kwallet")
- a settings where I really dont know if both can be activated (INPUT_DEVICES="evdev ... libinput"; AFAIK you can use only one of them)
- in your world-file: net-libs/webkit-gtk:4
- strange settings for LUA:
Code: | /etc/portage/package.use/lua:*/* LUA_SINGLE_TARGET: -lua5-1 -lua5-2 -lua5-3 lua5-4
/etc/portage/package.use/lua:
/etc/portage/package.use/lua:media-video/vlc LUA_SINGLE_TARGET: lua5-1
/etc/portage/package.use/lua:dev-libs/libpeas LUA_SINGLE_TARGET: lua5-1 |
- old mask (which should not be relevant):
Code: | /etc/portage/package.mask/zz-Heikin:=net-libs/webkit-gtk-2.32.1 |
... what could possibly go wrong
What I would suggest:
1. Make a backup of your world-file and all files in -r /etc/portage/*
2. Delete (yes, I know it is not recommended; but we have a backup) these lines in your world-file:
Code: | net-libs/webkit-gtk:4
www-client/brave-bin::brave-overlay
app-office/libreoffice-bin
dev-lang/python
dev-lang/ruby
dev-libs/cudnn
dev-libs/libaio
media-video/ffmpeg
net-misc/youtube-dl |
3. Create a file for vlc in /etc/portage/package.use/vlc with this content:
Code: | # temporary because of bug: https://bugs.gentoo.org/864721
media-video/vlc -vaapi |
4. Delete the files /etc/portage/package.unmask, /etc/portage/package.use/lua, /etc/portage/package.use/zz-autounmask (yes, you have to allow a lot of things later)
5. Edit your make.conf and delete the line: RUBY_TARGETS="ruby31" and correct your USE= (some settings you have already through your desktop-profile)(decide if KWALLLET y/n):
Code: | USE="avif geolocation gmic gphoto2 -graphicsmagick jpeg2k kwallet lua opencl tools webp -libav ffmpeg firmware imagemagick postscript svg2 visio inkjar webkit networkmanager appindicator aalib xinerama minizip libcaca opus lensfun krita color-management widgets graphite v4l v4l2 vaapi vdpau vulkan chromecast flac imap xml openssl joystick charmap flickr raw gimp exiv2 scanner samba script rustfmt" |
6. And again: emerge -uUDvp @world (allow the questions for unmasking) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 220
|
Posted: Wed Jul 31, 2024 7:35 am Post subject: |
|
|
game over. My NVMe disk died, so can't continue anymorte. Thanks for the help anyhow.... |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5088 Location: Bavaria
|
Posted: Thu Aug 01, 2024 12:12 am Post subject: |
|
|
heikkikk wrote: | game over. My NVMe disk died, so can't continue anymorte. [...] |
That's sad ... but also a chance to perform a completely new installation (even if you have an old backup).
heikkikk wrote: | [...] Thanks for the help anyhow.... |
You are very Welcome ! _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|