Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291299

Summary: x11-drivers/nvidia-drivers-180.60 has nvidia-settings not owned by any package
Product: Gentoo Linux Reporter: Michal Špondr <michal.spondr>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Špondr 2009-10-31 14:02:13 UTC
It seems that there is something wrong with nvidia-drivers and its file nvidia-settings, because I can't get revdep-rebuild to finish correctly.

Reproducible: Always

Steps to Reproduce:
1. revdep-rebuild

Actual Results:  
# revdep-rebuild 
 * Configuring search environment for revdep-rebuild
 * Environment mismatch from previous run, deleting temporary files...

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 27% ]  *   broken /usr/bin/nvidia-settings (requires libpangox-1.0.so.0)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *  !!! /usr/bin/nvidia-settings not owned by any package is broken !!!
 *   /usr/bin/nvidia-settings -> (none)
 * Generated new 4_raw.rr and 4_owners.rr
 * Found some broken files, but none of them were associated with known packages
 * Unable to proceed with automatic repairs.
 * The broken files are listed in 4_owners.rr

Expected Results:  
revdep-rebuild should finish correctly (e.g. rebuild some packages)

# emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Celeron-TM-_CPU_1100MHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 31 Oct 2009 02:10:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /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/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ.UTF8"
LC_ALL="cs_CZ.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j2"
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="alsa ao audiofile bzip2 cddb cli cracklib crypt cups dbus dri flac gdbm gif glut gnutls gpm gtk2 hal iconv imagemagick isdnlog jpeg mikmod mmap mmx modules mp3 mplayer mudflap mysql ncurses nls nptl nptlonly ogg openal opengl openmp pcre pdf png pppd qt4 quicktime readline reflection sdl session sharedmem spl sqlite sse ssl sysfs tcpd threads truetype unicode vim-syntax vorbis x86 xorg zlib" ALSA_CARDS="cmipci via82xx" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# equery list pango
[ Searching for package 'pango' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/pango-1.24.5-r1 (0)

# equery uses nvidia-drivers
[ Searching for packages matching nvidia-drivers... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-drivers/nvidia-drivers-180.60 ]
 U I
 - - acpi          : Adds support for Advanced Configuration and Power Interface
 - - custom-cflags : Build with user-specified CFLAGS (unsupported)
 - - gtk           : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + kernel_linux  : KERNEL setting for system using the Linux kernel
 - - multilib      : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
Comment 1 Michal Špondr 2009-10-31 14:16:09 UTC
If I try to install nvidia-drivers with gtk USE flag enabled, it installs media-video/nvidia-settings-180.60. But it fails during installing phase:

>>> Installing (2 of 2) media-video/nvidia-settings-180.60
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 * 	/usr/bin/nvidia-settings
 * 	/usr/share/applications/nvidia-settings.desktop
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'media-video/nvidia-settings-180.60' merged despite file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

However another revdep-rebuild can assign file /usr/bin/nvidia-settings to a newly added package and finish correctly.

But I think it should be fixed somehow, if the gtk USE flag is a mandatory.
Comment 2 Sebastian Luther (few) 2009-10-31 16:12:58 UTC
As far as I know nvidia-settings was never part of x11-drivers/nvidia-drivers. As this is fixed by installing media-video/nvidia-settings, I'll close it as invalid.