Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561700 - media-video/nvidia-settings-355.11 with x11-drivers/nvidia-drivers-355.11-r2 - file collision in /usr/lib/libnvidia-gtk2.so.355.11
Summary: media-video/nvidia-settings-355.11 with x11-drivers/nvidia-drivers-355.11-r2 ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 561702 (view as bug list)
Depends on: nvidia-settings_deprecation
Blocks:
  Show dependency tree
 
Reported: 2015-09-28 07:39 UTC by Karol Krizka
Modified: 2017-01-12 16:37 UTC (History)
17 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 Karol Krizka 2015-09-28 07:39:25 UTC
Dear all,

I cannot seem to update the nvidia-settings package to the latest version (355.11) due to a file collision with the nvidia-drivers (updated recently) package. The file collision is:

 * Detected file collision(s):
 * 
 *      /usr/lib/libnvidia-gtk2.so.355.11
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * x11-drivers/nvidia-drivers-355.11-r2:0::gentoo
 *      /usr/lib64/libnvidia-gtk2.so.355.11
 * 
 * Package 'media-video/nvidia-settings-355.11' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


My emerge info is:
Portage 2.2.22 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.6-gentoo x86_64)
=================================================================
System uname: Linux-4.1.6-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16414508 total,  11324584 free
KiB Swap:    2008120 total,   2008120 free
Timestamp of repository gentoo: Mon, 28 Sep 2015 07:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Livestation-EULA dlj-1.1 sun-bcla-java-vm skype-eula googleearth AdobeFlash-10.1 AdobeFlash-10 PUEL Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright google-talkplugini Google-TOS AdobeFlash-11.x google-chrome NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="3dnow 3ds X a52 aac accessibility acpi addbookmarks additions addressbook adns afs akonadi alisp allegro alsa amd64 amrnb amrwb ao apng applet archive artworkextra ass assistant autoipd automount autopid avahi avi bash-completion berkdb bineditor bittorrent bonjour bonusscripts branding bullet bzip2 cairo cal3d calendar caps captury cdaudio cdda cdio cdr cegui cg chm city clang cleartype cli clock-screen clucene cmake collada colord compat compiz contactnotes contrib corefonts coverart cracklib crypt css ctype cuda cups curl custom-optimization cvs cxx cycles daap dbus debugger deciberl declarative demos designer designer-plugin desktopglobe devil dfs dia disk-partition divx djvu dv dvd dvdnav dvdr dvdread dynamic ebook editor eigen emacs emacs23icons emboss emovix enblend encode exif exiv2 expoblending extensions extra extras faac faad facebook fam farstream fastrack fasttrack fbcondecor fbsplash ffmpeg fftw filter fits flac fmod fontconfig foomaticdb fortran frei0r fts3 fuse g3dvl galago gallium gbm gcj gd gdbm geolocation gflags gif git glamor glib glitz gltf gmm gnutella google gphoto2 gpm gpssync gpu graphite gs gsf gsm gstreamer gtk guile hepmc highlight history hpcups hwdb hyperestraier iconv icu id3tag ieee1394 ilbc infinality inkjar inotify inquisitio introspection iphone ithreads jadetex java java6 javascript jit jpeg jpeg2k jpg json kate kde kdenlive kdeprefix kdm kdu kerberos key-screen keyring kickoff kipi kpathsea lame lapack largefile latex lcdfilter lcms ldap legacy-systray libmpeg2 libnotify lm_sensors logitech-mouse lto lua lzma lzo mad magic maps marble matplotlib mdnsresponder-compat melt messenger metis midi minizip mjpeg mmx mmxext mng modern-top modules moonlight mousewarp mp3 mp3rtp mp4 mpeg msn mta mtp multilib musepack musicbrainz mysqli ncurses nemsi network network_manager networking networkmanager nls nsplugin ntfsprogs oauth ocamlopt octave ode ofa offensive ogg ogre ois openal openexr openft opengl openmp opus otr pam pango panorama pch pcntl pcre pcre16 pdf perl phonon php plasma player plotutils plugins png policykit poppler postscript ppds preview-latex profiler ps pulseaudio python qalculate qmake qml qt qt-copy qt3support qt4 qt5 qthelp quicktime qwt rar rdp readline real realmedia redeyes redland regex reports romio rss rt73usb rtc rtmp sasl science script sdk sdl search-screen seccomp secure-delete semantic-desktop session sftp sift simplexml skype slp snmp social-desktop solver soprano sox sparse speex spell spl sql sqlite sse sse2 sse3 sse41 sse42 ssl ssse3 stars startup-notification subversion suid svg swat swig symlink sync-plugin-portage system-sqlite system-v8 systemd taglib tcl tcpd templates testprograms tetex themes theora threads thumbnail tiff timidity tinfo tiny tinyxml tk tools transparency tremor truetype type1 udev udisks unicode unlock-notify unsupported upcall upnp usb uvm v4l v4l2 vaapi vcd vdpau video vim vim-syntax visibility vivox vnc vorbis vpx wavpack webgl webkit widgets windeco wlm wmf wpd wv2 wxwidgets x264 xattr xcb xcomposite xerces-c xetex xinerama xml xmlreader xmlwriter xoran xrootd xulrunner xv xvid xvmc yahoo zip zlib" ABI_X86="64 32" 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="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 asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic version authn_core authz_core unixd socache_shmcb" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="sony_dscf55 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_CA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Tiago Sousa 2015-09-28 09:52:36 UTC
I'm having the same problem.

