Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Issues with dev-qt/qtbase blocking world updates
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
vcmota
Guru
Guru


Joined: 19 Jun 2017
Posts: 377

PostPosted: Mon Sep 16, 2024 5:35 pm    Post subject: [SOLVED] Issues with dev-qt/qtbase blocking world updates Reply with quote

I am stuck with a blocked world update for days now. At first I just ingored, assuming it would be eventually corrected in the next world update, but it has been persistent. It probably now more than a week since world updates are blocked here. The issue seems to involve dev-qt/qtbase, but I cant quite figure it out:

Code:

~> sudo emerge --ask --update --deep --with-bdeps=y --changed-deps --newuse --changed-use @world
Senha:

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 28.86 s (backtrack: 1/20).

[ebuild     U  ] dev-libs/libffi-3.4.6 [3.4.4-r4]
[ebuild     U  ] dev-python/ensurepip-setuptools-73.0.1 [72.1.0]
[ebuild     U  ] sys-kernel/installkernel-48-r1 [39-r2]
[ebuild     U  ] app-emulation/virtualbox-additions-7.0.20 [7.0.18]
[ebuild     U ~] app-shells/fzf-0.55.0 [0.54.3]
[ebuild     U  ] sys-apps/sandbox-2.39 [2.38]
[ebuild     U  ] app-portage/elt-patches-20240824 [20240721]
[ebuild     U  ] x11-misc/compose-tables-1.8.10 [1.8.9]
[ebuild     U  ] x11-libs/libX11-1.8.10 [1.8.9]
[ebuild     U  ] dev-libs/openssl-3.0.14 [3.0.13-r2]
[ebuild     U  ] dev-libs/expat-2.6.3 [2.5.0]
[ebuild   R    ] dev-libs/elfutils-0.191-r1  USE="-valgrind% (-static-libs%)"
[ebuild   R    ] sys-devel/gcc-13.3.1_p20240614
[ebuild     U  ] dev-util/desktop-file-utils-0.27-r1 [0.27]
[ebuild     U  ] dev-lang/python-3.12.6 [3.12.3-r1]
[ebuild     U  ] dev-lang/python-3.11.10 [3.11.9_p2]
[ebuild     U  ] dev-python/setuptools-73.0.1 [72.1.0]
[ebuild     U  ] dev-libs/gobject-introspection-1.78.1-r1 [1.78.1] PYTHON_SINGLE_TARGET="(-python3_13)"
[ebuild     U  ] sys-process/audit-4.0.1-r1 [3.1.2] PYTHON_TARGETS="(-python3_13)"
[ebuild     U  ] dev-python/jaraco-context-6.0.1 [5.3.0]
[ebuild     U  ] dev-libs/libwacom-2.12.2 [2.11.0]
[ebuild     U  ] x11-libs/libdrm-2.4.122-r1 [2.4.122] USE="-doc%"
[ebuild     U  ] app-text/hunspell-1.7.2-r1 [1.7.2]
[ebuild  N     ] dev-util/wayland-scanner-1.23.0
[ebuild     U  ] dev-libs/jsoncpp-1.9.5-r1 [1.9.5] ABI_X86="(64%*) -32% (-x32)"
[ebuild     U  ] x11-libs/libXfont2-2.0.7 [2.0.6-r1]
[ebuild     U  ] dev-python/idna-3.8 [3.7]
[ebuild     U  ] dev-python/truststore-0.9.2 [0.9.1]
[ebuild     U  ] dev-python/lark-1.2.2 [1.1.9]
[ebuild     U  ] dev-python/psutil-6.0.0 [5.9.8]
[ebuild     U  ] sys-boot/gnu-efi-3.0.18-r3 [3.0.18-r2]
[ebuild     U  ] dev-python/pefile-2024.8.26 [2023.2.7] PYTHON_TARGETS="(-python3_13)"
[ebuild     U  ] dev-python/zope-interface-7.0.3 [6.4_p2]
[ebuild     U  ] dev-lang/python-3.10.15 [3.10.14_p1-r1]
[ebuild  N     ] dev-libs/wayland-1.23.0-r1  USE="-doc -test" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-libs/wayland-protocols-1.36  USE="-test"
[ebuild     U  ] app-office/libreoffice-l10n-7.6.7.2 [7.6.4.1]
[ebuild     U  ] dev-python/automat-24.8.1 [22.10.0]
[ebuild     U  ] media-libs/libva-2.22.0 [2.21.0]
[ebuild     U  ] x11-libs/libXtst-1.2.5 [1.2.4]
[ebuild     U  ] dev-python/lxml-5.3.0 [5.2.2]
[ebuild     U  ] app-crypt/pinentry-1.3.0-r3 [1.2.1-r7] USE="-qt6%"
[ebuild     U  ] kde-frameworks/extra-cmake-modules-6.5.0-r1 [5.116.0]
[ebuild     U  ] dev-util/spirv-headers-1.3.290.0 [1.3.283.0]
[ebuild     U  ] dev-util/vulkan-headers-1.3.290.0-r1 [1.3.283.0]
[ebuild  N     ] dev-util/pahole-1.27-r1  USE="-debug -verify-sig" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
[ebuild     U  ] dev-lang/rust-1.80.1 [1.79.0]
[ebuild     U ~] media-sound/bluez-alsa-4.3.1 [4.2.0]
[ebuild     U  ] sys-boot/grub-2.12-r5 [2.12-r4] USE="device-mapper* -secureboot%"
[ebuild     U  ] dev-util/spirv-tools-1.3.290.0 [1.3.283.0]
[ebuild     U  ] app-crypt/gpgme-1.23.2-r1 [1.23.2] PYTHON_TARGETS="(-python3_13)"
[ebuild     U  ] virtual/rust-1.80.1 [1.79.0]
[ebuild     U  ] media-libs/vulkan-loader-1.3.290.0 [1.3.283.0]
[ebuild   R    ] sys-fs/zfs-kmod-2.2.5
[ebuild     U  ] dev-util/spirv-llvm-translator-18.1.3 [18.1.2] LLVM_SLOT="18%*"
[ebuild     U  ] dev-python/numpy-2.0.2 [2.0.1]
[ebuild     U  ] dev-util/glslang-1.3.290.0 [1.3.283.0]
[ebuild     U  ] dev-util/maturin-1.7.1 [1.7.0]
[ebuild     U  ] media-libs/shaderc-2024.1-r1 [2024.1]
[ebuild     U  ] dev-python/matplotlib-3.9.2 [3.9.1]
[ebuild   R    ] media-libs/libplacebo-7.349.0
[ebuild     U  ] app-portage/gentoolkit-0.6.7 [0.6.5] USE="-test%" PYTHON_TARGETS="(-python3_13)"
[ebuild   R    ] dev-qt/qtbase-6.7.2-r4  USE="icu* libproxy* opengl* wayland*"
[ebuild  N     ] dev-qt/qtwayland-6.7.2-r3  USE="-accessibility -compositor -qml -test -vulkan"
[ebuild  NS    ] dev-qt/qtsvg-6.7.2 [5.15.14]
[ebuild  N     ] dev-qt/qtshadertools-6.7.2  USE="-test"
[ebuild  N     ] dev-libs/plasma-wayland-protocols-1.13.0
[ebuild   R    ] sys-auth/polkit-qt-0.200.0  USE="qt6*"
[ebuild   R    ] app-text/poppler-24.06.1  USE="qt6*"
[ebuild  NS    ] dev-qt/qtdeclarative-6.7.2 [5.15.14] USE="network%* sql%* ssl%* -accessibility% -opengl% -qmlls% -svg%"
[ebuild  N     ] dev-qt/qt5compat-6.7.2  USE="qml -icu -test"
[ebuild   R    ] app-crypt/qca-2.3.9  USE="qt6*"
[ebuild     U  ] dev-ruby/timeout-0.4.1 [0.3.2] RUBY_TARGETS="(-ruby33)"
[ebuild     U  ] dev-ruby/rexml-3.3.6 [3.3.4]
[ebuild     U  ] dev-ruby/reline-0.5.9 [0.4.3]
[ebuild     U  ] dev-ruby/irb-1.13.2 [1.11.1]
[ebuild     U  ] www-client/firefox-bin-130.0 [129.0.2]
[ebuild     U  ] dev-util/intel_clc-24.1.6 [24.1.3]
[ebuild     U  ] media-libs/mesa-24.1.6 [24.1.3]
[ebuild     U  ] app-office/libreoffice-bin-7.6.7.2 [7.6.4.1] PYTHON_SINGLE_TARGET="python3_12%*"
[ebuild  NS    ] kde-frameworks/kf-env-6 [5]
[uninstall     ] kde-frameworks/kf-env-5
[blocks b      ] kde-frameworks/kf-env:5 ("kde-frameworks/kf-env:5" is soft blocking kde-frameworks/kf-env-6)
[ebuild  NS    ] kde-frameworks/kcoreaddons-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kconfig-6.5.0 [5.116.0] USE="qml*"
[ebuild  NS    ] kde-frameworks/ki18n-6.5.0 [5.116.0] PYTHON_SINGLE_TARGET="(-python3_13)"
[ebuild  NS    ] kde-frameworks/kwidgetsaddons-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/karchive-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kwindowsystem-6.5.0-r1 [5.116.0] USE="wayland*"
[ebuild  NS    ] kde-frameworks/kdbusaddons-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kitemviews-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kcodecs-6.5.0 [5.116.0]
[ebuild  N     ] kde-frameworks/kirigami-6.5.0-r1  USE="openmp -debug -examples -test"
[ebuild  NS    ] kde-frameworks/kglobalaccel-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/threadweaver-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/sonnet-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/solid-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kdoctools-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kcrash-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/knotifications-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kcompletion-6.5.0 [5.116.0]
[ebuild  NS    ] kde-plasma/plasma-activities-6.1.4 [5.116.0]
[ebuild  NS    ] kde-frameworks/kpty-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kimageformats-6.5.0 [5.116.0]
[ebuild  N     ] kde-frameworks/kpackage-6.5.0  USE="-debug -doc -man -test"
[ebuild  NS    ] kde-frameworks/kservice-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kjobwidgets-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kded-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kauth-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/breeze-icons-6.5.0 [5.116.0]
[uninstall     ] kde-frameworks/breeze-icons-5.116.0
[blocks b      ] kde-frameworks/breeze-icons:5 ("kde-frameworks/breeze-icons:5" is soft blocking kde-frameworks/breeze-icons-6.5.0)
[ebuild  NS    ] kde-apps/libkexiv2-24.05.2 [23.08.5]
[ebuild  NS    ] kde-frameworks/kguiaddons-6.5.0-r1 [5.116.0]
[uninstall     ] kde-frameworks/kguiaddons-5.116.0
[blocks b      ] kde-frameworks/kguiaddons:5[-kf6compat(-)] ("kde-frameworks/kguiaddons:5[-kf6compat(-)]" is soft blocking kde-frameworks/kguiaddons-6.5.0-r1)
[ebuild  N     ] kde-frameworks/kcolorscheme-6.5.0  USE="-debug -doc"
[ebuild  NS    ] kde-frameworks/kconfigwidgets-6.5.0 [5.116.0]
[ebuild  N     ] kde-frameworks/ksvg-6.5.0  USE="-debug -doc -test"
[ebuild  NS    ] kde-frameworks/kiconthemes-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/ktextwidgets-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kxmlgui-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kbookmarks-6.5.0 [5.116.0]
[ebuild  NS    ] kde-frameworks/kwallet-6.5.0 [5.116.0]
[uninstall     ] kde-frameworks/kwallet-5.116.0
[blocks b      ] kde-frameworks/kwallet:5[-kf6compat(-)] ("kde-frameworks/kwallet:5[-kf6compat(-)]" is soft blocking kde-frameworks/kwallet-6.5.0)
[ebuild  NS    ] kde-frameworks/kio-6.5.0 [5.116.0] USE="-wayland%"
[ebuild  NS    ] kde-frameworks/kparts-6.5.0 [5.116.0]
[ebuild  N     ] kde-frameworks/kcmutils-6.5.0  USE="-debug -doc -test"
[ebuild  N     ] kde-plasma/libplasma-6.1.4  USE="-debug -doc -gles2-only -test"
[ebuild  NS    ] kde-apps/okular-24.05.2 [23.08.5]
[uninstall     ] kde-apps/okular-23.08.5
[blocks b      ] kde-apps/okular:5 ("kde-apps/okular:5" is soft blocking kde-apps/okular-24.05.2)
[ebuild  NS    ] kde-plasma/polkit-kde-agent-6.1.4 [5.27.11]
[uninstall     ] kde-plasma/polkit-kde-agent-5.27.11
[blocks b      ] kde-plasma/polkit-kde-agent:5 ("kde-plasma/polkit-kde-agent:5" is soft blocking kde-plasma/polkit-kde-agent-6.1.4)
[ebuild  N     ] dev-util/colm-0.14.7-r3  USE="-doc"
[ebuild     U  ] dev-util/ragel-7.0.4-r3 [6.10] USE="-doc%"
[blocks b      ] <dev-util/ragel-7.0.3 ("<dev-util/ragel-7.0.3" is soft blocking dev-util/colm-0.14.7-r3)
[ebuild     U  ] dev-ruby/json-2.7.2-r1 [2.7.2]

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:


