Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555278 - app-admin/perl-cleaner should recommended its use in conjunction with liberal depcleans
Summary: app-admin/perl-cleaner should recommended its use in conjunction with liberal...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-18 17:01 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2019-10-24 16:41 UTC (History)
1 user (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 Michael Mair-Keimberger (iamnr3) 2015-07-18 17:01:00 UTC
* 
 * It seems like perl-cleaner had to rebuild some packages.
 * 
 * If you have just updated your major Perl version (e.g. from 5.20.2 to 5.22.0),
 * and have run perl-cleaner _after_ that update, then this means most likely
 * that these packages are buggy. Please file a bug on http://bugs.gentoo.org/ and
 * report that perl-cleaner needed to reinstall the following list:
 *    dev-perl/Locale-gettext:0 dev-perl/XML-Parser:0 dev-perl/Text-CSV:0 dev-perl/XML-SAX-Base:0 dev-perl/XML-NamespaceSupport:0 dev-perl/XML-LibXML:0 dev-perl/XML-Simple:0 dev-perl/XML-SAX:0 perl-core/CPAN-Meta:0 virtual/perl-CPAN-Meta:0 perl-core/ExtUtils-Manifest:0 virtual/perl-ExtUtils-Manifest:0
 *

Portage 2.2.20 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.20-r2, 4.1.2-gentoo x86_64)
=================================================================
System uname: Linux-4.1.2-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16355596 total,   9318628 free
KiB Swap:    8388600 total,   8388600 free
Timestamp of repository gentoo: Sat, 18 Jul 2015 04:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://192.168.2.1/gentoo-portage
    priority: -1000

local
    location: /media/public/overlays/local
    masters: gentoo
    priority: 0

tox-overlay
    location: /media/public/overlays/layman/tox-overlay
    masters: gentoo
    priority: 1

raiagent
    location: /media/public/overlays/layman/raiagent
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=9"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--info=progress2,name0,del0"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 berkdb bzip2 cli cracklib crypt cxx dbus dri exif flac gallium gdbm glamor graphite iconv icu ipv6 jpeg kde kipi lzma mmx mmxext modules mp3 multilib ncurses nls nptl openal opengl openmp otr pam pcre png qt4 readline sdl session sse sse2 ssl svg tcpd threads tiff truetype unicode vdpau vim-syntax xinerama zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="krita sheets words karbon" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-07-18 17:07:24 UTC
please report the output of:

  emerge --ignore-default-opts -uvptDN @world

( Please use an attachment if it is more than 5 lines of output )

Also, the contents of:

  grep -E 'perl-core|virtual/perl-' /var/lib/portage/world
Comment 2 Michael Mair-Keimberger (iamnr3) 2015-07-18 17:19:10 UTC
(In reply to Kent Fredric from comment #1)
> please report the output of:
> 
>   emerge --ignore-default-opts -uvptDN @world
> 
> ( Please use an attachment if it is more than 5 lines of output )

emerge --ignore-default-opts -uvptDN @world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

> 
> Also, the contents of:
> 
>   grep -E 'perl-core|virtual/perl-' /var/lib/portage/world

empty...



Just as a note: In case this is important, after perl-cleaner --all i did also run emerge --depclean which removed 4 perl packages:

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

 virtual/perl-ExtUtils-Command
    selected: 1.200.0 
   protected: none 
     omitted: none 

 perl-core/ExtUtils-Manifest
    selected: 1.700.0 
   protected: none 
     omitted: none 

 perl-core/CPAN-Meta
    selected: 2.143.240 
   protected: none 
     omitted: none 

 virtual/perl-CPAN-Meta-Requirements
    selected: 2.132.0 
   protected: none 
     omitted: none
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-07-18 18:29:15 UTC
emerge --depclean appears to be doing its job.

Perhaps this should be noted in the upgrade steps that depclean is expected to be used to clean up some residual files that are no longer necessary.

( And that should clean all instances of virtual/, perl-core/, from your cleaning list )

After you've done that, can you run perl-cleaner again and feed the list into this code as follows and attach the results:



for i in LIST_GOES_HERE; do equery list $i; done
Comment 4 Michael Mair-Keimberger (iamnr3) 2015-07-19 07:07:37 UTC
(In reply to Kent Fredric from comment #3)
> emerge --depclean appears to be doing its job.
> 
> Perhaps this should be noted in the upgrade steps that depclean is expected
> to be used to clean up some residual files that are no longer necessary.
> 
> ( And that should clean all instances of virtual/, perl-core/, from your
> cleaning list )

+1
Didn't know that depclean is expected, would be nice to add a small note to the perl-cleaner Information :)

> 
> After you've done that, can you run perl-cleaner again and feed the list
> into this code as follows and attach the results:
> 
> 
> 
> for i in LIST_GOES_HERE; do equery list $i; done

Well, the list is empty now. I think this bug can be closed. (except you want to keep it open for adding that note?)
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-07-19 09:00:17 UTC
@perl team: TL;DR

- Perl cleaner should say to depclean
- Perl cleaner should ideally have a way of knowing if it can depclean things (Wishful thinking)
- Perl should encourage depclean

Both need to specifically mention that virtual/* and perl-core/* removals are somewhat expected.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2015-07-25 20:08:31 UTC
(In reply to Kent Fredric from comment #5)
> @perl team: TL;DR
> 
> - Perl cleaner should say to depclean
> - Perl cleaner should ideally have a way of knowing if it can depclean
> things (Wishful thinking)
> - Perl should encourage depclean
> 
> Both need to specifically mention that virtual/* and perl-core/* removals
> are somewhat expected.

Nice idea. But... the problem is that you should have depcleaned **before syncing**. The moment you have synced and the Perl update is pending, you can't depclean...
Comment 7 Pacho Ramos gentoo-dev 2016-09-27 08:29:51 UTC
Current perl elog messages tell people to depclean before running perl-cleaner... wouldn't it be enough? :/

Or do you want to prevent perl-cleaner from doing anything *before* depcleaning to force people to depclean?
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2019-10-24 16:41:21 UTC
(In reply to Andreas K. Hüttel from comment #6)
> (In reply to Kent Fredric from comment #5)
> > @perl team: TL;DR
> > 
> > - Perl cleaner should say to depclean
> > - Perl cleaner should ideally have a way of knowing if it can depclean
> > things (Wishful thinking)
> > - Perl should encourage depclean
> > 
> > Both need to specifically mention that virtual/* and perl-core/* removals
> > are somewhat expected.
> 
> Nice idea. But... the problem is that you should have depcleaned **before
> syncing**. The moment you have synced and the Perl update is pending, you
> can't depclean...

(In reply to Pacho Ramos from comment #7)
> Current perl elog messages tell people to depclean before running
> perl-cleaner... wouldn't it be enough? :/
> 
> Or do you want to prevent perl-cleaner from doing anything *before*
> depcleaning to force people to depclean?

The combination of all these issues makes it hard to improve anything. This said, perl-cleaner is rarely needed *if* you depclean these days...