Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930548 - =kde-apps/kmbox-24.02.2: emerge wants dev-qt/qtcore:5 as dependency
Summary: =kde-apps/kmbox-24.02.2: emerge wants dev-qt/qtcore:5 as dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 09:31 UTC by David Kredba
Modified: 2024-04-25 20:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Screenshot (file_930548.txt,243 bytes, text/plain)
2024-04-24 10:33 UTC, David Kredba
Details
Screenshot_ (scrn.jpg,259.67 KB, image/jpeg)
2024-04-24 10:34 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2024-04-24 09:31:03 UTC
I am trying to install merkuro:6 having nothing of the QT5 present in my system.
I do not see qtcore:5 listed as a dependency in referred ebuild files.
I (p)masked it to prevent QT5 packages installation.

emerge -pv merkuro:6:
---cut---

- dev-qt/qtcore-5.15.13::gentoo (masked by: package.mask)

(dependency required by "kde-apps/kmbox-24.02.2::gentoo" [ebuild])
(dependency required by "kde-apps/kdepim-runtime-24.02.2::gentoo" [ebuild])
(dependency required by "app-office/merkuro-24.02.2::gentoo" [ebuild])
(dependency required by "merkuro" [argument])
---cut---

emerge -pv kmbox:6:
---cut---

- dev-qt/qtcore-5.15.13::gentoo (masked by: package.mask)

