Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661566 - sys-apps/lm_sensors-3.4.0_p20180318: lm_sensors sed: -e expression #1, char 24: unknown option to `s'
Summary: sys-apps/lm_sensors-3.4.0_p20180318: lm_sensors sed: -e expression #1, char 2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://github.com/lm-sensors/lm-sens...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-19 08:07 UTC by lekto
Modified: 2018-09-26 22:49 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,5.70 KB, application/x-info)
2018-07-19 08:07 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2018-07-19 08:07:10 UTC
Created attachment 540054 [details]
emerge --info

I getting errors while configuring speed of fans (pwmconfig), and I can't set few parameters.


>Current temperature readings are as follows:
>hwmon0/temp1_input	41
>hwmon1/temp1_input	32
>hwmon2/temp1_input	36
>hwmon2/temp2_input	35
>hwmon2/temp3_input	10
>hwmon2/temp4_input	52
>hwmon2/temp5_input	24
>hwmon2/temp6_input	-25
>hwmon2/temp7_input	32
>hwmon2/temp8_input	0
>hwmon2/temp9_input	0
>sed: -e expression #1, char 24: unknown option to `s'

>Select a temperature sensor as source for hwmon2/pwm3:
> 1) hwmon0/temp1_input
> 2) hwmon1/temp1_input
> 3) hwmon2/temp1_input
> 4) hwmon2/temp2_input
> 5) hwmon2/temp3_input
> 6) hwmon2/temp4_input
> 7) hwmon2/temp5_input
> 8) hwmon2/temp6_input
> 9) hwmon2/temp7_input
>10) hwmon2/temp8_input
>11) hwmon2/temp9_input
>12) None (Do not affect this PWM output)
>select (1-n): 4
>sed: -e expression #1, char 24: unknown option to `s'

>Enter the low temperature (degree C)
>below which the fan should spin at minimum speed (20): 50
>sed: -e expression #1, char 24: unknown option to `s'

>Enter the high temperature (degree C)
>over which the fan should spin at maximum speed (60): 80
>sed: -e expression #1, char 24: unknown option to `s'
>sed: -e expression #1, char 24: unknown option to `s'
>sed: -e expression #1, char 24: unknown option to `s'

>Enter the PWM value (0-255) to use when the temperature
>is over the high temperature limit (255):
Comment 1 lekto 2018-07-19 10:25:15 UTC
3.4.0_p20170901 works fine
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-08-24 01:11:15 UTC
Please re-test with =sys-apps/lm_sensors-3.4.0_p20180820 I just added! If the bug is still present, we need to report upstream.
Comment 3 lekto 2018-08-24 20:35:50 UTC
Still same.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-08-24 20:48:39 UTC
Thanks for the report, I filed and issue upstream: https://github.com/lm-sensors/lm-sensors/issues/126
Comment 5 Larry the Git Cow gentoo-dev 2018-09-26 22:49:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b145250c0a24e4bb38fa141111f7f440c4cefbf

commit 4b145250c0a24e4bb38fa141111f7f440c4cefbf
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-09-26 22:48:20 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-09-26 22:49:16 +0000

    sys-apps/lm_sensors: new snapshot release from 2018-09-23
    
    Closes: https://bugs.gentoo.org/661566
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 sys-apps/lm_sensors/Manifest                       |   1 +
 .../lm_sensors/lm_sensors-3.4.0_p20180923.ebuild   | 215 +++++++++++++++++++++
 2 files changed, 216 insertions(+)