Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28380 - emerge depclean cleans dependancies of slotted packages
Summary: emerge depclean cleans dependancies of slotted packages
Status: RESOLVED DUPLICATE of bug 4698
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 126519 141281 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-10 12:42 UTC by Tom Schumm
Modified: 2011-10-30 22:20 UTC (History)
3 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 Tom Schumm 2003-09-10 12:42:36 UTC
I have both gimp 1.2.5 and 1.3.19 installed.  If I 'emerge depclean' it cleans
packages that are required by 1.2.5.  I suspect that this probably happens for
other slotted packages too, but it doesn't happen that often since newer
versions of most packages usually have most or all of the dependencies of
previous versions.

Reproducible: Always
Steps to Reproduce:
1. emerge gimp-1.3.x and 1.2.x
2. emerge depclean
3. emerge -p gimp-1.2.x

Actual Results:  
phong@poecilotheria:media-gfx/gimp $ emerge -p gimp-1.2.5.ebuild 

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-perl/Text-Balanced-1.95  
[ebuild  N    ] dev-perl/Parse-RecDescent-1.94  
[ebuild  N    ] dev-perl/XML-Parser-2.31-r1  
[ebuild  N    ] dev-perl/XML-Writer-0.4-r2  
[ebuild  N    ] dev-perl/gtk-perl-0.7008-r9  
[ebuild  N    ] dev-perl/Data-Dumper-2.101  
[ebuild  N    ] dev-perl/Inline-0.44  
[ebuild  N    ] dev-perl/Filter-1.29  
[ebuild  N    ] dev-perl/ExtUtils-F77-1.14-r1  
[ebuild  N    ] dev-perl/PDL-2.4.0-r1  
[ebuild  N    ] media-libs/mpeg-lib-1.3.1-r1  
[ebuild   R   ] media-gfx/gimp-1.2.5

Expected Results:  
None of those packages should have been removed.

phong@poecilotheria:/home/phong $ emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) processor
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache userpriv"
GENTOO_MIRRORS="http://adelie.polymtl.ca/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa
gdbm berkdb slang readline arts svga tcltk java guile X sdl gpm tcpd pam ssl
perl python esd imlib oggvorbis gtk qt kde opengl mozilla cdr scanner -gnome
gtk2 -cups -motif -openmotif -lesstif moznomail moznocompose moznoirc -sane"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 15:05:38 UTC
Verify with a current portage please.
Comment 2 Tom Schumm 2003-12-26 05:36:38 UTC
I upgraded recently to portage-2.0.49-r18 to try out Python 2.3, and I can no longer reproduce the problem.  It is possible that it was resolved prior to that also.  It appears to be fixed as far as I can tell.
Comment 3 Kris Kelley 2004-09-16 12:08:16 UTC
I am seeing this problem with portage 2.0.50-r11.

I have the following slotted packages installed on my system:  gconf (1.0.8-r3 and 2.6.2), gnome-vfs (1.0.5-r3 and 2.6.1.1), and control-center (1.4.0.5-r1 and 2.6.1).

Whenever I run an "emerge -p depclean", the following packages are tagged for removal: gnome-common 2.4.0, gdk-pixbuf 0.22.0-r2, oaf 0.6.10, and gnome-libs 1.4.2.  These packages are required by the older versions of gconf, gnome-vfs, and control-center (though apparently not the newer versions).  Therefore, running the depclean would break functionality on my system.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-05-30 10:46:51 UTC
I am seeing this bug with 

pena portage # emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-rc1-love1 i686)
=================================================================
System uname: 2.6.12-rc1-love1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/src/distfiles"
FEATURES="autoconfig ccache cvs distlocks fixpackages noauto sandbox sfperms"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo-java-experimental"
SYNC="rsync://aria/portage"
USE="x86 X aac acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts
bzip2 bzlib cdb cddb cdparanoia cdr crypt cups curl divx4linux dts dvd dvdr
dvdread emboss encode esd fam flac foomaticdb freetype gcj gd gif gnome
gstreamer gtk gtk2 hal imagemagick jack java jpeg kde kdeenablefinal kdexdeltas
libg++ libwww logitech-mouse lzo mad makecheck mikmod mjpeg mmx mmx2 mozilla mp3
mpeg ncurses network nptl nptlonly nvidia ogg oggvorbis opengl pam pdflib png
python qt quicktime readline real rtc ruby slang slp spell sse sse2 ssl
subversion svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb
userlocales vorbis win32codecs xine xml xml2 xv xvid zlib video_cards_nvidia
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS

I have the new slotted ebuild in an overlay. After I put the new version to
package.mask depclean doesn't want to remove the deps any more.
Comment 5 Markus Daeschler 2005-06-06 09:20:18 UTC
got same problem here like comment #3 with portage-2.0.51.19
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-10-07 08:10:44 UTC

*** This bug has been marked as a duplicate of 4698 ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 07:07:53 UTC
*** Bug 141281 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 22:44:49 UTC
*** Bug 126519 has been marked as a duplicate of this bug. ***