Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150478 - sys-power/cpufreqd-2.2.0 fails with "nvidia" use flag
Summary: sys-power/cpufreqd-2.2.0 fails with "nvidia" use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-08 08:50 UTC by Marijn Schouten (RETIRED)
Modified: 2006-10-14 08:02 UTC (History)
4 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 Marijn Schouten (RETIRED) gentoo-dev 2006-10-08 08:50:31 UTC
cpufreqd fails with "nvidia" use flag:

checking for pthread_create in -lpthread... yes
checking backend.h usability... no
checking backend.h presence... no
checking for backend.h... no
***************************************************
***      ERROR WHILE CONFIGURING CPUFREQD       ***
***************************************************
configure: error: NVCLOCK tree not found in /var/tmp/portage/cpufreqd-2.2.0/work/nvclock0.8b2, please supply the correct path with --enable-nvclock=PATH

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/cpufreqd-2.2.0/work/cpufreqd-2.2.0/config.log

!!! ERROR: sys-power/cpufreqd-2.2.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  cpufreqd-2.2.0.ebuild, line 51:   Called econf '--enable-acpi' '--disable-apm' '--enable-sensors' '--disable-nforce2' '--disable-pmu' '--enable-nvclock=/var/tmp/portage/cpufreqd-2.2.0/work/nvclock0.8b2'
  ebuild.sh, line 540:   Called die

I've had a look at the directory and it does seem to contain the nvclock sources.

emerge --info:
Portage 2.1.2_pre2-r6 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18 x86_64)
=================================================================
System uname: 2.6.18 x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 08 Oct 2006 15:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --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="amd64 X acpi alsa berkdb bitmap-fonts cli crypt cups dlloader dri dts dvd dvdr dvdread elibc_glibc fortran gdbm gif gpm gtk input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux libg++ lm_sensors mad mng mp3 ncurses nls nptl nptlonly nvidia opengl pam pcre pdf perl png ppds pppd python readline reflection session smp spl ssl svg tcpd theora truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia vorbis xinerama xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Bernard Cafarelli gentoo-dev 2006-10-08 13:21:27 UTC
Ah nvclock and cpufreqd... Here we go again ;)

The problem is in new nvclock beta (0.8b2) that is used in the cpufreqd 2.2.0 ebuild. 
First the test include file (backend.h) now needs another include in the nvclock root path (which is not in cpufreqd search path...). Then cpufreqd code needs MEM_OVERCLOCKING_SUPPORTED, which does not seem to be around anymore in new nvclock code.

I did not look further, but it looks like nvclock 0.8b2 is not supported in cpufreqd...

For now: changing NVCLOCK_VERSION back to 0.8b in the ebuild lets cpufreqd compile

Comment 2 Christian Heim (RETIRED) gentoo-dev 2006-10-14 08:02:59 UTC
(In reply to comment #1)
> For now: changing NVCLOCK_VERSION back to 0.8b in the ebuild lets cpufreqd
> compile

Fixed in CVS, thanks :)