Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395181 - app-office/libreoffice-3.4.99.1-r1 fails with "No space left on device"
Summary: app-office/libreoffice-3.4.99.1-r1 fails with "No space left on device"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-18 18:15 UTC by August Hörandl
Modified: 2011-12-18 19:01 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 August Hörandl 2011-12-18 18:15:31 UTC
libreoffice-3.4.99.1-r1 fails with 
IOError: [Errno 28] No space left on device

# du -sc /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/
16794656        /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/

libreoffice checks for 9GB of free space, but needs a lot more

Reproducible: Always

Steps to Reproduce:
1. get about 13GB of free space
2. emerge libreoffice

Actual Results:  
IOError: [Errno 28] No space left on device


I am building on an extra partition (/mnt/data/)

mount reports:
/dev/md127 on /mnt/data type ext3 (rw,noatime,commit=0)

df reports:
/dev/md127              65G     65G     0  100% /mnt/data

# du -sch /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/*
20K     /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/build-info
40K     /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/distdir
11M     /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/homedir
780M    /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/image
77M     /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/temp
16G     /mnt/data/build/portage/app-office/libreoffice-3.4.99.1-r1/work
17G     insgesamt

----

after deleting the failed build:

rm -rf /mnt/data/build/portage/app-office/
df -h
/dev/md127              65G     49G   13G   80% /mnt/data
Comment 1 August Hörandl 2011-12-18 18:17:16 UTC
# emerge --info
Portage 2.1.10.41 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r1, 3.1.3-gentoo x86_64)
=================================================================
System uname: Linux-3.1.3-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5400+-with-gentoo-2.1
Timestamp of tree: Sun, 18 Dec 2011 09:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo sunrise kde-sunset local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 IBM-J1.5 skype-eula cadsoft googleearth AdobeFlash-10.1 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -ggdb"
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 /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.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_AT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
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/build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi additions addressbook akonadi alisp alsa amd64 apache2 apng arts asf assistant autoipd avahi avi bash-completion berkdb bineditor binfilter bluetooth bookmarks branding bzip2 cairo calendar cdda cdio cdr cgi chm cli consolekit cracklib crypt cups curl cxx dbus de_tvtoday declarative dga dhclient dia dirac directfb divx divx4linux djvu dlloader doc dot dri dts dv dvb dvd dvdr dvdread ebook emacs emacs-w3 emboss emovix enblend enca encode examples exif expat expoblending extensions extra fam ffmpeg firefox flac fontconfig fortran freetype fts3 gallium gd gdbm gdu geolocation gif gimp gimpprint git glitz gnutls gocr gphoto2 graphics hddtemp httpd iconv icu id3tag ieee1394 imagemagick injection insecure-savers ipod iptv ipv6 jadetex jpeg jpeg2k kde kdehiddenvisibility kdexdelta kipi kpathsea kqemu lapack latex lcms ldap libnotify libwww live lm_sensors lua lyx lzma mad math matplotlib matroska mbox melt metric mikmod minizip mjpeg mmx mmx2 mng modules mono mp3 mp4 mpeg mpi mplayer mtp mudflap multilib multimedia mysql nas ncurses network-cron nls nptl nptlonly nsplugin nspluginwrapper nss numpy nvidia ocrad ogg oggvorbis okteta okular ole openexr opengl openmp pam pango panorama pch pcre pdf pdo phonon plasma pmu png policykit portaudio ppds pppd private-headers pstricks pylint python qalculate qimageblitz qscintilla qt qt3support qt4 qthelp qtscript qwt readline redeyes reports romio rtf rtsp samba scanner schroedinger science scipy sdk sdl secure-delete semantic-desktop session sift skins slang smbclient smp spell sql sqlite sqlite3 srt sse sse2 ssl startup-notification stream subversion svg sysfs tcl tcpd templates tesseract tetex tex tex4ht theora theorea threads tidy tiff tk transcode truetype twolame ubs udev unicode upnp usb userlocales utempter uudeview v4l v4l2 vboxwebsrv vcd vcdx vdr virt-network virtualbox vlm vnc vorbis webdav webkit wifi wireshark wmf wxwindows x264 xanim xcb xemacs xetex xext xine xinerama xml xmlwriter xmp xorg xosd xscreensaver xulrunner xv xvid zip zlib zvbi" 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 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 dav dav_fs dav_lock 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 cgi" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nouveau" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-12-18 18:30:58 UTC
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -ggdb"

-ggdb is the problem... maybe we should check for that in the ebuild. You can roughly double the space requirement if you use this flag. Alternatively, build only with -g, that should still provide reasonable debug info.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-18 19:01:57 UTC
Setting ggdb on greedy apps is way to hell, this is not supported setup.

If you build with -g it needs 9 gb with -ggdb 16.