(dependency required by "kde-apps/kmbox-24.02.2::gentoo" [ebuild])
(dependency required by "kmbox:6"
---cut---

Emerge Debug of kmbox:6:
Calculating dependencies  

      Arg: kmbox:6
     Atom: kde-apps/kmbox:6
   ebuild: kde-apps/kmbox-24.02.2::gentoo

Child:         (kde-apps/kmbox-24.02.2:6/6::gentoo, ebuild scheduled for merge) USE="-debug -doc -test"
Parent Dep:    kmbox:6

Parent:    (kde-apps/kmbox-24.02.2:6/6::gentoo, ebuild scheduled for merge)
Depstring: >=kde-apps/kmime-24.02.2:6 || ( kde-frameworks/breeze-icons:* kde-frameworks/oxygen-icons:* ) >=kde-frameworks/kf-env-4 doc? ( dev-qt/qt-docs:5 ) dev-qt/qtcore:5 !kde-apps/kmbox:5
Priority:  runtime

Parent:    (kde-apps/kmbox-24.02.2:6/6::gentoo, ebuild scheduled for merge)
Depstring: >=kde-apps/kmime-24.02.2:6 >=kde-frameworks/kf-env-4 dev-qt/qtcore:5 !kde-apps/kmbox:5
Priority:  runtime
Candidates: ['>=kde-apps/kmime-24.02.2:6', '>=kde-frameworks/kf-env-4', 'dev-qt/qtcore:5', '!kde-apps/kmbox:5']
   ebuild: kde-apps/kmime-24.02.2::gentoo
installed: kde-apps/kmime-24.02.2::gentoo
   ebuild: kde-frameworks/kf-env-5::gentoo
installed: kde-frameworks/kf-env-5::gentoo


backtracking due to unsatisfied dep:
    parent: (kde-apps/kmbox-24.02.2:6/6::gentoo, ebuild scheduled for merge)
  priority: runtime
      root: /
      atom: dev-qt/qtcore:5



backtracking try 1 
---cut---

kmime:6 does not have the qtcore:5 listed as dependency in it's ebuild file too if I am not wrong.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-24 10:07:55 UTC
Please provide untruncated output from 'emerge -p -uvDU @world' too, please.
Comment 2 David Kredba 2024-04-24 10:22:32 UTC
It has been built by emerge using
emerge -1v --nodeps =kde-apps/kpimtextedit-24.02.2 =kde-apps/libkdepim-24.02.2 =kde-apps/akonadi-notes-24.02.2 =kde-frameworks/kdav-6.1.0 =kde-apps/kidentitymanagement-24.02.2 =dev-libs/cyrus-sasl-2.1.28-r4 =kde-apps/libkleo-24.02.2 =dev-qt/qtlocation-6.7.0 =kde-apps/kcalutils-24.02.2 =kde-apps/kldap-24.02.2 =kde-apps/kmbox-24.02.2 =kde-apps/kimap-24.02.2 =kde-apps/libkgapi-24.02.2 =kde-apps/ksmtp-24.02.2 =kde-apps/kmailtransport-24.02.2 =kde-apps/pimcommon-24.02.2 =kde-apps/mimetreeparser-24.02.2 =kde-apps/libgravatar-24.02.2 =kde-apps/mailimporter-24.02.2 =kde-apps/messagelib-24.02.2 =kde-apps/mailcommon-24.02.2 =kde-apps/akonadi-calendar-24.02.2 =kde-apps/kdepim-runtime-24.02.2 =app-office/merkuro-24.02.2
Comment 3 David Kredba 2024-04-24 10:23:03 UTC
emerge -p -uvDU @world

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

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

[ebuild  r  U  ] app-arch/snappy-1.2.0-r1:0/1.2::gentoo [1.1.10-r1:0/1.1::gentoo] USE="-test" CPU_FLAGS_X86="avx avx2" 1 082 KiB
[ebuild  rR    ] dev-qt/qtwebengine-6.7.0:6/6.7.0::gentoo  USE="alsa jumbo-build opengl pulseaudio screencast vaapi widgets -accessibility -bindist -custom-cflags -designer -geolocation -kerberos -pdfium -qml -system-icu -test -vulkan -webdriver" 8 KiB
[ebuild  NS    ] net-misc/freerdp-3.5.0:3::gentoo [2.11.6:2::gentoo] USE="alsa client cups ffmpeg fuse%* icu* jpeg pulseaudio usb -X -aad% -debug -gstreamer -kerberos -openh264 -sdl% -server -smartcard -systemd -test -valgrind (-wayland*) -xinerama -xv" 9 117 KiB
[uninstall     ] net-misc/freerdp-2.11.6:2::gentoo  USE="alsa client cups ffmpeg jpeg pulseaudio usb wayland -X -debug -gstreamer -icu -kerberos -openh264 -server -smartcard -systemd -test -valgrind -xinerama -xv" 
[blocks b      ] net-misc/freerdp:3[client] ("net-misc/freerdp:3[client]" is soft blocking net-misc/freerdp-2.11.6)
[blocks b      ] net-misc/freerdp:2[client] ("net-misc/freerdp:2[client]" is soft blocking net-misc/freerdp-3.5.0)
Comment 4 David Kredba 2024-04-24 10:26:06 UTC
emerge --info merkuro
Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-13, glibc-2.39-r3, 6.8.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.8.7-gentoo-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.39
KiB Mem:    65755864 total,  38643140 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 24 Apr 2024 02:45:00 +0000
Head commit of repository gentoo: a57423ad4e0f77cfd1f1631bad8756472ce84d06
Timestamp of repository guru: Tue, 23 Apr 2024 10:35:11 +0000
Head commit of repository guru: ad73d0a456addb32004c9673529d157c6f5d8b23

Timestamp of repository palemoon: Tue, 23 Apr 2024 21:48:28 +0000
Head commit of repository palemoon: 95adb9de2e5957dbc5170114163f701e16f97fce

Timestamp of repository pf4public: Tue, 23 Apr 2024 21:48:36 +0000
Head commit of repository pf4public: 52208f06b413ba443cc0ae60bb73fde9ffbc31eb

sh bash 5.2_p26-r1
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r1::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.4::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.4::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

palemoon
    location: /var/db/repos/palemoon
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/palemoon.git
    masters: gentoo
    volatile: False

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo
    volatile: False

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -ggdb3 -pipe -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-O2 -ggdb3 -pipe -march=znver2"
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="-O2 -ggdb3 -pipe -march=znver2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -ggdb3 -pipe -march=znver2"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://gentoo.mirror.web4u.cz/ https://mirror.leaseweb.com/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="cs en"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS=""
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="a52 aac acl alsa amd64 avif blas bluetooth branding bzip2 caps cdda cddb cdr cet colord crypt cups dbus djvu dts dvb dvd dvdr elogind encode exif ffmpeg fftw flac fontconfig fortran gd gdbm geoip gif gmp gnuplot graphviz gsl gsm hdf5 heif iconv idn imagemagick ipv6 jbig jpeg jpeg2k jpegxl kde ladspa lame lapack lcms libass libsamplerate libtirpc lzma lzo mad matroska mms mng modplug mp3 mp4 mpeg mtp musepack musicbrainz ncurses nls ogg opencl openexr openmp opus pam pcre pdf plotutils png postscript pulseaudio qt6 quicktime readline seccomp semantic-desktop slang smp sndfile sox speex spell split-usr ssl svg szip taglib test-rust theora threads tiff truetype udev unicode usb v4l vaapi verify-sig vorbis wavpack wayland webp x264 xattr xml xpm xvid zlib zstd" 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" 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="pc" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="cs en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="scripting-beanshell scripting-javascript nlpsolver" LLVM_TARGETS="AMDGPU BPF X86" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1 php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="lexmark net" VIDEO_CARDS="amdgpu radeonsi" 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-office/merkuro-24.02.2::gentoo was built with the following:
USE="-debug -test"
FEATURES="assume-digests merge-sync fixlafiles pkgdir-index-trusted preserve-libs xattr userfetch binpkg-docompress news merge-wait sandbox binpkg-logs config-protect-if-modified distlocks ipc-sandbox qa-unresolved-soname-deps splitdebug unmerge-orphans usersync unknown-features-warn usersandbox binpkg-dostrip buildpkg-live unmerge-logs multilib-strict sfperms protect-owned ebuild-locks network-sandbox parallel-fetch binpkg-multi-instance pid-sandbox userpriv compressdebug strict"
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-24 10:28:42 UTC
nodeps invalidates support.

Also, that output looks truncated to me still...
Comment 6 David Kredba 2024-04-24 10:33:59 UTC
Created attachment 891637 [details]
Screenshot
Comment 7 David Kredba 2024-04-24 10:34:54 UTC
Created attachment 891638 [details]
Screenshot_
Comment 8 David Kredba 2024-04-24 10:37:49 UTC
It is not truncated.
By the --nodeps I wanted to demonstrate it builds without qtcore:5.
What surprises me is that it does not want to install qtcore:5 with merkuro:6 installed successfuly. So the "dependency" was there for the first installation only?

Attaching screenshot with shell of that -p uvDU.
Comment 9 David Kredba 2024-04-24 10:47:18 UTC
What about this maybe?

/usr/portage/eclass/ecm.eclass: COMMONDEPEND+=" dev-qt/qtcore:${_KFSLOT}"
Comment 10 Andreas Sturmlechner gentoo-dev 2024-04-24 16:18:26 UTC
Please do not use --nodeps, it makes most follow-up bug report output useless.

Problem is kde-apps/kmbox:6 not declaring KFMIN=6.0 or above, so ecm.eclass is using Qt5 dependencies.
Comment 11 David Kredba 2024-04-24 16:28:41 UTC
Thank you very much.

I am not using --nodeps at all regularly, this time it was for demonstration only, that qtcore:5 seems really not to be needed by all of the depending packages during merkuro build and run times.
Comment 12 David Kredba 2024-04-24 16:48:46 UTC
For the record, where emerge -p -uvDU @world not wanted to install dev-qt/qtcore:5 emerge -pv --depclean did:

Calculating dependencies... done!
* Dependencies could not be completely resolved due to
* the following required packages not being installed:
*
*   dev-qt/qtcore:5 pulled in by:
*     kde-apps/kmbox-24.02.2
*
* Have you forgotten to do a complete update prior to depclean? The
* most comprehensive command for this purpose is as follows:
*
*   emerge --update --newuse --deep --with-bdeps=y @world
*
* Note that the --with-bdeps=y option is not required in many
* situations. Refer to the emerge manual page (run `man emerge`)
* for more information about --with-bdeps.
Comment 13 Larry the Git Cow gentoo-dev 2024-04-25 19:17:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=8ef657f4675ce52607016b8aa1150f249b4bda7d

commit 8ef657f4675ce52607016b8aa1150f249b4bda7d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-04-25 14:32:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-04-25 19:15:49 +0000

    kde-apps/kmbox: Add missing KFMIN
    
    Bug: https://bugs.gentoo.org/930548
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kmbox/kmbox-24.05.49.9999.ebuild | 1 +
 kde-apps/kmbox/kmbox-9999.ebuild          | 1 +
 2 files changed, 2 insertions(+)
Comment 14 Larry the Git Cow gentoo-dev 2024-04-25 20:43:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d59953afa9a190a8274ff58ea409574694aa8d5

commit 2d59953afa9a190a8274ff58ea409574694aa8d5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-04-25 14:32:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-04-25 20:43:32 +0000

    kde-apps/kmbox: Add missing KFMIN
    
    Closes: https://bugs.gentoo.org/930548
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kmbox/kmbox-24.02.2.ebuild | 1 +
 1 file changed, 1 insertion(+)