Created attachment 407158 [details] build.log If openmp isn't set as a USE variable, thermald fails to compile because libgomp.spec doesn't exist (GCC never created it, since it wasn't built with OpenMP support). I don't see a good configure/autogen option to fix this, but removing "-fopenmp\" from the resultant Makefile works (and thermald works fine). This appears to be a bug in the upstream thermald package, as the same error occurs with a current git checkout.
Created attachment 477146 [details] output of emerge --info
Created attachment 477148 [details] build.log
Can confirm this bug: sys-power/thermald-1.6 fails to build when sys-devel/gcc does not have openmp enabled Steps to reproduce: 1.) emerge sys-devel/gcc with openmp use-flag disabled 2.) emerge sys-power/thermald-1.6 Actual results: compilation of thermald fails with "x86_64-pc-linux-gnu-g++: error: libgomp.spec: No such file or directory" Expected results: thermald is compiled and installed. When sys-devel/gcc has openmp enabled, the compilation of thermald also succeeded, but that is only a work-around. emerge --info is attached build.log is attached
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd1a263f1ff2ea09ea5e1774a55ab344673f283 commit 5bd1a263f1ff2ea09ea5e1774a55ab344673f283 Author: David Seifert <soap@gentoo.org> AuthorDate: 2018-02-19 15:25:54 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2018-02-19 15:25:54 +0000 sys-power/thermald: Version bump to 1.7.1 Closes: https://bugs.gentoo.org/555368 Closes: https://bugs.gentoo.org/618948 Closes: https://bugs.gentoo.org/642220 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-power/thermald/Manifest | 1 + sys-power/thermald/thermald-1.7.1.ebuild | 45 ++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+)