Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670624 - sys-power/thermald-1.8 fails to build on x86
Summary: sys-power/thermald-1.8 fails to build on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-07 17:25 UTC by Rick Farina (Zero_Chaos)
Modified: 2018-11-07 18:22 UTC (History)
0 users

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


Attachments
build.log (build.log,39.47 KB, text/plain)
2018-11-07 17:25 UTC, Rick Farina (Zero_Chaos)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2018-11-07 17:25:20 UTC
Created attachment 554440 [details]
build.log

/var/tmp/portage/sys-power/thermald-1.8/work/thermal_daemon-1.8/src/thd_zone.cpp: In member function ‘void cthd_zone::sort_and_update_poll_trip()’:
/usr/include/glib-2.0/glib/gmessages.h:342:43: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vector<cthd_trip_point>::size_type {aka unsigned int}’ [-Werror=format=]
                                __VA_ARGS__)
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2018-11-07 18:14:41 UTC
https://github.com/intel/thermal_daemon/commit/bb7631163c8f3f44d0dc83690765cdb799664fd5.patch

upstream patch fixes the issue
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2018-11-07 18:22:56 UTC
upstream patch fixes this, I added -r1 with the fix