Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680814 - [pmaci overlay?] mate-base/mate-applets-1.22.0 has a patch which failes emerging
Summary: [pmaci overlay?] mate-base/mate-applets-1.22.0 has a patch which failes emerging
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-17 23:52 UTC by Ulenrich
Modified: 2019-03-19 18:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2019-03-17 23:52:02 UTC
If I emerge the local ebuild without the patch it runs through:
---
emerge -1 =mate-applets-1.22.0::pmaci

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

Calculating dependencies  ........... done!
[ebuild     UD ] mate-base/mate-applets-1.22.0::pmaci [1.22.0-r1::pmaci] USE="X ipv6 policykit upower*" 

Total: 1 package (1 downgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) mate-base/mate-applets-1.22.0::pmaci
>>> Installing (1 of 1) mate-base/mate-applets-1.22.0::pmaci
---
I have to delete line 55
# PATCHES=( "${FILESDIR}/${PN}-1.16.0-cpupower-4.7.patch" )

otherwise (with cpupower patch):
---
cpufreq-monitor-libcpufreq.c:105:40: error: missing binary operator before token "("
 #if LINUX_VERSION_CODE > KERNEL_VERSION(4, 7, 0)
                                        ^
make[4]: *** [Makefile:606: cpufreq-monitor-libcpufreq.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/tmp/portage/mate-base/mate-applets-1.22.0/work/mate-applets-1.22.0/cpufreq/src'
make[3]: *** [Makefile:635: all-recursive] Error 1
make[3]: Leaving directory '/tmp/portage/mate-base/mate-applets-1.22.0/work/mate-applets-1.22.0/cpufreq/src'
make[2]: *** [Makefile:593: all-recursive] Error 1
make[2]: Leaving directory '/tmp/portage/mate-base/mate-applets-1.22.0/work/mate-applets-1.22.0/cpufreq'
make[1]: *** [Makefile:554: all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/mate-base/mate-applets-1.22.0/work/mate-applets-1.22.0'
make: *** [Makefile:486: all] Error 2
 * ERROR: mate-base/mate-applets-1.22.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-18 17:23:01 UTC
Either summarise the problem completely or simply attach the entire build log. The patch applies fine here and you didn't provide a complete build.log and you use an unknown overlay, so anything could be happening here.
Comment 2 Ulenrich 2019-03-19 11:28:17 UTC
Yes, it was to late the night for me writing the bug. But thanks to the Maintainer and the new patch 
mate-applets/files/mate-applets-1.22.0-cpupower.patch
which solves the issue for me