Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79741 - lm-sensors does not require rrdtool when +rrdtool USE flag exists
Summary: lm-sensors does not require rrdtool when +rrdtool USE flag exists
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 08:42 UTC by Paul Dunbar
Modified: 2005-01-29 09:22 UTC (History)
0 users

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 Paul Dunbar 2005-01-27 08:42:51 UTC
Emerging lm-sensors without rrdtool installed causes a failed build when the +rrdtool USE flag is specified.

here is the error.
make: *** No rule to make target `rrd.h', needed by `prog/sensord/rrd.rd'.  Stop.

!!! ERROR: sys-apps/lm-sensors-2.8.7 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! Could not compile user-mode utilities!
!!! If you need support, post the topmost build error, NOT this status message.

once rrdtool is installed, lm_sensors emerges properly.

Reproducible: Always
Steps to Reproduce:
1. emerge -C rrdtool
2. emerge lm_sensors
3.

Actual Results:  
emerge rrdtool fixed the problem.

Expected Results:  
emerge lm_sensors should have added rrdtool to the list of packages to emerge

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 22 2005, 21:01:37)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts berkdb bitmap-fonts bootsplash cdparanoia crypt dvd
esd f77 fam flac font-server fortran gif gpm gtk imlib ipv6 java javascript jp2
jpeg kde lzw lzw-tiff motif mozilla multilib ncurses nls oggvorbis opengl oss
pam perl png povray python qt readline rrdtool samba scanner ssl tcltk tcpd tiff
truetype truetype-fonts type1-fonts usb userlocales xine xinerama xml xml2 xmms
xpm xrandr xscreensaver xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-27 13:05:16 UTC
rrdtool is a depend. amd64 is excluded for some reason, but not in src_* functions.
Comment 2 Paul Dunbar 2005-01-27 13:50:37 UTC
to clarify, this is the stable ebuild (2.8.7) I'm talking about.  After posting the bug I found that x86 was marked against the depend for versions 2.8.8 and above.
Comment 3 Paul Dunbar 2005-01-27 13:51:53 UTC
corrected comment

to clarify, this is the stable ebuild (2.8.7) I'm talking about.  After posting the bug I found that x86 was NOT marked against the depend for versions 2.8.8 and above.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-01-29 09:22:24 UTC
Ok, fixed in CVS. Thanks!