Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250048 - portage-2.2_rc17 with FEATURES="ccache" claims "no space left on device"
Summary: portage-2.2_rc17 with FEATURES="ccache" claims "no space left on device"
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-06 18:58 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2008-12-06 19:07 UTC (History)
0 users

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 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-12-06 18:58:53 UTC
I am using ccache-2.4-r8 and portage-2.2_rc17 and have FEATURES="sandbox ccache userpriv userfetch parllel-fetch" in make.conf

This morning, when I tried to emerge wine, I got the following message:
# emerge wine
[...]
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2  -D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=native -O2 -pipe  -o enhmfdrv/mapping.o enhmfdrv/mapping.c
Assembler messages:
Fatal error: can't create /var/tmp/ccache/tmp.hash.leftboat.561.o: No space left on device
make[2]: *** [enhmfdrv/mapping.o] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.10/work/wine-1.1.10/dlls/gdi32'
make[1]: *** [gdi32] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.10/work/wine-1.1.10/dlls'
make: *** [dlls] Error 2
 * 
 * ERROR: app-emulation/wine-1.1.10 failed.

Of course, this error is totally bogus:

# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs               299463624  59183948 225067732  21% /
/dev/sda6            299463624  59183948 225067732  21% /
udev                     10240        64     10176   1% /dev
shm                    2013580        76   2013504   1% /dev/shm
rc-svcdir                 1024       112       912  11% /lib64/rc/init.d
/dev/sda5              1959808    614792   1345016  32% /usr/portage

My guess is that the ccache cache on disk is now taking over 2G (or whatever the default maximum limit is). But I don't understand why portage doesn't simply automatically delete old cache files to free up some space.

# emerge --info
Portage 2.2_rc17 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc7-git1 x86_64)
=================================================================
System uname: Linux-2.6.28-rc7-git1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7370_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Sat, 06 Dec 2008 17:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r4, 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch parllel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/auto-portage /usr/local/portage/layman/sunrise /usr/local/portage/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac accessibility acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl dbus dirac djvu doc dri dv dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fftw firefox flac fortran galago gdbm gif gimp gmp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile hal iconv idn ieee1394 imlib inotify ipv6 isdnlog jack java jbig jpeg jpeg2k juju kde lame latex lcms ldap libnotify lua mad midi mikmod mmx mng mono mp3 mpeg mudflap multilib mysql nautilus ncurses nls nptl nptlonly odbc ogg openal openexr opengl openmp oss pam pcre pdf perl png policykit postgres ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection ruby samba schroedinger sdl session socks5 speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcl tcpd theora threads tiff tk tracker truetype unicode usb v4l v4l2 vim-syntax vorbis webkit x264 xattr xcb xinerama xml xmp xorg xprint xulrunner xv 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="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lapack log_config logio mem_cache mime mime_magic negotiation proxy proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="intel v4l vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-12-06 19:07:39 UTC
I apologize, this seems to be a filesystem problem.