Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183639 - `emerge world -Dup` displays obtuse package.provided warning
Summary: `emerge world -Dup` displays obtuse package.provided warning
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 181949
  Show dependency tree
Reported: 2007-06-29 12:04 UTC by SpanKY
Modified: 2007-07-08 21:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-06-29 12:04:42 UTC
root@G5[ppc] 0 ~ # emerge world -Dup

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

Calculating world dependencies... done!
[ebuild  NS   ] cross-alpha-unknown-linux-gnu/gcc-4.2.0  USE="altivec fortran multislot nls openmp -bootstrap -build -doc -gcj -gtk -hardened (-ip28) (-ip32r10k) -mudflap -multilib (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla"
[ebuild     U ] media-video/ffmpeg-0.4.9_p20070616-r1 [0.4.9_p20070330] USE="threads*"
[ebuild     U ] cross-alpha-unknown-linux-gnu/glibc-2.6 [2.5-r3]

WARNING: Requested packages will not be merged because they are listed in


Portage 2.1.3_rc6 (default-linux/ppc/ppc32/2006.1, gcc-4.2.0, glibc-2.6-r0, ppc)
System uname: ppc PPC970MP, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 29 Jun 2007 07:30:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:, 2.16.1-r2,,,,,, 2.16.92, 2.16.93, 2.16.94, 2.17,,,,,,,,,,,,,,,
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
CFLAGS="-Wall -O2 -mcpu=970 -pipe"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Wall -O2 -mcpu=970 -pipe"
FEATURES="buildpkg ccache distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug unmerge-orphans"
LDFLAGS="-Wl,-O1 -Wl,-z,relro"
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 --filter=H_**/files/digest-*"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/enlightenment /usr/portage/local/layman/nouveau"
USE="X a52 aac aalib acl alsa altivec amr apache2 arts asf audiofile berkdb bitmap-fonts bonobo boundschecking bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups curl directfb divx dri dts dvd dvdr dvdread emboss encode exif fame ffmpeg firefox flac fontconfig fortran ftp gd gif glitz gpm gstreamer gtk gtkhtml iconv ieee1394 imagemagick ipv6 isdnlog jbig jpeg jpeg2k kde ldap libcaca libg++ libwww lzo mad matroska midi mikmod mjpeg mng modplug mozilla mp3 mp4 mpeg mudflap multislot musepack ncurses nls nptl nptlonly ogg openal opengl openmp pcre pdf perl php png ppc pppd python qt3 qt4 quicktime readline reflection rle samba sdl session sndfile spell spl ssl subversion svg tcl tcltk tcpd tga theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wmp wxwindows x264 xanim xinerama xinetd xml xorg xosd xpm xprint xrandr xv xvid yv12 zip zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nouveau ati r128 radeon sisusb"
Comment 1 Zac Medico gentoo-dev 2007-06-29 12:29:42 UTC
The reason for the warning is that package.provided has prevented gentoo-sources from being upgraded.  Users often get confused by this behavior when they forget about old entries in package.provided, so the warning was added to let them know what happened.  Can you simply remove it from package.provided in order to prevent the warning?  Perhaps the warning message should be adjusted to suggest that.
Comment 2 SpanKY gentoo-dev 2007-06-29 12:57:44 UTC
as Zack correctly diagnosed on irc, the trouble is i have sys-kernel/gentoo-sources in package.provided, world, and vdb ...

so i guess the message needs to be a little bit more informative as to what the problem is ...
Comment 3 SpanKY gentoo-dev 2007-06-29 14:11:16 UTC
in my case, the solution was to delete the packages from vdb and world ... i wanted the package.provided entry, not the old vdb stuff ...

so the warning told me about package.provided, but not why ... for some the solution would be to cleanse that file because it has things they didnt want, but for others the exact opposite is what they want to do
Comment 4 Zac Medico gentoo-dev 2007-06-29 14:18:10 UTC
Here's an example of the new warning.  The stuff about world will only be shown if the offending atom actually came from world.

WARNING: A requested package will not be merged because it is listed in

  sys-kernel/gentoo-sources pulled in by 'world'

This problem can be solved in one of the following ways:

  A) Use emaint to clean offending packages from world (if not installed).
  B) Uninstall offending packages (cleans them from world).
  C) Remove offending entries from package.provided.

The best course of action depends on the reason that an offending
package.provided entry exists.
Comment 5 Zac Medico gentoo-dev 2007-07-08 21:38:26 UTC
This has been released in 2.1.3_rc7.