Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328177 - net-analyzer/net-snmp-5.5 - still expects lm_sensors v2 to be installed
Summary: net-analyzer/net-snmp-5.5 - still expects lm_sensors v2 to be installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2010-07-13 21:50 UTC by Jeroen Roovers (RETIRED)
Modified: 2012-08-19 02:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2010-07-13 21:50:54 UTC
libtool: compile:  i686-pc-linux-gnu-gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -DNETSNMP_ENABLE_IPV6 -O2 -pipe -Wall -ggdb -march=athlon-xp -Ulinux -Dlinux=linux -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i686-linux/CORE -c hardware/sensors/lmsensors_v2.c  -fPIC -DPIC -o hardware/sensors/.libs/lmsensors_v2.o
hardware/sensors/lmsensors_v2.c: In function ‘netsnmp_sensor_arch_load’:
hardware/sensors/lmsensors_v2.c:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
hardware/sensors/lmsensors_v2.c:19: error: ‘data’ undeclared (first use in this function)
hardware/sensors/lmsensors_v2.c:19: error: (Each undeclared identifier is reported only once
hardware/sensors/lmsensors_v2.c:19: error: for each function it appears in.)
hardware/sensors/lmsensors_v2.c:20: warning: ISO C90 forbids mixed declarations and code
hardware/sensors/lmsensors_v2.c:23: warning: passing argument 1 of ‘sensors_get_detected_chips’ from incompatible pointer type
hardware/sensors/lmsensors_v2.c:23: error: too few arguments to function ‘sensors_get_detected_chips’
hardware/sensors/lmsensors_v2.c:27: warning: implicit declaration of function ‘sensors_get_all_features’
hardware/sensors/lmsensors_v2.c:29: warning: ISO C90 forbids mixed declarations and code
hardware/sensors/lmsensors_v2.c:34: error: ‘SENSORS_NO_MAPPING’ undeclared (first use in this function)
hardware/sensors/lmsensors_v2.c:35: error: incompatible type for argument 1 of ‘sensors_get_label’
hardware/sensors/lmsensors_v2.c:35: error: too many arguments to function ‘sensors_get_label’
hardware/sensors/lmsensors_v2.c:36: warning: implicit declaration of function ‘sensors_get_feature’
make[2]: *** [hardware/sensors/lmsensors_v2.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/net-snmp-5.5/work/net-snmp-5.5/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/net-snmp-5.5/work/net-snmp-5.5/agent'
make: *** [subdirs] Error 1

The problem persists in 5.6 which isn't in the tree yet. 5.5 is package.masked because of this (and because of possible new features I have not yet explored).
Comment 1 Gordon Malm (RETIRED) gentoo-dev 2012-01-19 23:18:26 UTC
This was fixed in 5.4.2.1 (and still is in 5.4.2.1-r4 currently in the tree) via 2 patches.  The patches were dropped by whoever bumped to 5.4.3 and haven't been added back.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-08-19 02:19:12 UTC
Fixed as of 5.7.2_rc1.