Due to changes in kernel's cpufreq API, mate-applets no longer build if current version for kernel is greater or equal to 4.1.0. Upstream solved this issue by commit https://github.com/mate-desktop/mate-applets/commit/34d9b916fe4133457b7c2e7a00cd23f4f5b85114 (and probably others) that needs to be backported in order for mate-applets to build/work in current stable gentoo-sources (and beyond) Reproducible: Always
Created attachment 600000 [details] Build log Build log for 1.22.1 version
I think this is related to a cpupower change in newer versions but can the fix be backported?
Upstream bug report: https://github.com/mate-desktop/mate-applets/issues/394 Upstream fix: https://github.com/mate-desktop/mate-applets/pull/397 All available in 1.22.2 https://github.com/mate-desktop/mate-applets/compare/v1.22.1...v1.22.2 via this commit - https://github.com/mate-desktop/mate-applets/commit/f25d2419474fcadcf93891aedc73a94ea914b077
Someone can push the latest version of mate-applet-1.22.2 in the repo ? It fixes this issue. Thanks
Created attachment 619790 [details, diff] Patch to commit 34d9b916fe4133457b7c2e7a00cd23f4f5b85114 Hello everyone, Until the 1.22.2 version is provided in Gentoo's Portage Tree, I made this patch to update some files from the current 1.22.1 version to the commit 34d9b916fe4133457b7c2e7a00cd23f4f5b85114 as the reporter noticed. However, this patch requires to removes the current provided patch "mate-applets-1.22.0-cpupower.patch" in the current ebuild, with the following patch: ================================================================ diff -pru a/mate-applets-1.22.1.ebuild b/mate-applets-1.22.1-r1.ebuild --- a/mate-applets-1.22.1.ebuild +++ b/mate-applets-1.22.1-r1.ebuild @@ -51,7 +51,7 @@ DEPEND="${COMMON_DEPEND} sys-devel/gettext:* virtual/pkgconfig:*" -PATCHES=( "${FILESDIR}"/${PN}-1.22.0-cpupower.patch ) +PATCHES=( "${FILESDIR}"/${P}-sync_commit_34d9b916fe4133457b7c2e7a00cd23f4f5b85114.patch ) src_configure() { mate_src_configure \ zsh: exit 1 diff -pru a/mate-applets-1.22.1.ebuild b/mate-applets-1.22.1-r1.ebuild ================================================================ The compilation works. Best regards.
Oops, I forgot to remove the "zsh: exit 1" line.
Should be fixed in: commit 255d5460428a50b7222f1e8242f83269b6a0a316 Author: Adam Feldman <NP-Hardass@gentoo.org> Date: Tue Mar 24 19:06:56 2020 -0400 mate-base/mate-applets: Bump to 1.24.0 Package-Manager: Portage-2.3.82, Repoman-2.3.18 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org> commit 6c1f3af8c6b934df65e18c3152e3ec248bd71c44 Author: Adam Feldman <NP-Hardass@gentoo.org> Date: Tue Mar 3 22:52:41 2020 -0500 mate-base/mate-applets: Bump to 1.22.2, make cpupower optional Package-Manager: Portage-2.3.82, Repoman-2.3.18 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org> Please reopen if you are still having trouble building this package with any kernel version