View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
Joined: 24 Feb 2016 Posts: 356
|
Posted: Tue Feb 27, 2024 7:46 pm Post subject: Help me to change use flag and boot my machine |
|
|
Hello and thank you in advance.
Decided to change use flag but I have conflicts.
My make conf
http://dpaste.com/E5DE4BFGH
Code: | sys-devel/gcc pgo lto
sys-devel/binutils pgo
app-arch/xz-utils pgo
app-alternatives/awk gawk
app-alternatives/bzip2 reference
app-alternatives/gzip reference
app-alternatives/tar gnu
app-alternatives/sh bash
sys-apps/systemd-utils tmpfiles
sys-kernel/linux-firmware redistributable
x11-base/xorg-server udev xorg
app-alternatives/ninja reference
app-alternatives/yacc reference
app-alternatives/lex flex
sys-fs/udisks daemon
sys-fs/cryptsetup openssl
net-misc/networkmanager gnutls
app-alternatives/cpio gnu
app-alternatives/bc gnu
xfce-base/thunar trash-panel-plugin pcre
gnome-base/gnome-keyring pam
xfce-base/xfdesktop thunar
xfce-extra/xfce4-sensors-plugin acpi
xfce-base/xfce4-panel dbusmenu
xfce-base/xfce4-power-manager panel-plugin
xfce-base/xfwm4 xcomposite xpresent
sys-auth/polkit duktape daemon pam
sys-devel/llvm pgo lto
|
Package use flags
Code: | WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-lang/python:3.11
(dev-lang/python-3.11.8_p1:3.11/3.11::gentoo, ebuild scheduled for merge) USE="-bluetooth -build -debug -ensurepip -examples -gdbm -libedit -ncurses -pgo -readline -sqlite -ssl -test -tk -valgrind -verify-sig" conflicts with
dev-lang/python:3.11[ssl(+)] required by (sys-apps/portage-3.0.61-r1:0/0::gentoo, installed) USE="(ipc) -apidoc -build -doc -gentoo-dev -native-extensions -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12"
dev-lang/python:3.11[ssl(+)] required by (dev-python/urllib3-2.1.0:0/0::gentoo, installed) USE="-brotli -test -zstd" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12"
media-libs/freetype:2
(media-libs/freetype-2.13.2:2/2::gentoo, ebuild scheduled for merge) USE="X -adobe-cff -brotli -bzip2 -cleartype-hinting -debug -doc -fontforge -harfbuzz -png -static-libs -svg -utils" conflicts with
>=media-libs/freetype-2.5.0.1:2[png,abi_x86_64(-)] required by (x11-libs/cairo-1.18.0:0/0::gentoo, installed) USE="X glib (-aqua) (-debug) -gtk-doc -test"
^^^
x11-libs/cairo:0
(x11-libs/cairo-1.18.0:0/0::gentoo, ebuild scheduled for merge) USE="X (-aqua) (-debug) -glib -gtk-doc -test" conflicts with
>=x11-libs/cairo-1.14[glib,svg(+),X,abi_x86_64(-)] required by (x11-libs/gtk+-3.24.39:3/3::gentoo, installed) USE="X (-aqua) -broadway -cloudproviders -colord -cups -examples -gtk-doc -introspection -sysprof -test -vim-syntax -wayland -xinerama"
^^^^
>=x11-libs/cairo-1.17.0[glib,svg(+),abi_x86_64(-)] required by (gnome-base/librsvg-2.57.0:2/2::gentoo, installed) USE="-debug -gtk-doc -introspection -vala"
^^^^
media-libs/harfbuzz:0
(media-libs/harfbuzz-8.3.0:0/6.0.0::gentoo, ebuild scheduled for merge) USE="-cairo -debug -doc -experimental -glib -graphite -icu -introspection -test -truetype" conflicts with
>=media-libs/harfbuzz-2.6.0:0/6.0.0=[glib(+),truetype(+),abi_x86_64(-)] required by (x11-libs/pango-1.51.0:0/0::gentoo, installed) USE="X -debug -introspection -sysprof -test"
>=media-libs/harfbuzz-2.6.0:=[glib(+),truetype(+),abi_x86_64(-)] required by (x11-libs/pango-1.51.0:0/0::gentoo, installed) USE="X -debug -introspection -sysprof -test"
net-misc/curl:0
(net-misc/curl-8.5.0-r3:0/0::gentoo, ebuild scheduled for merge) USE="-adns -alt-svc -brotli -ftp -gnutls -gopher -hsts -http2 -idn -imap -kerberos -ldap -mbedtls (-nghttp3) -openssl -pop3 -progress-meter -psl -rtmp (-rustls) -samba -smtp -ssh -ssl (-sslv3) -static-libs -telnet -test -tftp -verify-sig -websockets -zstd" CURL_SSL="-gnutls -mbedtls -openssl (-rustls)" conflicts with
>=net-misc/curl-7.21.5[ssl] required by (dev-build/cmake-3.27.9:0/0::gentoo, installed) USE="-dap -doc -emacs -gui -ncurses -qt6 -test -verify-sig"
^^^
sys-auth/elogind:0
(sys-auth/elogind-246.10-r3:0/0::gentoo, ebuild scheduled for merge) USE="-acl -audit -cgroup-hybrid -debug -doc -pam -policykit (-selinux) -test" conflicts with
sys-auth/elogind[pam] required by (x11-base/xorg-server-21.1.11:0/21.1.11::gentoo, installed) USE="elogind udev xorg -debug -minimal (-selinux) -suid -systemd -test -unwind -xcsecurity -xephyr -xnest -xvfb"
^^^
sys-auth/elogind[pam] required by (sys-auth/pambase-20220214:0/0::gentoo, installed) USE="elogind minimal -caps -debug -gnome-keyring -homed -mktemp -nullok -pam_krb5 -pam_ssh -passwdqc -pwhistory -pwquality -securetty (-selinux) -sha512 -systemd -yescrypt"
^^^
dev-libs/libxml2:2
(dev-libs/libxml2-2.12.5:2/2::gentoo, ebuild scheduled for merge) USE="-debug -examples -ftp -icu -lzma -python -readline -static-libs -test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" conflicts with
dev-libs/libxml2[python,python_targets_python3_11(-)] required by (dev-util/itstool-2.0.7-r1:0/0::gentoo, installed) USE="" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
^^^^^^
sys-fs/e2fsprogs:0
(sys-fs/e2fsprogs-1.47.0-r2:0/0::gentoo, ebuild scheduled for merge) USE="(split-usr) -cron -fuse -nls -static-libs -test -tools" conflicts with
sys-fs/e2fsprogs[tools(+)] required by (app-misc/mc-4.8.30-r1:0/0::gentoo, installed) USE="X -edit -gpm -nls -sftp -slang -spell -test -unicode"
sys-apps/systemd-utils:0
(sys-apps/systemd-utils-254.8:0/0::gentoo, ebuild scheduled for merge) USE="(split-usr) tmpfiles -acl -boot -kernel-install -kmod -secureboot (-selinux) -sysusers -test -udev -ukify" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" conflicts with
sys-apps/systemd-utils[udev] required by (virtual/udev-217-r7:0/0::gentoo, installed) USE="-systemd"
^^^^
>=sys-apps/systemd-utils-251[udev,abi_x86_64(-)] required by (virtual/libudev-251-r2:0/1::gentoo, installed) USE="-systemd"
^^^^
net-misc/iputils:0
(net-misc/iputils-20221126-r1:0/0::gentoo, ebuild scheduled for merge) USE="-arping -caps -clockdiff -doc -filecaps -idn -nls -test -tracepath" conflicts with
net-misc/iputils[arping(+)] required by (net-misc/networkmanager-1.42.6-r2:0/0::gentoo, installed) USE="elogind gnutls -audit -bluetooth -concheck -connection-sharing -debug -dhclient -dhcpcd -gtk-doc -introspection -iptables -iwd -libedit -modemmanager -nftables -nss -ofono -ovs -policykit -ppp -psl -resolvconf (-selinux) -syslog -systemd -teamd -test -tools -vala -wext -wifi"
|
Quote tags changed to code tags to preserve formatting -- NeddySeagoon |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54420 Location: 56N 3W
|
Posted: Tue Feb 27, 2024 8:04 pm Post subject: |
|
|
RIA77,
Taking a random example.
Code: | net-misc/curl:0
(net-misc/curl-8.5.0-r3:0/0::gentoo, ebuild scheduled for merge) USE="-adns -alt-svc -brotli -ftp -gnutls -gopher -hsts -http2 -idn -imap -kerberos -ldap -mbedtls (-nghttp3) -openssl -pop3 -progress-meter -psl -rtmp (-rustls) -samba -smtp -ssh -ssl (-sslv3) -static-libs -telnet -test -tftp -verify-sig -websockets -zstd" CURL_SSL="-gnutls -mbedtls -openssl (-rustls)" conflicts with
>=net-misc/curl-7.21.5[ssl] required by (dev-build/cmake-3.27.9:0/0::gentoo, installed) USE="-dap -doc -emacs -gui -ncurses -qt6 -test -verify-sig" |
and breaking it down
Code: | >=net-misc/curl-7.21.5[ssl] required by (dev-build/cmake-3.27.9:0/0::gentoo, installed) |
cmake requires >=net-misc/curl-7.21.5 built with USE=ssl
but
Code: | (net-misc/curl-8.5.0-r3:0/0::gentoo, ebuild scheduled for merge) USE="-adns -alt-svc -brotli -ftp -gnutls -gopher -hsts -http2 -idn -imap -kerberos -ldap -mbedtls (-nghttp3) -openssl -pop3 -progress-meter -psl -rtmp (-rustls) -samba -smtp -ssh -ssl (... |
USE=ssl is set to off on curl.
You need ssl on curl, if not globally.
are you sure you want to do that?
Code: | RUBY_TARGETS="ruby31"
RUBY_SINGLE_TARGET="ruby31"
PYTHON_TARGETS="python3_11"
PYTHON_SINGLE_TARGET="python3_11"
LUA_TARGETS="lua5-4"
LUA_SINGLE_TARGET="lua5-4" |
are all settings you will regret later. Those options are best managed by your profile. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 356
|
Posted: Tue Feb 27, 2024 9:20 pm Post subject: |
|
|
Yep, I am sure.
I have been trying to make Gentoo as minimal as possible.
What's your oppinion regarding single targets ? Why you are against single target options ? |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1569 Location: South America
|
Posted: Tue Feb 27, 2024 9:40 pm Post subject: |
|
|
RIA77 wrote: | What's your oppinion regarding single targets ? Why you are against single target options ? |
You'll have a hard time updating with emerge --update as soon as your settings start not matching the ones that are modified from time to time in profiles by emerge --sync. _________________
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 |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 356
|
Posted: Tue Feb 27, 2024 9:55 pm Post subject: |
|
|
After deleting of "Single target" from make conf, all I get is
"!! The ebuild selected to satisfy "app-admin/eclean-kernel" has unmet requirements.
- app-admin/eclean-kernel-2.99.7::gentoo USE="-lz4 -lzo -test -zstd" PYTHON_TARGETS="-python3_10 -python3_11 -python3_12"
The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 )
"
And if I change use flag, some other use flag re-appear, similar to this. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1569 Location: South America
|
Posted: Tue Feb 27, 2024 10:12 pm Post subject: |
|
|
That's the problem with USE="-*". Not specifying the *_TARGETS and *_SINGLE_TARGET variables will unset all corresponding USE flags; specifying them but never changing them will get you in trouble with updates.
Unless you are very skilled at decoding Portage error messages, USE="-*" won't get you an "as minimal as possible" Gentoo. It will get you an endless source of problems instead. Profiles exist for a reason. _________________
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 |
Last edited by GDH-gentoo on Tue Feb 27, 2024 10:16 pm; edited 2 times in total |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 356
|
Posted: Tue Feb 27, 2024 10:43 pm Post subject: |
|
|
Ok, this is current situation.
There is no ebuild conflicts.
But I can't log into Xorg.
Xorg log http://dpaste.com/2XD72UHYR |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21839
|
Posted: Tue Feb 27, 2024 11:10 pm Post subject: |
|
|
Did you rebuild Xorg after removing USE="-*"? That looks to me like you tried to use it with neither a functioning logind nor USE=suid.
What is the output of emerge --pretend --verbose --deep --changed-use @world ; emerge --pretend --verbose x11-base/xorg-server? |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1569 Location: South America
|
Posted: Tue Feb 27, 2024 11:16 pm Post subject: |
|
|
Most significant message:
Code: | [ 14.807] (EE) systemd-logind: failed to get session: PID 1491 does not belong to any known session |
Probably PAM-related. Hu's suggestion might reveal what it is. _________________
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 |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 356
|
Posted: Tue Feb 27, 2024 11:30 pm Post subject: |
|
|
That's after I added pam as flag for elogind. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1569 Location: South America
|
Posted: Wed Feb 28, 2024 12:05 pm Post subject: |
|
|
If that means that you reinstalled sys-auth/elogind with the pam USE flag set after you already logged in, then it's not enough. Many processes will not have been assigned to a logind session, and it's too late at that point.
If you were using startx, best case, you need at least to log out and then log in again, worst case, reboot. _________________
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 |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 356
|
Posted: Wed Feb 28, 2024 1:22 pm Post subject: |
|
|
I use startxfce4 like I always did. But I can't log in. Tried to logout, but no changes. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1569 Location: South America
|
Posted: Wed Feb 28, 2024 3:51 pm Post subject: |
|
|
Reboot and try to start XFCE. If it doesn't, look at Xorg's log. If it's the same mensaje again ("PID XXX does not belong to any known session"), post the output of loginctl list-sessions. Otherwise, post the log. _________________
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 |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 356
|
Posted: Wed Feb 28, 2024 4:09 pm Post subject: |
|
|
It's the same error. Which log do I need to provide ? I don't understand. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1569 Location: South America
|
Posted: Wed Feb 28, 2024 4:52 pm Post subject: |
|
|
The output of loginctl list-sessions. _________________
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 |
|
|
|