Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177766 - gnome-extra/sensors-applet-1.7.12 fails to build
Summary: gnome-extra/sensors-applet-1.7.12 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 10:35 UTC by Maxxer
Modified: 2007-05-12 09:32 UTC (History)
1 user (show)

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


Attachments
emerge --info (emergeinfo,9.66 KB, text/plain)
2007-05-10 15:09 UTC, Maxxer
Details
build log (build.log,34.12 KB, text/plain)
2007-05-12 08:08 UTC, Maxxer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxxer 2007-05-09 10:35:42 UTC
I'm merging gnome-extra/sensors-applet-1.7.12 with the following 
USE="hddtemp lm_sensors nvidia -debug -libnotify"
but fails to compile.

Here's the error:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale/"\" -DG_LOG_DOMAIN=\""Sensors Applet"\" -DPIXMAPS_DIR=\""/usr/share/pixmaps/sensors-applet/"\" -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -DSYSCONFDIR=\""/etc"\" -DPREFIX=\""/usr"\" -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/panel-2.0   -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12         -march=athlon64 -O2 -pipe -msse3 -MT libsensors-sensors-interface.o -MD -MP -MF ".deps/libsensors-sensors-interface.Tpo" -c -o libsensors-sensors-interface.o libsensors-sensors-interface.c; \
        then mv -f ".deps/libsensors-sensors-interface.Tpo" ".deps/libsensors-sensors-interface.Po"; else rm -f ".deps/libsensors-sensors-interface.Tpo"; exit 1; fi
libsensors-sensors-interface.c: In function ‘get_chip_name’:
libsensors-sensors-interface.c:120: error: ‘SENSORS_CHIP_NAME_BUS_PCI’ undeclared (first use in this function)
libsensors-sensors-interface.c:120: error: (Each undeclared identifier is reported only once
libsensors-sensors-interface.c:120: error: for each function it appears in.)
make[2]: *** [libsensors-sensors-interface.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/sensors-applet-1.7.12/work/sensors-applet-1.7.12/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/sensors-applet-1.7.12/work/sensors-applet-1.7.12/src'
make: *** [all-recursive] Error 1

!!! ERROR: gnome-extra/sensors-applet-1.7.12 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1305:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2007-05-09 17:02:26 UTC
please provide emerge --info. Thanks
Comment 2 Maxxer 2007-05-10 15:09:40 UTC
Created attachment 118757 [details]
emerge --info
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2007-05-11 18:30:16 UTC
Could you attach the full build output too? Sorry I forgot to ask you before. :) It's just to make sure we're not missing something else before that.

Thanks
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2007-05-11 18:42:36 UTC
Oh and if you could tell me what version of lm_sensors you have as well. Thanks
Comment 5 Maxxer 2007-05-12 08:08:17 UTC
Created attachment 118967 [details]
build log

lm_sensors installed is sys-apps/lm_sensors-2.10.3 without the sensord use flag.

Thanks!
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2007-05-12 08:22:37 UTC
Hum ... what's weird is that it's failing on SENSORS_CHIP_NAME_PCI but not on the two previous items in the switch() block. Could you check that you have a "sensors.h" somewhere in on your system (check /usr/local too in case you previously tried compiling on your own) and that it contains something like this:

#define SENSORS_CHIP_NAME_PREFIX_ANY NULL
#define SENSORS_CHIP_NAME_BUS_ISA -1
#define SENSORS_CHIP_NAME_BUS_ANY -2
#define SENSORS_CHIP_NAME_BUS_ANY_I2C -3
#define SENSORS_CHIP_NAME_BUS_DUMMY -4
#define SENSORS_CHIP_NAME_BUS_PCI -5             <== line 32 of sensors.h
#define SENSORS_CHIP_NAME_ADDR_ANY -1

If not, try remerging lm_sensors just in case.

Thanks

@phreak: I think this is going a bit beyond sensors-applet's scope. Just CCing you in case you've something like this before.
Comment 7 Maxxer 2007-05-12 08:50:13 UTC
i had some junk of previous tries in /usr/local

removing them made sensors_applet merge fine.

Thanks for the help and sorry....

maxxer
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2007-05-12 09:32:11 UTC
Heh, no sweat :)