Created attachment 445004 [details] Build log. The build halts with a message like this: Unimplemented option: -p make: *** No rule to make target 'asm/io.h', needed by 'prog/dump/superio.rd'. Stop.
Created attachment 445006 [details] emerge --info
Created attachment 445008 [details] emerge -pqv '=sys-apps/lm_sensors-3.3.5::gentoo'
The warning comes from the ldconfig script we use for musl, and is harmless. An upstream(?) patch which should fix this bug can be found at: https://github.com/groeck/lm-sensors/commit/8fb3922219d3c6656b3902d6ae907de9e443797c.patch
Good find! Thanks. I will try that out a bit later. (I'm afraid I'm about to get busy with other things for a while.)
Created attachment 445202 [details, diff] lm_sensors-8fb3922-sensors-detect-gentoo.patch This patch replaces lm_sensors-3.3.5-sensors-detect-gentoo.patch for the 8fb3922... commit of lm_sensors.
Created attachment 445204 [details] lm_sensors-3.4.0-r133.ebuild ebuild that builds commit 8fb3922... from the lm_sensors github repository. It depends on the newly added patch.
Felix, the commit you linked me to eventually worked out. Thanks! It did take a little doing: upstream changed some code in the sensors-detect script which broke the lm_sensors-3.3.5-sensors-detect-gentoo.patch (which seems to make it possible to use lm_sensors on openrc systems instead of systemd systems). I did my best to faithfully recreate this patch for the newer version of the sensors-detect file, and it should be fine because the changes weren't very severe. I ran the modified sensors-detect on my system and didn't have any problems. I have included the ebuild that I used to grab the correct sources. Hope that helps!
Thanks for testing and for your work on updating the gentoo specific patch! In this case the ebuild should be named something like lm_sensors-3.4.0_p20150831.ebuild to indicate that it is not exactly version 3.4.0 but a snapshot. However for this kind of bug the usual solution would be to backport the upstream patch and to add it to the current ebuild. It is not unlikely that the upstream patch applies to the versions in portage without modification. Since the patch does only concern a build failure even no revbump would be necessary.
Please re-test latest sys-apps/lm_sensors-3.4.0_p20160725 which is based on latest upstream snapshot release and has a rewritten sensors-detect for Gentoo.
Just installed and ran sys-apps/lm_sensors-3.4.0_p20160725. It seems to be working fine. Thanks!
Thank you for confirmation.