dev-qt/qtbase:6

  (dev-qt/qtbase-6.7.2-r4:6/6.7.2::gentoo, ebuild scheduled for merge) USE="X concurrent dbus gui icu libinput libproxy network nls opengl sql sqlite ssl udev wayland widgets xml (zstd) -accessibility -brotli -cups -eglfs -evdev -gles2-only -gssapi -gtk -journald -mysql -oci8 -odbc -postgres -renderdoc -sctp -syslog -test -tslib -vulkan" ABI_X86="(64)" pulled in by
    >=dev-qt/qtbase-6.6.2:6[gui,opengl] required by (kde-frameworks/kcrash-6.5.0:6/6.5::gentoo, ebuild scheduled for merge) USE="X -debug -doc -test" ABI_X86="(64)"
                                ^^^^^^

    ~dev-qt/qtbase-6.7.2:6[accessibility=,gui,opengl,vulkan=,wayland] required by (dev-qt/qtwayland-6.7.2-r3:6/6.7.2::gentoo, ebuild scheduled for merge) USE="-accessibility -compositor -qml -test -vulkan" ABI_X86="(64)"

                                              ^^^^^^         ^^^^^^^

    >=dev-qt/qtbase-6.6.2:6[dbus?,icu] required by (kde-frameworks/kcoreaddons-6.5.0:6/6.5::gentoo, ebuild scheduled for merge) USE="dbus -debug -doc -test" ABI_X86="(64)"
                                  ^^^

    >=dev-qt/qtbase-6.6.2:6[libproxy] required by (kde-frameworks/kio-6.5.0:6/6.5::gentoo, ebuild scheduled for merge) USE="X acl handbook kwallet -debug -designer -doc -test -wayland" ABI_X86="(64)"
                            ^^^^^^^^


    >=dev-qt/qtbase-6.6.2:6[gui,wayland?] required by (kde-frameworks/kwindowsystem-6.5.0-r1:6/6.5::gentoo, ebuild scheduled for merge) USE="X wayland -debug -doc -test" ABI_X86="(64)"
                                ^^^^^^^^


  (dev-qt/qtbase-6.7.2-r4:6/6.7.2::gentoo, installed) USE="X concurrent dbus gui libinput network nls sql sqlite ssl udev widgets xml (zstd) -accessibility -brotli -cups -eglfs -evdev -gles2-only -gssapi -gtk -icu -journald -libproxy -mysql -oci8 -odbc -opengl -postgres -renderdoc -sctp -syslog -test -tslib -vulkan -wayland" ABI_X86="(64)" pulled in by
    ~dev-qt/qtbase-6.7.2:6[gui,icu=,network,xml] required by (dev-qt/qt5compat-6.7.2:6/6.7.2::gentoo, ebuild scheduled for merge) USE="qml -icu -test" ABI_X86="(64)"
                               ^^^^

    ~dev-qt/qtbase-6.7.2:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=] required by (dev-qt/qtdeclarative-6.7.2:6/6.7.2::gentoo, ebuild scheduled for merge) USE="network sql ssl widgets -accessibility -jit -opengl -qmlls -svg -vulkan" ABI_X86="(64)"
                                                       ^^^^^^^


    ~dev-qt/qtbase-6.7.2:6[opengl=] required by (dev-qt/qttools-6.7.2:6/6.7.2::gentoo, installed) USE="assistant linguist qdbus widgets (zstd) -clang -designer -distancefieldgenerator -gles2-only -opengl -pixeltool -qdoc -qml -qtattributionsscanner -qtdiag -qtplugininfo -vulkan" ABI_X86="(64)" LLVM_SLOT="18 -15 -16 -17"
                           ^^^^^^^





