Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314085 - xfce-extra/xfce4-sensors-plugin-1.0.0 fails to build with lmsensros.c errors
Summary: xfce-extra/xfce4-sensors-plugin-1.0.0 fails to build with lmsensros.c errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 11:17 UTC by Hubert Kowalski
Modified: 2010-05-12 20:57 UTC (History)
0 users

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


Attachments
Build log (build.log,26.62 KB, text/plain)
2010-04-09 11:19 UTC, Hubert Kowalski
Details
Environment (environment,113.63 KB, text/plain)
2010-04-09 11:19 UTC, Hubert Kowalski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Kowalski 2010-04-09 11:17:23 UTC
When trying to compile xfce4-sensors-plugin, error appears regarding lmsensors.c file in which compiler finds errors.

Reproducible: Always

Steps to Reproduce:
1. emerge xfce4-sensors-plugin with USE="acpi hddtemp libnotify lm_sensors -debug"

Actual Results:  
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -march=prescott -pipe -fomit-frame-pointer -c hddtemp.c  -fPIC -DPIC -o .libs/libxfce4sensors_la-hddtemp.o
distcc[26000] ERROR: compile /var/tmp/ccache/lmsensors.tmp.hell.25936.i on localhost failed
lmsensors.c:45: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
lmsensors.c:47: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
lmsensors.c:48: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
make[2]: *** [libxfce4sensors_la-lmsensors.lo] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [all-recursive] Błąd 1
make: *** [all] Błąd 2
 * ERROR: xfce-extra/xfce4-sensors-plugin-1.0.0 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3125:  Called xfconf_src_compile
 *   environment, line 3707:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 


Expected Results:  
xfce4-sensors-plugin should install correctly

emerge --info:

Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.33-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 09 Apr 2010 10:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distcc distlocks fixpackages news parallel-fetch prelink protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en pl"
MAKEOPTS="-j6 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac ace acl acpi alsa amr apache2 autotrace berkdb branding bzip2 cairo cdr cli compress consolekit contrib cracklib crypt cups curl curlwrappers cxx dbus dell dia djvu dri dts dvd dvdr emboss encode exif extra fam fbcondecor ffmpeg fftw firefox flac fortran ftp fts3 games gd gdbm gif gimp gpm graphics graphviz gs gstreamer gtk hal hash hddtemp humanities iconv imagemagick imlib inkjar ipv6 java java5 java6 jpeg json kpathsea lame laptop latex lcdfilter lcms lexlive libffi libnotify lm_sensors lqr lzo mad mikmod mmx mng modules mozdevelop mp2 mp3 mp4 mpeg mudflap musepack music mysql ncurses nls nptl nptlonly ogg omega openal opengl openmp pam pango pcre pdf pdo perl php plotutils pmu png pnm postproc postscript ppds pppd publishers python qt3support quicktime rar raw readline reflection rpm ruby schroedinger science sdl secure-delete session simplexml smaba smp sound spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg swig sysfs t1lib tcl tcpd tga theora thunar tiff tk tokenizer toolbar truetype unicode urandom usb userlocales uuencode vorbis webkit win32codecs wmf wxwidgets x264 x86 xcb xcomposite xml xmp xorg xulrunner xv xvid zip zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" NETBEANS_MODULES="apisupport harness ide java nb websvccommon cnd groovy gsf identity j2ee mobility php profiler soa visualweb webcommon xml dlight enterprise ruby ergonomics" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Hubert Kowalski 2010-04-09 11:19:02 UTC
Created attachment 227097 [details]
Build log
Comment 2 Hubert Kowalski 2010-04-09 11:19:28 UTC
Created attachment 227099 [details]
Environment
Comment 3 Ivan Ponomarev 2010-04-22 19:08:05 UTC
need >=sys-apps/lm_sensors-3.1.0
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-12 20:57:37 UTC
(In reply to comment #3)
> need >=sys-apps/lm_sensors-3.1.0
> 

thx!

+  12 May 2010; Jeremy Olexa <darkside@gentoo.org>
+  xfce4-sensors-plugin-1.0.0.ebuild:
+  Set proper lm_sensors dep version. Bug 314085 by Ivan Ponomarev