Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141527 - emerge dependency error message is incorrect
Summary: emerge dependency error message is incorrect
Status: VERIFIED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 13:56 UTC by Maxwell Grender-Jones
Modified: 2006-07-23 14:18 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 Maxwell Grender-Jones 2006-07-23 13:56:42 UTC
The following summarises the problem:

nirvana max # emerge -up xscreensaver
>>> cfg-update-1.8.0-r3 : Building checksum index... cancelled!
>>> 6 config file updates found, please run "cfg-update -u"

These are the packages that would be merged, in order:

Calculating dependencies /
!!! All ebuilds that could satisfy "x11-drivers/nvidia-drivers" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-drivers/nvidia-drivers-1.0.8762 (masked by: ~x86 keyword)
- x11-drivers/nvidia-drivers-1.0.8762-r1 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "x11-misc/xscreensaver-4.24" [ebuild])

nirvana max # emerge -s nvidia-drivers
>>> cfg-update-1.8.0-r3 : Building checksum index... canceled!
>>> 6 config file updates found, please run "cfg-update -u"
Searching...
[ Results for search key : nvidia-drivers ]
[ Applications found : 1 ]

*  x11-drivers/nvidia-drivers [ Masked ]
      Latest version available: 1.0.8762-r1
      Latest version installed: 1.0.8762-r1
      Size of files: 31,677 kB
      Homepage:      http://www.nvidia.com/
      Description:   NVIDIA X11 driver and GLX libraries
      License:       NVIDIA

i.e. the error message complains that nvidia-drivers isn't installed when it is.

