Bug#610321: xsensors: source package does not compile

2011-01-17 Thread hugo vanwoerkom
Package: xsensors
Version: 0.70-1.1
Severity: normal

Compiling the source package gets an error:

In file included from main.h:30,
 from main.c:22:
chips.h:64: error: type defaults to 'int' in declaration of
'sensors_feature'
chips.h:64: error: expected ';', ',' or ')' before '*' token
make[3]: *** [main.o] Error 1
make[3]: Leaving directory
`/sda7/hda10/backup.files/fromhd/home/hugo/xsensors_build/xsensors-0.70/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/sda7/hda10/backup.files/fromhd/home/hugo/xsensors_build/xsensors-0.70'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/sda7/hda10/backup.files/fromhd/home/hugo/xsensors_build/xsensors-0.70'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2

This refers to this line in chips.h:

updates *add_node( const sensors_chip_name *, const sensors_feature * );

Downloading the tarball of 0.70 from upstream and compiling that gets the
same error

I have lm-sensors 1:3.1.2-6 installed.

Regards,

Hugo Vanwoerkom

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15
(charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages xsensors depends on:
ii  libatk1.0-0   1.30.0-1   The ATK accessibility toolkit
ii  libc6 2.11.2-8   Embedded GNU C Library: Shared
lib
ii  libcairo2 1.8.10-6   The Cairo 2D vector graphics
libra
ii  libfontconfig12.8.0-2.1  generic font configuration
library
ii  libfreetype6  2.4.2-2.1  FreeType 2 font engine, shared
lib
ii  libglib2.0-0  2.24.2-1   The GLib library of C routines
ii  libgtk2.0-0   2.20.1-2   The GTK+ graphical user
interface
ii  libpango1.0-0 1.28.3-1   Layout and rendering of
internatio
ii  libsensors4   1:3.1.2-6  library to read
temperature/voltag

Versions of packages xsensors recommends:
ii  lm-sensors1:3.1.2-6  utilities to read
temperature/volt

xsensors suggests no packages.

-- no debconf information


Bug#610321: xsensors: source package does not compile

2011-01-17 Thread hugo vanwoerkom
I forgot to mention why I wanted to compile xsensors.

sensors and xsensors find the sensor but wmtemp does not:

hugo@Debian:~$ sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:  +1.39 V  (min =  +0.80 V, max =  +1.80 V)
3.3V Voltage:   +3.26 V  (min =  +2.97 V, max =  +3.63 V)
5V Voltage: +5.03 V  (min =  +4.50 V, max =  +5.50 V)
12V Voltage:   +11.97 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed: 1406 RPM  (min =  600 RPM)
CHASSIS1 FAN Speed:   0 RPM  (min =  600 RPM)
CHASSIS2 FAN Speed:   0 RPM  (min =  600 RPM)
CPU Temperature:+30.0°C  (high = +60.0°C, crit = +75.0°C)
MB Temperature: +25.0°C  (high = +45.0°C, crit = +75.0°C)

So I wanted to fid out why, for one they use different versions of
libsensors-dev.

Hugo Vanwoerkom