Referring to bug #935279, I see the same problem with mate-utils. There may be other packages that need fixes to dependencies. checking for mate-desktop-2.0 >= 1.27.1... no configure: error: Package requirements (mate-desktop-2.0 >= 1.27.1) were not met: Package dependency requirement 'mate-desktop-2.0 >= 1.27.1' could not be satisfied. Package 'mate-desktop-2.0' has version '1.26.2', required version is '>= 1.27.1' Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables MATE_DESKTOP_CFLAGS and MATE_DESKTOP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/mate-extra/mate-utils-1.28.0/work/mate-utils-1.28.0/config.log * ERROR: mate-extra/mate-utils-1.28.0::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 2119: Called mate_src_configure '--enable-zlib' '--enable-debug=minimum' '--with-x' '--disable-gdict-applet' '--enable-nls' '--disable-disk_image_mounter' * environment, line 1858: Called gnome2_src_configure '--disable-static' '--enable-zlib' '--enable-debug=minimum' '--with-x' '--disable-gdict-applet' '--enable-nls' '--disable-disk_image_mounter' * environment, line 1701: Called econf '--disable-gtk-doc' '--disable-schemas-compile' '--enable-compile-warnings=minimum' '--disable-static' '--enable-zlib' '--enable-debug=minimum' '--with-x' '--disable-gdict-applet' '--enable-nls' '--disable-disk_image_mounter' * phase-helpers.sh, line 732: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=mate-extra/mate-utils-1.28.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=mate-extra/mate-utils-1.28.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/mate-extra/mate-utils-1.28.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mate-extra/mate-utils-1.28.0/temp/environment'. * Working directory: '/var/tmp/portage/mate-extra/mate-utils-1.28.0/work/mate-utils-1.28. My system has the following Mate packages installed: Reproducible: Always Steps to Reproduce: 1. emerge -uUD @world # On system with Mate 1.26 installed. 2. 3. Expected Results: ebuilds for the mate-* packages should not be built until the pre-requisite packages are built.
commit 061325b335c1e0c71c27b6882ce1e3deabc8e5c5 Author: Pacho Ramos <pacho@gentoo.org> Date: Tue Jul 9 20:30:13 2024 +0200 x11-wm/marco: Fix dependencies mate-desktop is needed also at build time, otherwise build fails with: Run-time dependency mate-desktop-2.0 found: NO (tried cmake) meson.build:163:19: ERROR: Dependency lookup for mate-desktop-2.0 with method 'pkgconfig' failed: Invalid version, need 'mate-desktop-2.0' ['>= 1.27.1'] found '1.26.2'. Signed-off-by: Pacho Ramos <pacho@gentoo.org> commit 94c8e8823fe2ede3f16fad27302b858afabdd67a Author: Pacho Ramos <pacho@gentoo.org> Date: Mon Jul 8 23:32:47 2024 +0200 mate-base/mate-settings-daemon: Build needs mate-desktop >= 1.27.1 Closes: https://bugs.gentoo.org/935279 Signed-off-by: Pacho Ramos <pacho@gentoo.org> But that's not all, I think.
The bot couldn't post as too long, but: commit f1a2fbdd06aae5ab2334a895d99e5e731c684552 (HEAD -> master, origin/master, origin/HEAD) Author: Sam James <sam@gentoo.org> Date: Sun Oct 6 08:14:18 2024 +0100 x11-wm/marco: depend on min mate-desktop matching ${PV} Depend on >=mate-desktop-$(ver_cut 1-2) to avoid build failures for now as a quick workaround. The maintainers should check whether each package really needs it and also consider a possible QA check in the eclass given some of them seem to have a pattern in configure.ac for this, but given the bug has been open for a whlie, I'd rather have some of the deps be unnecessarily tight (not that it's even that tight) than as-it-was. Note that couldn't use ${MATE_BRANCH} as it says: > # Major and minor numbers of the version number, unless live. > # If live ebuild, will be set to '9999'. which made me wonder if it's actually meant to be 1-2 or 1-3 in ver_cut or what. Anyway, in summary: * Apply a fix which makes things better, even if it's slightly overkill; * Someone needs to audit these to find the actual minimum versions (some truly do need this, some need just something older, although unclear if upstream carefully update these or ont); * A QA check may be wise. Bug: https://bugs.gentoo.org/935279 Bug: https://bugs.gentoo.org/936079 Signed-off-by: Sam James <sam@gentoo.org> and so on.