ftr
nirvana max # ACCEPT_KEYWORDS=~x86 emerge -up xscreensaver
>>> cfg-update-1.8.0-r3 : Building checksum index... canceled!
>>> 6 config file updates found, please run "cfg-update -u"

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] x11-drivers/nvidia-drivers (is blocking x11-base/xorg-server-1.1.1)
[ebuild     U ] media-libs/gle-3.0.1-r3 [3.0.1-r2] USE="-doc%"
[ebuild     U ] sys-devel/gnuconfig-20060702 [20060227]
[ebuild     U ] sys-devel/gettext-0.14.6 [0.14.4] USE="-nocxx%"
[ebuild     U ] sys-devel/binutils-2.17 [2.16.1-r3]
[ebuild     U ] sys-libs/gpm-1.20.1-r5 [1.20.1-r4]
[ebuild     U ] sys-libs/ncurses-5.5-r3 [5.5-r2] USE="-trace%"
[ebuild     U ] sys-apps/texinfo-4.8-r4 [4.8-r2]
[ebuild     U ] sys-devel/autoconf-2.60 [2.59-r7]
[ebuild     U ] x11-proto/xproto-7.0.7 [7.0.5]
[ebuild     U ] sys-devel/autoconf-wrapper-3.2-r2 [3.2]
[ebuild     U ] x11-libs/libX11-1.0.3 [1.0.1-r1]
[ebuild  N    ] x11-apps/xwininfo-1.0.2  USE="-debug"
[ebuild     U ] sys-devel/bc-1.06.94 [1.06-r6] USE="-libedit%"
[ebuild     U ] sys-apps/sed-4.1.5 [4.1.4-r1]
[ebuild  N    ] x11-apps/appres-1.0.0  USE="-debug"
[ebuild     U ] media-libs/libpng-1.2.12-r1 [1.2.12]
[ebuild     U ] x11-libs/libXfont-1.2.0 [1.1.0-r1]
[ebuild     U ] dev-libs/expat-2.0.0 [1.95.8]
[ebuild     U ] x11-libs/libdrm-2.0.2 [2.0.1]
[ebuild     U ] media-libs/mesa-6.5-r3 [6.4.2-r2] USE="nptl%"
[ebuild     U ] x11-base/xorg-server-1.1.1 [1.0.2-r7] USE="nptl% sdl% xorg% -3dfx% -dmx% -kdrive%" INPUT_DEVICES="evdev% keyboard% mouse% -acecad% -aiptek% -calcomp% -citron% -digitaledge% -dmc% -dynapro% -elo2300% -elographics% -fpit% -hyperpen% -jamstudio% -joystick% -magellan% -microtouch% -mutouch% -palmax% -penmount% -spaceorb% -summa% -synaptics% -tek4957% -ur98% -vmmouse% -void% -wacom%" VIDEO_CARDS="-apm% -ark% -chips% -cirrus% -cyrix% -dummy% -epson% -fbdev% -glint% -i128% -i740% -i810% -imstt% -mach64% -mga% -neomagic% -nsc% -nv% -r128% -radeon% -rendition% -s3% -s3virge% -savage% -siliconmotion% -sis% -sisusb% -tdfx% -tga% -trident% -tseng% -v4l% -vesa% -vga% -via% -vmware% -voodoo%"
[ebuild  N    ] x11-drivers/xf86-video-ark-0.6.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-tseng-1.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-vga-4.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-v4l-0.1.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-s3virge-1.9.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-vmware-10.13.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-nv-1.2.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-neomagic-1.1.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-i740-1.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-i128-1.2.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-siliconmotion-1.4.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-dummy-0.2.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-voodoo-1.1.0  USE="-debug"
[ebuild     U ] sys-kernel/linux-headers-2.6.11-r5 [2.6.11-r2] USE="-gcc64%"
[ebuild     U ] x11-drivers/xf86-input-evdev-1.1.2-r1 [1.0.0.5]
[ebuild     U ] x11-drivers/xf86-input-mouse-1.1.1 [1.0.4]
[ebuild  N    ] x11-drivers/xf86-video-apm-1.1.1  USE="-debug"
[ebuild  N    ] x11-libs/libXvMC-1.0.2  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-i810-1.6.0  USE="dri -debug"
[ebuild  N    ] x11-drivers/xf86-video-trident-1.2.1  USE="-debug"
[ebuild     U ] x11-drivers/xf86-input-keyboard-1.1.0 [1.0.1.3]
[ebuild  N    ] x11-drivers/xf86-video-cirrus-1.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-mga-1.4.1  USE="dri -debug"
[ebuild  N    ] x11-drivers/xf86-video-sisusb-0.8.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-savage-2.1.1  USE="dri -debug"
[ebuild  N    ] x11-drivers/xf86-video-chips-1.1.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-via-0.2.1-r1  USE="dri -debug"
[ebuild  N    ] x11-drivers/xf86-video-nsc-2.8.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-rendition-4.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-glint-1.1.1  USE="dri -debug"
[ebuild  N    ] x11-drivers/xf86-video-tga-1.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-s3-0.4.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-cyrix-1.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-tdfx-1.2.1-r1  USE="dri -debug"
[ebuild  N    ] x11-drivers/xf86-video-vesa-1.2.1  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-sis-0.9.1-r1  USE="dri -debug"
[ebuild  N    ] x11-drivers/xf86-video-fbdev-0.3.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-imstt-1.1.0  USE="-debug"
[ebuild  N    ] x11-drivers/xf86-video-ati-6.6.1  USE="dri -debug"
[ebuild     U ] x11-misc/shared-mime-info-0.18 [0.16]
[ebuild  N    ] virtual/xft-7.0
[ebuild     U ] x11-libs/cairo-1.2.0 [1.0.4] USE="svg% -directfb% -pdf%"
[ebuild     U ] x11-libs/gtk+-2.8.20-r1 [2.8.19]
[ebuild  NS   ] sys-libs/db-4.3.29  USE="-bootstrap -doc -java -nocxx -tcltk"
[ebuild     U ] sys-libs/cracklib-2.8.9 [2.8.5-r1]
[ebuild     U ] sys-libs/pam-0.78-r5 [0.78-r3]
[ebuild     U ] x11-misc/xscreensaver-5.00 [4.23-r1]
Comment 1 Maxwell Grender-Jones 2006-07-23 13:57:01 UTC
nirvana max # emerge --info
>>> cfg-update-1.8.0-r3 : Building checksum index... canceled!
>>> 6 config file updates found, please run "cfg-update -u"
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.11.10 i686)
=================================================================
System uname: 2.6.11.10 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/"
LANG="en_GB.UTF8"
LC_ALL="en_GB.UTF8"
LINGUAS="en_GB"
MAKEOPTS="-j2"
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://heaven.hesperides.net/gentoo-portage"
USE="x86 X aac aim alsa antlr apache2 apm arts avi bash-completion berkdb bitmap-fonts bsh bzlib cdda cddb cdparanoia cdrom cjk cli crypt css cups curlwrappers divx4linux dlloader dnd dri dvd dvdr dvdread eds emboss encode esd evo exif faac faad fb fbcon fbdev ffmpeg flac flatfile foomaticdb fortran freetype fs ftp gdbm gif gimpprint gmail gmailtimestamps gnome gnomedb gnuplot gpm gstreamer gtk gtk2 icq idl ieee1394 imap imlib ipv6 isdnlog ithreads javadoc javamail jce jdepend jpeg jython kde kdepim kdexdeltas libg++ libwww live lm_sensors log4j lzo mad maildir md5sum mikmod mmx mono motif mozcalendar mozdomi mozsvg mp3 mpeg mpeg4 mplayer msn msql music ncurses network nls nptl ogg opengl opie optional-tasks oss pam pcre pda pdflib perl png pppd python qt qt3 qt4 quicktime rar readline reflection regexp rhino samba sblive sdl session spell spl ssl startup-notification subp subtitles svg tcpd theora threads transcode truetype truetype-fonts type1-fonts udev unicode usb vim-with-x vorbis wifi win32codecs wxwin xalan xerces xinerama xml xmlrpc xmms xorg xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en_GB userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Let me know if you need any more information

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 14:02:34 UTC
(In reply to comment #0)
> Calculating dependencies /
> !!! All ebuilds that could satisfy "x11-drivers/nvidia-drivers" have been
> masked.
> !!! One of the following masked packages is required to complete your request:
> - x11-drivers/nvidia-drivers-1.0.8762 (masked by: ~x86 keyword)
> - x11-drivers/nvidia-drivers-1.0.8762-r1 (masked by: ~x86 keyword)

> i.e. the error message complains that nvidia-drivers isn't installed when it
> is.

No, it's not complaining about that at all. It's complaining that the package keywords do not match your ACCEPT_KEYWORDS in make.conf - apparently due to your bad practice of using ACCEPT_KEYWORDS on command line.

> ACCEPT_KEYWORDS="x86"


> [blocks B     ] x11-drivers/nvidia-drivers (is blocking
> x11-base/xorg-server-1.1.1)

That's correct, nvidia drivers don't work w/ xorg 7.1
Comment 3 Maxwell Grender-Jones 2006-07-23 14:13:53 UTC
Aha: thank you for telling me where I was going wrong (might it be an idea to get portage to complain when ACCEPT_KEYWORDS is used on the commandline and tell the user that this use is deprecated?)

That still doesn't take away from my report that the error message is incorrect. I now understand why (and it's subtle), but the message is definitely misleading. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 14:18:36 UTC
(In reply to comment #3)
> That still doesn't take away from my report that the error message is
> incorrect. I now understand why (and it's subtle), but the message is
> definitely misleading. 

Well, of course it's not misleading, it tells you exactly what's wrong. Using ACCEPT_KEYWORDS=~x86 on command-line you accept those keywords for that particular emerge instance only. After the package is emerged, the keywords no longer match your global ACCEPT_KEYWORDS setttings. 

Please, read on proper working with portage.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3 and especially
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3