Also, I generally use stable, but I keyworded nvidia-settings and nvidia-driver for this version because the stable nvidia-settings is asking to downgrade nvidia-driver (from 346.96 to 340.93, both stable versions). Something's not right in nvidia land.
Comment 2 SpanKY gentoo-dev 2015-09-29 04:10:11 UTC
*** Bug 561702 has been marked as a duplicate of this bug. ***
Comment 3 Christian Strahl 2015-09-29 07:06:30 UTC
To prevent file file-collision you have to set "-tools" for nvidia-drivers.
Comment 4 Silvio 2015-09-30 20:56:21 UTC
Same problem here.

I try to unemerge nvidia-drivers, but it is impossible to install nvidia-settings without nvidia-drivers.
Comment 5 Sven Eden 2015-10-02 06:39:23 UTC
(In reply to Christian Strahl from comment #3)
> To prevent file file-collision you have to set "-tools" for nvidia-drivers.

This should be done by the nvidia-settings ebuild by simply blocking nvidia-drivers[tools]
Comment 6 Sven Eden 2015-10-02 07:57:30 UTC
(In reply to Sven Eden from comment #5)
> (In reply to Christian Strahl from comment #3)
> > To prevent file file-collision you have to set "-tools" for nvidia-drivers.
> 
> This should be done by the nvidia-settings ebuild by simply blocking
> nvidia-drivers[tools]

This is odd. I just installed media-video/nvidia-settings-355.11 without disabling the tools USE flag on nvidia-drivers and it worked.

Ah. I have set nvidia-drivers USE FLAGS to "tools -gtk2 gtk3" and for nvidia-settings to USE="-gtk3"

So now nvidia-drivers own the gtk3-variant of the settings and nvidia-settings own the gtk2-variant of the settings.
Comment 7 Silvio 2015-10-02 08:17:58 UTC
But if nvidia-drivers with the USE=tools install also all the utilities of the nvidia-settings, probably the package "nvidia-settings" are useless.

I unemerged "nvidia-settings" and everything is the same.

what do you think?
Comment 8 Techwolf 2015-10-10 23:43:52 UTC
Still UNCONFIRMED status, so I am chiming in to say I got this bug too.
Comment 9 email200202 2015-10-11 23:56:36 UTC
I have the same bug.

 * Detected file collision(s):
 * 
 *      /usr/lib/libnvidia-gtk2.so.355.11
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * x11-drivers/nvidia-drivers-355.11-r2:0::gentoo
 *      /usr/lib64/libnvidia-gtk2.so.355.11
 * 
 * Package 'media-video/nvidia-settings-355.11' NOT merged due to file
 * collisions.
Comment 10 Christian Strahl 2015-10-12 09:25:37 UTC
(In reply to Silvio from comment #7)
> But if nvidia-drivers with the USE=tools install also all the utilities of
> the nvidia-settings, probably the package "nvidia-settings" are useless.
> 
> I unemerged "nvidia-settings" and everything is the same.
> 
> what do you think?

The nvidia-settings from the nvidia-drivers package sometimes does not work because it is linked against older ABI versions of system libraries.
This happens from time to time.

For a permanent availability we need the package nvidia-settings or the nvidia-drivers ebuild have to build nvidia-settings from source when USE="tools" is set.
Comment 11 email200202 2015-10-13 01:04:08 UTC
The /usr/bin/nvidia-settings command is installed by media-video/nvidia-settings.
It is not installed by x11-drivers/nvidia-drivers even if the tools flag is set.

# equery b /usr/bin/nvidia-settings
 * Searching for /usr/bin/nvidia-settings ... 
media-video/nvidia-settings-355.11 (/usr/bin/nvidia-settings)
Comment 12 email200202 2015-10-13 01:07:05 UTC
Why the Status is still "UNCONFIRMED"?
Comment 13 Alexander Weber 2015-10-16 07:42:20 UTC
Same situation here. File collision at /usr/lib/libnvidia-gtk3.so.355.11 (both packages +gtk3)

Is any reason there to have a separate package for nvidia-settings? Currently I cannot uninstall them because of dependency to xfce-extra/xfce4-sensors-plugin (with VIDEO_CARDS=nvidia)

My proposal is to change all dependencies from nvidia-settings to nvidia-drivers [+tools] and deprecate the nvidia-settings.
Comment 14 Fab 2015-10-29 08:44:58 UTC
(In reply to Alexander Weber from comment #13)
> Is any reason there to have a separate package for nvidia-settings?
> Currently I cannot uninstall them because of dependency to
> xfce-extra/xfce4-sensors-plugin (with VIDEO_CARDS=nvidia)
> 
> My proposal is to change all dependencies from nvidia-settings to
> nvidia-drivers [+tools] and deprecate the nvidia-settings.

See bug #414679. libXNVCtrl.a is required and is not provided by nvidia-drivers.
See also bug #562910.
Comment 15 Giczi Levente 2015-11-03 15:30:54 UTC
Confirmed
Comment 16 M8R-u38wij 2015-11-14 12:37:59 UTC
> But if nvidia-drivers with the USE=tools install also all the utilities of the nvidia-settings, probably the package "nvidia-settings" are useless.

And yet "app-admin/conky" with "nvidia" useflag depends upon "nvidia-settings"
Comment 17 Pastafarianist 2015-12-04 17:15:29 UTC
I have this issue too.
Comment 18 Fab 2015-12-11 10:06:14 UTC
And I finally I hit this bug too when trying to update to nvidia-settings-355.11.

So here is a summary of my nvidia-{settings|drivers} adventures since 6/8 months :

 1 - nvidia-settings is installed as dependency of xfce-extra/xfce4-sensors-plugin
 2 - when trying to update @world, newest stable nvidia-settings wants to
     force me to downgrade nvidia-drivers, but I can't.
 3 - can't downgrade nvidia-drivers because of an upstream bug which was resolved
     in recents versions
 4 - newest version of stable portage disallow me to update world until
     nvidia-{settings|drivers} conflict is not resolved
 5 - can't update nvidia-settings to last unstable version because of this bug
Comment 19 email200202 2016-01-17 01:36:05 UTC
There is a request to merge the nvidia-settings into the nvidia-driver ebuild https://bugs.gentoo.org/show_bug.cgi?id=562910.

Please vote for it or provide patch to move forward instead of waiting for this bug to be fixed. It is still "UNCONFIRMED".
Comment 20 email200202 2016-01-17 03:43:56 UTC
One workaround is to pump the version of nvidia-settings to 358.16

$ cd /usr/portage/media-video/nvidia-settings/

$ cp nvidia-settings-358.16.ebuild nvidia-settings-361.18.ebuild

$ vi nvidia-settings-361.18.ebuild

  change the dependency to "x11-drivers/nvidia-drivers:0"

$ ebuild nvidia-settings-361.18.ebuild digest

$ emerge -av nvidia-settings

$ nvidia-settings -v

nvidia-settings:  version 361.18  (portage@amd)  Sun Jan 17 14:30:40 AEDT 2016
  The NVIDIA X Server Settings tool.

  This program is used to configure the NVIDIA Linux graphics driver.
  For more detail, please see the nvidia-settings(1) man page.

$ nvidia-settings 

ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at either
       /usr/share/nvidia/nvidia-application-profiles-358.16-key-documentation or /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
       application profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the
       README for possible values and descriptions.

I do not remember if this is a new error or exists in the old version.

The problem is the ebuild will be deleted the next time you do "emerge --sync"
Comment 21 Pastafarianist 2016-01-17 14:51:56 UTC
I have nvidia-drivers 355.11-r2 and nvidia-settings is a part of it.

$ qlist nvidia-drivers | grep nvidia-settings
/etc/X11/xinit/xinitrc.d/95-nvidia-settings
/opt/bin/nvidia-settings
/usr/share/man/man1/nvidia-settings.1.bz2

Furthermore, typing `nvidia-settings` in the terminal does not produce any errors and the GUI configuration utility is started correctly.
Comment 22 Pastafarianist 2016-02-29 08:49:49 UTC
I still have this issue while updating to media-video/nvidia-settings-358.16.
Comment 23 brysononeill 2016-03-08 00:10:09 UTC
(In reply to Pastafarianist from comment #22)
> I still have this issue while updating to media-video/nvidia-settings-358.16.

try it with USE="tools" emerge --ask x11-drivers/nvidia-drivers
Comment 24 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-12 16:37:20 UTC
Please use x11-drivers/nvidia-drivers[tools] instead.