On Wednesday 05 Apr 2017 09:36:57 Dale wrote:
> Peter Humphrey wrote:
> > On Tuesday 04 Apr 2017 17:52:30 Dale wrote:
> >> Peter Humphrey wrote:
> >>> Has anyone else noticed that running "eclean-pkg -d" removes all
> >>> packages, or nearly so? I've had it happen recently on a few amd64
> >>> systems and an x86 system, and it's becoming annoying. Well, no,
> >>> actually it's long since become annoying.
> >> 
> >> If it is removing to much, leave out the -d option.  With -d, it only
> >> leaves the minimum needed to re-emerge the packages currently
> >> installed.  It works the same way with -dist as well.  From the man
> >> page:
> >> 
> >> -d, --deep                    only keep the minimum for a
> >> reinstallation
> >> 
> >> I think if you leave off the -d option it leaves anything that is still
> >> in the tree, may include overlays as well.
> > 
> > Yes, I've done that of course. The point is that it used to work with
> > -d,
> > and now it doesn't. If you ask how I know it used to work, my answer is
> > that of course I don't, but at least it only removed a sensible-looking
> > number of packages.
> > 
> > The other day I was left with just six package files and the directory
> > structure.
> > 
> > I haven't noticed a problem with eclean-dist.
> 
> I just tested it here and it works as expected.  It left about 1500
> files in my packages directory.  I'm using gentoolkit-0.4.0 here.  If
> you are using something different, may want to try it.

gentoolkit-0.3.3 here.

> I use that pretty regular and its always worked as it should for me.  If
> you are only left with 6 packages, something isn't right somewhere.
> Have you checked to be sure it is still saving a tarball of each
> installed package?  Maybe something was changed in make.conf and it
> isn't building new ones for some reason, a errant edit maybe.  May want
> to build a new package and check to confirm it saved it or not.

This is in a 32-bit chroot for a slower machine on the local net:

(webs-chroot) peak / # alias emerj
alias emerj='emerge --jobs=24 --load-average=60 --keep-going --nospinner'
(webs-chroot) peak / # emerj -eB world

--->8

(webs-chroot) peak / # find /usr/portage/packages -type f | wc
    647     647   29800
(webs-chroot) peak / # eclean-pkg -d
        [snipped hundreds of lines]
 [  774.8 M ] Total space from 646 files were freed in the packages 
directory
(webs-chroot) peak / # find /usr/portage/packages -type f | wc
      1       1      31

[Copy backup back in.]

(webs-chroot) peak / # eclean-pkg
 * Building file list for packages cleaning...
 * Your packages directory was already clean.


> If we compare what I have that works with what you have, maybe we can
> figure out what is making this not work.  Clearly something isn't working.

Indeed. And it isn't just on one system, as I said the first time. And it 
started happening several weeks ago.

-- 
Regards
Peter
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/no-multilib, 
gcc-4.9.4, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
System uname: 
Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i7-5820K_CPU_@_3.30GHz-with-gentoo-2.3
KiB Mem:    32842056 total,  14593452 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Wed, 05 Apr 2017 07:42:26 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.12.6::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* !PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=silvermont -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/applications/boincmgr.desktop /usr/share/config 
/usr/share/gkrellm2/themes/invisible /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/pam.d 
/etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ 
/etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ 
/etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=silvermont -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--backtrack=100 --autounmask=n --with-bdeps y --keep-going 
--nospinner"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified 
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch 
parallel-install preserve-libs protect-owned sandbox sfperms strict 
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv 
usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/         
ftp://mirror.bytemark.co.uk/gentoo/     http://mirror.bytemark.co.uk/gentoo/    
http://mirror.qubenet.net/mirror/gentoo/        
http://mirrors.evowise.com/gentoo/      
http://www.mirrorservice.org/sites/distfiles.gentoo.org/";
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 24 -l 60"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl acpi alsa amd64 apache2 berkdb bindist branding bzip2 cli consolekit 
cracklib crypt cups curl cxx dbus dri exif fam gdbm gif gpm gtk iconv icu ipv6 
jpeg lcms libnotify logrotate maildir modules ncurses nls nptl opengl openmp 
pam pango pcre php png policykit readline seccomp session spell ssl svg tcpd 
tiff truetype udev unicode vhosts xattr 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" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi 
words flow plan sheets stage tables krita karbon braindump author" 
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 
CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin 
garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle 
oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt 
ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" 
L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console 
presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" 
PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 
python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 
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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, 
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Reply via email to