When insall xfce-extra/xfce4-sensors-plugin , portage says I have to do downgrade nvidia drivers. This may be due to dependence "video_cards_nvidia? (Media-video /nvidia-settings)". The new version of nvidia-dricver do not use "media-video/nvidia-settings" it is already integrated in the package using the flag "tools" thaks Reproducible: Always Steps to Reproduce: 1. Update nvidia drivers to version 355.11 2. Try install xfce-extra/xfce4-sensors-plugin 3. Portage show donwgrade Actual Results: emerge -pv xfce-extra/xfce4-sensors-plugin These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild UD ] x11-drivers/nvidia-drivers-340.93::gentoo [355.11::gentoo] USE="X acpi multilib tools -pax_kernel -uvm (-gtk2%*) (-gtk3%*)" 68.178 KiB [ebuild N ] media-video/nvidia-settings-340.58::gentoo USE="-examples" 1.514 KiB [ebuild N ] xfce-extra/xfce4-sensors-plugin-1.2.6::gentoo USE="acpi libnotify lm_sensors -debug -hddtemp" VIDEO_CARDS="nvidia" 444 KiB Total: 3 packages (1 downgrade, 2 new), Size of downloads: 70.135 KiB Expected Results: Install package and don't downgrade nvidia-drivers emerge --info Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.5, glibc-2.20-r2, 4.0.5-gentoo x86_64) ================================================================= System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.2 KiB Mem: 18447964 total, 10084116 free KiB Swap: 20971516 total, 20971516 free Timestamp of repository gentoo: Mon, 28 Sep 2015 17:42:07 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p39::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.4.1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.8.5::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 MyOverlay location: /usr/local/overlay/MyOverlay masters: gentoo brother-overlay location: /usr/local/overlay/brother-overlay sync-type: git sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo qt location: /var/lib/layman/qt masters: gentoo priority: 0 wine-overlay location: /var/lib/layman/wine-overlay masters: gentoo priority: 1 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 2 Installed sets: @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://files.gentoo.gr ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/" LANG="es_ES.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j12" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 apm berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk gtk3 iconv icu ipv6 jpeg jpeg2k lcms ldap libnotify lm_sensors lock mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls notification nptl ogg opengl openmp pam pango pcre pcsc-lite pdf png policykit ppds pulseaudio qt3support quicktime readline samba sdl seccomp session sound spell sse sse2 ssl startup-notification svg systemd tcpd threads thunar tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es en es_ES" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="brightness clock trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
See bug #561290. =media-video/nvidia-settings-355.11 and =x11-drivers/nvidia-drivers-355.11-r2 need to be stabilized.
I think nvidia-settings is basically a dead package for later versions of the driver. The code should probably look something like this: # diff xfce4-sensors-plugin-1.2.6.ebuild.orig xfce4-sensors-plugin-1.2.6.ebuild 26c26,30 < video_cards_nvidia? ( media-video/nvidia-settings )" --- > video_cards_nvidia? ( || > ( media-video/nvidia-settings > >=x11-drivers/nvidia-drivers-346.96[tools] > ) > )" I tested this locally and it no longer tries to downrev, but please double check as I'm only getting back to gentoo after a 8+ year hiatus. (I found this solution based on a similar bug/suggestion on conky. see bug 561268)
sigh, scratch that. With the suggestion above we run into the same problem as the conky bug: make[2]: *** Waiting for unfinished jobs.... In file included from middlelayer.c:55:0: ../include/nvidia.h:27:27: fatal error: NVCtrl/NVCtrl.h: No such file or directory #include <NVCtrl/NVCtrl.h> ^ compilation terminated. Makefile:580: recipe for target 'libxfce4sensors_la-middlelayer.lo' failed make[2]: *** [libxfce4sensors_la-middlelayer.lo] Error 1
Is this still an issue since bug #561268 was fixed? If so, please attach the full build log (if you get that far).
I installed the latest nvidia-driver, but I have the same problems - Nvidia version- [ebuild R ] x11-drivers/nvidia-drivers-355.11-r2:0/355::gentoo USE="X acpi gtk2 gtk3 multilib -pax_kernel -tools -uvm" 0 KiB # emerge -av xfce-extra/xfce4-sensors-plugin These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild UD ] x11-drivers/nvidia-drivers-340.93-r1:0/340::gentoo [355.11-r2:0/355::gentoo] USE="X acpi multilib -pax_kernel -tools -uvm (-gtk2%*) (-gtk3%*)" 68.178 KiB [ebuild N ] media-video/nvidia-settings-340.58::gentoo USE="-examples" 1.514 KiB [ebuild N ] xfce-extra/xfce4-sensors-plugin-1.2.6::gentoo USE="acpi libnotify lm_sensors -debug -hddtemp" VIDEO_CARDS="nvidia" 444 KiB Total: 3 packages (1 downgrade, 2 new), Size of downloads: 70.135 KiB
media-video/nvidia-settings-355.11 working ok
*** Bug 564374 has been marked as a duplicate of this bug. ***