Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139877 - portage-2.1-r1 - emerge --depclean suggests removing modular X
Summary: portage-2.1-r1 - emerge --depclean suggests removing modular X
Status: RESOLVED DUPLICATE of bug 136178
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 07:06 UTC by Sebastian
Modified: 2006-07-15 09:26 UTC (History)
1 user (show)

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


Attachments
This is the output of `emerge --pretend --debug depclean` without virtual/x11 in world (without_virtual-x11_in_world.log,182.27 KB, text/plain)
2006-07-11 02:25 UTC, Sebastian
Details
This is the output of `emerge --pretend --debug depclean` with virtual/x11 in world (with_virtual-x11_in_world.log,234.05 KB, text/plain)
2006-07-11 02:26 UTC, Sebastian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2006-07-10 07:06:08 UTC
Hi all,

I synced this morning and then ran --depclean afterwards and it suggested removing quite a few ebuilds allthough I definitely need them for e.g. KDE. I can't figure it out. It seems I'm not the only one experiencing this: https://forums.gentoo.org/viewtopic-t-458560.html
This happens on both of my computers (x86).

emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.24 i686)
=================================================================
System uname: 2.6.16.24 i686 AMD Sempron(tm)   2400+
Gentoo Base System version 1.6.15
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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 /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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/data/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/data/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://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X crypt cups gif gnutls jpeg kde kdeenablefinal logrotate mmx mmxext ncurses nls nptl png qt3 readline sse ssl threads udev zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de lirc_devices_serial userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


cat /var/lib/portage/world
...
media-tv/tvtime
app-emulation/wine
kde-base/kwalletmanager
kde-base/kde-i18n
media-sound/kid3
dev-util/kdevelop
kde-base/kicker
kde-base/kpdf
kde-base/konsole
kde-base/kview
app-cdr/k3b
kde-base/kmenuedit
kde-base/kdebase-startkde
kde-base/konqueror
...

cat /etc/portage/package.keywords
=sys-kernel/linux-headers-2.6.16
=sys-kernel/vanilla-sources-2.6.16.20
=app-cdr/k3b-0.12.16
=media-tv/tvtime-1.0.2
=media-gfx/imagemagick-6.2.8.0
=media-sound/kid3-0.7

I asked in the forum -> https://forums.gentoo.org/viewtopic-t-478803.html and on IRC but nobody could tell so here goes the bug report ;)

Anybody knows what wrong?

Thanks
Sebastian
Comment 1 Sebastian 2006-07-10 07:07:28 UTC
Ups, forgot to mention what --depclean suggest to remove in particular. Here we go:

 x11-proto/trapproto
 x11-libs/libXxf86misc
 x11-proto/compositeproto
 x11-misc/imake
 x11-drivers/xf86-input-keyboard
 x11-proto/dmxproto
 x11-proto/damageproto
 media-fonts/font-bh-type1
 media-fonts/ttf-bitstream-vera
 x11-libs/libXvMC
 x11-libs/libXprintAppUtil
 x11-proto/xineramaproto
 x11-apps/xdm
 x11-libs/libFS
 x11-libs/libXdamage
 x11-libs/libdmx
 x11-proto/resourceproto
 app-admin/eselect
 app-doc/xorg-docs
 media-fonts/font-adobe-75dpi
 x11-apps/xmodmap
 x11-proto/xf86rushproto
 media-fonts/font-misc-misc
 x11-themes/xcursor-themes
 x11-libs/libxkbui
 media-fonts/font-cursor-misc
 x11-base/xorg-server
 x11-libs/libXres
 x11-libs/liboldX
 x11-proto/xf86miscproto
 x11-libs/libXScrnSaver
 x11-apps/xhost
 x11-misc/xkeyboard-config
 media-fonts/font-adobe-utopia-type1
 app-admin/eselect-opengl
 x11-base/xorg-x11
 x11-apps/xauth
 x11-proto/xf86driproto
 media-fonts/font-adobe-100dpi
 virtual/x11
 x11-libs/libXinerama
 x11-apps/xdpyinfo
 x11-apps/mesa-progs
 x11-drivers/xf86-video-ati
 x11-libs/libXTrap
 x11-apps/sessreg
 x11-apps/setxkbmap
 x11-apps/xcursorgen
 x11-proto/glproto
 x11-misc/gccmakedep
 x11-libs/libdrm
 app-text/rman
 x11-proto/evieext
 x11-misc/makedepend
 x11-themes/gentoo-xcursors
 media-fonts/encodings
 x11-libs/libXprintUtil
 media-fonts/font-util
 x11-drivers/xf86-input-mouse
 media-fonts/font-alias
 x11-misc/xorg-cf-files
 x11-libs/libXevie
 x11-proto/scrnsaverproto
 x11-apps/xkbcomp
 x11-libs/liblbxutil
 media-libs/freeglut
 x11-libs/libXcomposite
 virtual/glut
 media-libs/mesa
