Bug 531126 - sensors-detect gives perl uninitialized var warnings
Summary: sensors-detect gives perl uninitialized var warnings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lm_sensors
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nikola Pajkovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-27 00:08 UTC by Tom Horsley
Modified: 2014-02-02 22:13 UTC (History)
4 users (show)

Fixed In Version: 3.1.1-4.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-11 14:57:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Latest sensors-detect from upstream svn (162.06 KB, text/plain)
2009-10-27 09:20 UTC, Hans de Goede
no flags Details

Description Tom Horsley 2009-10-27 00:08:29 UTC
Description of problem:

Do you want to probe the I2C/SMBus adapters now? (YES/no): 
Using driver `i2c-i801' for device 0000:00:1f.3: Intel ICH10
Module i2c-dev loaded successfully.
Use of uninitialized value in string eq at /usr/sbin/sensors-detect line 2159.
Use of uninitialized value $name in pattern match (m//) at /usr/sbin/sensors-detect line 2572.
...
Use of uninitialized value $name in pattern match (m//) at /usr/sbin/sensors-detect line 2572, <STDIN> line 6.

Gazillions of the above messages when running sensors-detect

Seemed to work anyway, someone musta turned on strict checking without
testing the script.

Version-Release number of selected component (if applicable):
lm_sensors-3.1.1-3.fc12.x86_64


How reproducible:
Tried it twice, happened both times.

Steps to Reproduce:
1.see above
2.
3.
  
Actual results:
Lots of perl errors spewing out.

Expected results:
No perl errors.

Additional info:

Comment 1 Hans de Goede 2009-10-27 09:20:44 UTC
Created attachment 366223 [details]
Latest sensors-detect from upstream svn

Nikola,

This is the latest sensors-detect from upstream svn, which has this fixed and
adds detection for some more previously undetected sensors. To fix this bug simply replace sensors-detect with this one (add it as an additional Source#
and cp it over the one in the tarbal),

Regards,

Hans

Comment 2 Nikola Pajkovsky 2009-10-27 10:00:08 UTC
Hi Hans,

    I will push it into f12. f13 has a lot of time and maybe lm_sensor releases new version.

Comment 3 Hans de Goede 2009-10-27 10:06:46 UTC
Please also push it to F-13, having a newer release field in F-12 then in F-13 will lead to upgrade path issues for people upgrading to rawhide from F-12.

Comment 4 Nikola Pajkovsky 2009-10-27 10:43:06 UTC
oki no problem

Comment 5 Fedora Update System 2009-11-10 14:38:45 UTC
lm_sensors-3.1.1-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/lm_sensors-3.1.1-4.fc12

Comment 6 Fedora Update System 2009-11-11 14:57:10 UTC
lm_sensors-3.1.1-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.