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

Bug 308369

Summary: 'emerge --depclean' wants to remove perl-core/Sys-Syslog ...
Product: Gentoo Linux Reporter: Hanno Zysik (geki) <h.mth>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: minor    
Priority: Normal    
Version: 10.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hanno Zysik (geki) 2010-03-07 19:38:17 UTC
..., although it is in the dependency tree. Now, you can remove it. Emerge update wants it again. Emerge depclean wants to remove it again. And so on and on it goes. Any idea what is going wrong here? See:

ana ~ # emerge -p --depclean

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> Checking for lib consumers...
>>> Assigning files to packages...

>>> These are the packages that would be unmerged:

 dev-libs/redland
    selected: 1.0.10-r2 
   protected: none 
     omitted: none 

 perl-core/Sys-Syslog
    selected: 0.27 
   protected: none 
     omitted: none 

 dev-libs/rasqal
    selected: 0.9.17 
   protected: none 
     omitted: none 

 media-libs/raptor
    selected: 1.4.20 
   protected: none 
     omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   559
Packages in world:    94
Packages in system:   50
Required packages:    555
Number to remove:     4

ana ~ # equery depends perl-core/Sys-Syslog
 * These packages depend on perl-core/Sys-Syslog:
virtual/perl-Sys-Syslog-0.27 (~perl-core/Sys-Syslog-0.27)

ana ~ # equery depends virtual/perl-Sys-Syslog
 * These packages depend on virtual/perl-Sys-Syslog:
dev-perl/DBI-1.609 (>=virtual/perl-Sys-Syslog-0.17)

ana ~ # equery depends dev-perl/DBI
 * These packages depend on dev-perl/DBI:
dev-perl/DBD-mysql-4.01.3 (dev-perl/DBI)
dev-util/git-1.7.0 (cvs ? dev-perl/DBI)

ana ~ # equery depends dev-perl/DBD-mysql
 * These packages depend on dev-perl/DBD-mysql:
dev-db/mysql-5.1.44-r1 (perl ? >=dev-perl/DBD-mysql-2.9004)

ana ~ # emerge -qpv dev-db/mysql
[ebuild   R   ] dev-db/mysql-5.1.44-r1  USE="perl ssl -big-tables -cluster -community -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt -profiling (-selinux) -static -test"
Comment 1 Hanno Zysik (geki) 2010-03-07 19:39:14 UTC
ana ~ # emerge --info
Portage 2.2_rc65 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 07 Mar 2010 10:15:01 +0000
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -funswitch-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-O2 -mtune=core2 -march=core2 -pipe -fomit-frame-pointer -funswitch-loops"
DISTDIR="/mnt/data/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common"
LINGUAS="de en"
MAKEOPTS="-j3"
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="/mnt/data/tmp"
PORTDIR="/mnt/data/portage"
PORTDIR_OVERLAY="/usr/local/src/mozilla-overlay /usr/local/src/java-overlay /usr/local/src/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="aac alsa amd64 apache2 avi berkdb bitmap-fonts bzip2 cairo cdr cups custom-cflags custom-cxxflags dbus dts dvd dvdr gd gif glx gpm hardenedphp imap imlib ipv6 java6 jpeg jpeg2k libnotify mad mmx mmxext mp3 mpeg mysql nls nptl nsplugin nvidia ogg oggvorbis opengl openssl pam perl png python3 sse sse2 sse3 ssl svg theora threads truetype truetype-fonts type1-fonts unicode usb vhosts videos vorbis x264 xinerama xml xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="empty plug" 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 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" CAMERAS="ptp2 sonydscf1 sonydscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Rafał Mużyło 2010-03-07 19:56:50 UTC
Probably 'corelist -a Sys::Syslog' is the answer
to your question, as it's not a bug.
Check the content of virtual/perl-Sys-Syslog-0.27 ebuild.
Comment 3 Hanno Zysik (geki) 2010-03-07 20:18:03 UTC
O, now 'emerge -uDpv @world' does not want it anymore.
Closing as INVALID. :)