Comment 2 Zac Medico gentoo-dev 2006-07-10 10:01:25 UTC
This seems to be more fallout from bug 133671.  Actually, I've experienced this same problem and found that `emerge --noreplace virtual/x11` (adding virtual/x11 to the world set) made depclean behave better.
Comment 3 Zac Medico gentoo-dev 2006-07-11 00:23:23 UTC
(In reply to comment #1)
> Ups, forgot to mention what --depclean suggest to remove in particular. Here we
> go:

Your list is much larger than mine.  Here are the ones that it wants to remove on mine (unless virtual/x11 is listed in /var/lib/portage/world):

media-fonts/font-adobe-utopia-type1
x11-base/xorg-x11
x11-themes/gentoo-xcursors
x11-apps/xdriinfo
x11-apps/xmodmap
app-doc/xorg-docs
x11-libs/libXprintUtil
media-fonts/font-adobe-100dpi
x11-libs/libXprintAppUtil
virtual/x11
x11-themes/xcursor-themes
x11-apps/mesa-progs
x11-apps/xdm
x11-apps/xcursorgen
x11-libs/liboldX
x11-libs/libXcomposite
x11-apps/xhost
media-fonts/font-bh-type1

I searched through the output of `emerge --pretend --debug depclean` and it seems that these packages are not pulled into the dependency graph because nothing depends on them or they are conditional in away that they are not needed to complete the graph.  The virtual/x11 ebuild is initially pulled into the depgraph at install time, but after most of the modular deps are installed the graph turns out to be complete without virtual/x11 so depclean wants to remove it and anything that was pulled in by it alone.
Comment 4 Zac Medico gentoo-dev 2006-07-11 00:28:01 UTC
Sebastian, does depclean behave for you if you do `emerge --noreplace virtual/x11` so that it is added to your world set?  If not, do you have anything in /etc/portage/profile/package.provided?  Anyway, please attach the output of `emerge --pretend --debug depclean`.
Comment 5 Sebastian 2006-07-11 02:24:06 UTC
Hi Zac,

thanks for your time!

Depclean works after emerge --noreplace virtual/x11. I'll attach the output you requested.

Sebastian
Comment 6 Sebastian 2006-07-11 02:25:40 UTC
Created attachment 91436 [details]
This is the output of `emerge --pretend --debug depclean` without virtual/x11 in world
Comment 7 Sebastian 2006-07-11 02:26:08 UTC
Created attachment 91437 [details]
This is the output of `emerge --pretend --debug depclean` with virtual/x11 in world
Comment 8 Joe Chen 2006-07-13 19:38:30 UTC
I have the same problem, it seems doesn't have any package depend virtual/X11 now
I remembe when I emerge KDE long time ago, xorg-x11 was depened and install automatic
Comment 9 Sebastian 2006-07-15 05:01:08 UTC
Hi,

I removed virtual/x11 from world and ran 'emerge --depclean -pv' after syncing today. It didn't suggest to remove anything (which is good). Seems the issue got fixed. Should we close this report?

Thanks
Sebastian
Comment 10 Zac Medico gentoo-dev 2006-07-15 09:26:48 UTC
This seems to be a specific case of bug 136178.

*** This bug has been marked as a duplicate of 136178 ***