It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.



Thank you all for your help.


Last edited by vcmota on Wed Sep 18, 2024 6:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9165

PostPosted: Mon Sep 16, 2024 5:50 pm    Post subject: Reply with quote

You're not using a desktop profile? This would be much easier otherwise.

Scan the output for "required by" string. These lines tell you that several packages are requesting USE flags set on dev-qt/qtbase:6, which indeed your configuration of dev-qt/qtbase:6 looks to be providing - but other dev-qt/* packages like qtdeclarative need these flags *in sync* with qtbase:6, like qtdeclarative. And really, you want to have USE like icu, and opengl, and wayland, and vulkan, ... globally enabled, but it seems like you did that only selectively via package.use for qtbase:6 yet?
Back to top
View user's profile Send private message
vcmota
Guru
Guru


Joined: 19 Jun 2017
Posts: 377

PostPosted: Mon Sep 16, 2024 6:00 pm    Post subject: Reply with quote

asturm wrote:
You're not using a desktop profile?

Scan the output for "required by" string. These lines tell you that several packages are requesting USE flags set on dev-qt/qtbase:6, which indeed your configuration of dev-qt/qtbase:6 looks to be providing - but other dev-qt/* packages like qtdeclarative need these flags *in sync* with qtbase:6, like qtdeclarative. And really, you want to have USE like icu and opengl globally enabled, but it seems like you did that only selectively via package.use for qtbase:6 yet?


Thank you asturm for your reply.

Yes, I am not using a desktop profile. I have never used one with gentoo. What I have is dwm, always trying to use the lightest possible install. I dont know what changed, why those packages are been requested now, since I continue with a light install and havent installed any out-of-the-ordinary tool that would require a big change in my system. This is exactly what I have:

Code:


~> emerge --info
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr/hardened/selinux, gcc-13, glibc-2.39-r6, 6.6.47-gentoo-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.47-gentoo-gentoo-dist-x86_64-11th_Gen_Intel-R-_Core-TM-_i7-1165G7_@_2.80GHz-with-glibc2.39
KiB Mem:    32589740 total,  13159384 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Mon, 16 Sep 2024 16:15:00 +0000
Head commit of repository gentoo: 84ebb8f151a3853fc46cf22cf7cdc73dcf0df7a7
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.14_p1-r1::gentoo, 3.11.9_p2::gentoo, 3.12.3-r1::gentoo
dev-lang/rust:             1.79.0::gentoo
sec-policy/selinux-base:   2.20240226-r2::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
sys-libs/libselinux:       3.6-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync10.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news nostrip parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pt_BR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en pt pt_BR zh zn_CN"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl acpi alsa amd64 audit bluetooth bzip2 caps cet crypt dbus elogind eselect-ldso fortran gdbm hardened iconv ipv6 lapack libtirpc multilib ncurses nls openmp pam pcre pic pie policykit pulseaudio readline savedconfig seccomp selinux split-usr ssl ssp symlink test-rust threads udev unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en pt pt-BR zh zh-CN"
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="hp" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS,
STRIP, YACC, YFLAGS
~>



Code:

~> cat /etc/portage/package.use/
cat: /etc/portage/package.use/: É um diretório
~> cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C


USE="X policykit dbus elogind -consolekit alsa pulseaudio acl udev savedconfig threads unicode symlink crypt fortran lapack eselect-ldso bluetooth acpi"
MAKEOPTS="-j5"



SANE_BACKENDS="hp"

VIDEO_CARDS="intel nouveau"
INPUT_DEVICES="libinput wacom"

FEATURES="nostrip splitdebug"

POLICY_TYPES="strict"

LINGUAS="en pt pt_BR zh zn_CN"
L10N="en pt pt-BR zh zh-CN"



GRUB_PLATFORMS="efi-64"
# GENTOO_MIRRORS="http://gentoo.gossamerhost.com rsync://gentoo.gossamerhost.com/gentoo-distfiles/"
~>





Code:

~> eselect profile list
Available profile symlink targets:
  [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)
~>


Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9165

PostPosted: Mon Sep 16, 2024 6:04 pm    Post subject: Reply with quote

Updates bring changes, sometimes bigger changes (like Qt5 -> Qt6, KF5 -> KF6):

Code:
[ebuild  NS    ] kde-apps/okular-24.05.2 [23.08.5]
[uninstall     ] kde-apps/okular-23.08.5
[blocks b      ] kde-apps/okular:5 ("kde-apps/okular:5" is soft blocking kde-apps/okular-24.05.2)
[ebuild  NS    ] kde-plasma/polkit-kde-agent-6.1.4 [5.27.11]
[uninstall     ] kde-plasma/polkit-kde-agent-5.27.11
[blocks b      ] kde-plasma/polkit-kde-agent:5 ("kde-plasma/polkit-kde-agent:5" is soft blocking kde-plasma/polkit-kde-agent-6.1.4)
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2800

PostPosted: Mon Sep 16, 2024 6:10 pm    Post subject: Reply with quote

Not impossible to use package.use for everything but you'll have a lot of figuring out to do, esp. given portage is not very helpful at showing the proper solution to this type of conflict. Either way, it won't go away magically by waiting w/o a desktop profile.

If really want to keep your current profile and want minimal, I'd at *least* USE="opengl icu kf6compat" globally and cleanup your package.use to avoid mismatches. May need more depending on what you're installing but these are hard to pass w/ qt6+kde.

Albeit I think trying to be minimal when you're installing qt6 and kde packages doesn't make much sense, few extra default USE weights little in the balance. Edit: So may just want to set most desktop USE flags to get the expected experience, or ideally merge the desktop profile with your current, albeit that's slightly more advanced usage.


Last edited by Ionen on Mon Sep 16, 2024 6:17 pm; edited 2 times in total
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3934
Location: Hamburg

PostPosted: Mon Sep 16, 2024 6:14 pm    Post subject: Reply with quote

I do have 23.0/split-usr/hardened. What I'm doing from time to time is to eselect the plasma profile and run "emerge -p @world" to check if there are USE flags I should add here. Then I switch back to my profile and act accordingly to the output.
Back to top
View user's profile Send private message
vcmota
Guru
Guru


Joined: 19 Jun 2017
Posts: 377

PostPosted: Mon Sep 16, 2024 6:20 pm    Post subject: Reply with quote

Ionen wrote:
Not impossible to use package.use for everything but you'll have a lot of figuring out to do, esp. given portage is not very helpful at showing the proper solution to this type of conflict. Either way, it won't go away magically by waiting w/o a desktop profile.

If really want to keep your current profile and want minimal, I'd at *least* USE="opengl icu kf6compat" globally and cleanup your package.use to avoid mismatches. May need more depending on what you're installing but these are hard to pass w/ qt6+kde.

Albeit I think trying to be minimal when you're installing kde packages doesn't make much sense, few extra default USE weights little in the balance.


Thank you lonen for your reply.

Yes, I totally agree my situation is not ideal. When first installing my system, I had huge issues as you may see here that led me to forcefully deviate somehow from a truly minimal install. I have a much larger system in this laptop than in my other two machines because of that. I believe the only KDE tool that I use is okular, but it is possible that others are installed because of my "original sin".

So, regarding your sugestion: I should first add this USE="opengl icu kf6compat" and rerun world updates?

Regarding package.use, I dont think I have that many:

Code:

~> ls /etc/portage/package.use/
apvlv  btrfs-progs  elogind  feh          fwupd         gutenprint   libcaca      libreoffice-bin  lxcfs  mupdf   ntp     openntpd    simplescreenrecorder  tmux         vim         xournal       zz-autounmask
avahi  cups         evince   firefox      gnuplot       hplip        libinput     libvirt          lxd    nmap    octave  pulseaudio  sudo                  tobedeleted  virtualbox  xsane
bash   deluge       f3       firefox-bin  googlechrome  imagemagick  libreoffice  lxc              mpv    ntfs3g  okular  qemu        texlive               vifm         vlc         zathura-meta
~>



Thank you again for your reply.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9165

PostPosted: Mon Sep 16, 2024 6:23 pm    Post subject: Reply with quote

ftr, it doesn't look as if kf6compat will be doing anything for your system. In that area, Portage is able to autoresolve the blockers, automatically cleaning up the older KF5 version. And probably all of KF5 will be cleaned up by a follow-up depclean run after the upgrade.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2800

PostPosted: Mon Sep 16, 2024 6:30 pm    Post subject: Reply with quote

vcmota wrote:
So, regarding your sugestion: I should first add this USE="opengl icu kf6compat" and rerun world updates?
Yes albeit can probably skip kf6compat given asturm's reply who knows better for that one.

It may or may not be enough but it should improve the situation still.

Quote:
Regarding package.use, I dont think I have that many:
It depends on what's set in there, I'd be wary of anything either setting or unsetting opengl, vulkan, wayland, icu, accessibility, X, and maybe others I'm forgetting that are more meant to be either set globally or not at all. If a package does require one of these, then throw it in global instead.

Edit: may possibly need USE=wayland even if you don't use it, it only adds some tiny libraries.
Back to top
View user's profile Send private message
vcmota
Guru
Guru


Joined: 19 Jun 2017
Posts: 377

PostPosted: Mon Sep 16, 2024 6:44 pm    Post subject: Reply with quote

Ionen wrote:
vcmota wrote:
So, regarding your sugestion: I should first add this USE="opengl icu kf6compat" and rerun world updates?
Yes albeit can probably skip kf6compat given asturm's reply who knows better for that one.

It may or may not be enough but it should improve the situation still.

Quote:
Regarding package.use, I dont think I have that many:
It depends on what's set in there, I'd be wary of anything either setting or unsetting opengl, vulkan, wayland, icu, accessibility, X, and maybe others I'm forgetting that are more meant to be either set globally or not at all. If a package does require one of these, then throw it in global instead.

Edit: may possibly need USE=wayland even if you don't use it, it only adds some tiny libraries.


I may have found the suspects:

Code:

~> for i in `ls /etc/portage/package.use/`; do grep "opengl" /etc/portage/package.use/$i; done
app-text/mupdf x opengl
media-video/simplescreenrecorder mpr x264 pulseaudio opengl theora v4l vorbis vpx
app-emulation/virtualbox lvm sdk udev opengl pulseaudio
>=media-libs/gst-plugins-base-1.22.11 opengl
>=dev-qt/qtbase-6.7.2-r4 libproxy opengl wayland icu

~> for i in `ls /etc/portage/package.use/`; do grep "vulkan" /etc/portage/package.use/$i; done

~> for i in `ls /etc/portage/package.use/`; do grep "wayland" /etc/portage/package.use/$i; done
# required by dev-qt/qtwayland-6.7.2-r3::gentoo
>=dev-qt/qtbase-6.7.2-r4 libproxy opengl wayland icu
>=kde-frameworks/kwindowsystem-6.5.0 wayland

~> for i in `ls /etc/portage/package.use/`; do grep "icu" /etc/portage/package.use/$i; done
www-client/firefox dbus hardened hwaccel jack jemalloc nsplugin selinux system-sqlite system-harfbuzz system-icu system-jpeg system-libevent system-libvpx pulseaudio
>=dev-qt/qtcore-5.7.1-r3 icu
>=media-libs/harfbuzz-1.4.6-r2 icu
>=media-libs/harfbuzz-2.8.1 icu
>=dev-qt/qtbase-6.7.2-r4 libproxy opengl wayland icu

~> for i in `ls /etc/portage/package.use/`; do grep "accessibility" /etc/portage/package.use/$i; done

~> for i in `ls /etc/portage/package.use/`; do grep "X" /etc/portage/package.use/$i; done
net-print/hplip X scanner static-ppds hpcups
media-video/mpv X alsa bluray cdda cli cplugins doc dvb dvd egl encode iconv jack jpeg lcms libass libcaca libmpv luajit oss rubberhand v4l vaapi drm gbm openal -xv
sci-mathematics/octave X doc gnuplot fftw
app-text/texlive X context dvi2tty es2pdf extra graphics humanities metapost png pstricks publishers science tex4ht texi2html truetype xml xetex luatex jadetex detex cjk
app-editors/vim X acl gpm nls selinux terminal cscope python vim-pager

~>


As you can see, except for vulkan and acessibility all others are present somewhere in package.use. So, what should I do: enabling a given one for global use and at the same time removing from the package.use?

Thank you again!
Back to top
View user's profile Send private message
vcmota
Guru
Guru


Joined: 19 Jun 2017
Posts: 377

PostPosted: Wed Sep 18, 2024 6:44 pm    Post subject: Reply with quote

It worked!

I have added for global use the flags opengl, icu and wayland, and in the sequence the system asked for two minor package.use changes. After that there was a huge world update, approximately 140 updates, which took nearly a whole night, but concluded without errors. The subsequent cleanup removed 43 packages, and now I have the system "unlocked" again. For future reference, this is my new make.conf file:

Code:

~> cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C


USE="X policykit dbus elogind -consolekit alsa pulseaudio acl udev savedconfig threads unicode symlink crypt fortran lapack eselect-ldso bluetooth acpi opengl icu wayland"
MAKEOPTS="-j5"



SANE_BACKENDS="hp"

VIDEO_CARDS="intel nouveau"
INPUT_DEVICES="libinput wacom"

FEATURES="nostrip splitdebug"

POLICY_TYPES="strict"

LINGUAS="en pt pt_BR zh zn_CN"
L10N="en pt pt-BR zh zh-CN"



GRUB_PLATFORMS="efi-64"
# GENTOO_MIRRORS="http://gentoo.gossamerhost.com rsync://gentoo.gossamerhost.com/gentoo-distfiles/"
~>



Thank you again lonen, asturm and toralf!
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