Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345799 - app-office/openoffice-3.2.1-r1: request to change CHECKREQS_DISK_BUILD to something >6144Mb
Summary: app-office/openoffice-3.2.1-r1: request to change CHECKREQS_DISK_BUILD to som...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 348008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-16 20:39 UTC by Nico Baggus
Modified: 2011-05-07 19:03 UTC (History)
5 users (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 Nico Baggus 2010-11-16 20:39:34 UTC
The ebuild claims that bad things happen if less then 6GB memory is free
On a disk with 9GB free it still fails.


Reproducible: Always

Steps to Reproduce:
1.emerge openoffice 
2.with 9GB free on disk fails
3.

Actual Results:  
disk full error

Expected Results:  
A better estimate

Sizes on a disk where is DOES build:
(size in 1K blocks, on /var/tmp/portage storage).
After compile -  1593376 
After install -  1017220
After qmerge  -  1540652
After clean   - 12868240

net storage:    11851020k 
-> about twice the amount mentioned in the build script

Enable flags
Installed versions:  3.2.1-r1(19:38:51 11/16/10)(bash-completion binfilter cups dbus gstreamer gtk java kde ldap linguas_en linguas_en_GB linguas_en_US linguas_nl nsplugin odk opengl pam templates

All others are disabled.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-16 21:07:11 UTC
How much is actually used depends on the block size on that 9GB filesystem.
Comment 2 Nico Baggus 2010-11-16 21:24:22 UTC
From debuge2fs:

Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1021
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-16 22:06:34 UTC
OK, so run this:
du -sh --apparent-size /var/tmp/portage
Comment 4 Nico Baggus 2010-11-17 11:19:17 UTC
# du -sh --apparent-size /var/tmp/portage
11G     /var/tmp/portage
Comment 5 Nico Baggus 2010-11-17 11:21:00 UTC
# ls -l /var/tmp/portage
total 4
drwxrwxr-x 3 portage portage 4096 Nov 16 23:10 app-office
# ls -l /var/tmp/portage/*
total 4
drwxrwxr-x 7 portage portage 4096 Nov 17 03:47 openoffice-3.2.1-r1
#
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-17 15:24:24 UTC
Oh, and please post your `emerge --info' in a comment...
Comment 7 Nico Baggus 2010-11-17 15:33:13 UTC
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-AMD_Athlon-tm-_II_Dual-Core_M300-with-gentoo-2.0.1
Timestamp of tree: Wed, 17 Nov 2010 15:00:22 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL sun-bcla-java-vm dlj-1.1 skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/X11/xkb /usr/share/config /usr/share/openvpn/easy-rsa /var/bind /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g "
DISTDIR="/mnt/floppy/var-tmp/"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.twaren.net/Linux/Gentoo/"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB en_US nl_NL nl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
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="/var/lib/layman/voip /var/lib/layman/webapps-experimental /var/lib/layman/openmoko /var/lib/layman/sunrise /var/lib/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac aalib accessibility acl acpi activefilter ads aio akode akonadi alsa amd64 ao apache2 ati audiofile audit authdaemond automount avahi bash-completion berkdb bl bluetooth bookmarks branding bzip2 cairo caps cdda cddb cdparanoia cdr cgi chm cleartype cli consolekit cracklib crypt cscope css cups curl cxx dbus dga directfb djvu dri dts dv dvb dvd dvdr eap-tls emboss encode esd exif exiscan exiscan-acl expat fam fame fastcgi fax fbcon ffmpeg firefox flac foomaticdb fortran fpx frxp gd gdbm ggi gif gimp glib gmp gnokii gphoto2 gpm graphviz gs gsm gstreamer gtk guile hal handbook howl-compat hpn html http httpd ical icecast iconv id3 id3tag idn ieee1394 ilbc imap imlib ipv6 irda ithreads jabber jack java javascript jbig jingle joystick jpeg jpeg2k justify kde kerberos kipi kqemu ladspa lame laptop lcms ldap libcaca libnotify libsamplerate live lm_sensors lmtp loop-aes lua lzma lzo mad mailwrapper matroska mbrola md5sum mdnsresponder-compat memcache mhash mikmod mjpeg mmap mmx mmxext mng modules motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses netboot network nls nptl nptlonly nsplugin obex odbc odk ogg openal openexr opengl openmp oscar oss pam pango pcre pda pdf perl phonon php pic plotutils png pnm policykit portaudio postscript ppds pppd pth pulseaudio python qt qt3support qt4 quicktime quotas radius rar rdesktop readline rle rrdtool rtc ruby samba sasl scanner sdl semantic-desktop server session skey slang sndfile snmp span speex spell spf sqlite sqlite3 srs sse sse2 sse3 sse4a ssl startup-notification subversion svg swat symlink sysfs syslog tcpd theora threads tiff timidity tools truetype tta unicode ups urandom usb utempter v4l v4l2 vcd vde vim-syntax vnc vorbis wavpack webdav wifi winbind wma wmf x264 xanim xattr xcb xfs xine xinerama xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yaz yv12 zeroconf zip zlib zrtp" ALSA_CARDS="hda-intel usb-audio" 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 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="peruser" CAMERAS="ptp2 canon casio" 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 synaptics joystick aiptek wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US nl_NL nl en" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="arm i386 alpha x86_64" QEMU_USER_TARGETS="alpha i386 x86_64 arm armeb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fbdev fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy tee tarpit sysrq steal rawnat logmark ipmark echo dhcpmac delude condition checksum chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 8 Nico Baggus 2010-11-17 15:35:57 UTC
and use flags for openoffice:

app-office/openoffice cups gstreamer gtk java nsplugin odk templates binfilter -gnome -mono
Comment 9 Jory A. Pratt gentoo-dev 2010-11-19 19:43:16 UTC
Your cflags will be your issue, I have just recompiled openoffice-3.2.1-r1 with less then 6GB of disk space.
Comment 10 Nico Baggus 2010-11-19 20:28:42 UTC
C Flags?
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g "
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g"

I really doubt that, use flags maybe?

app-office/openoffice cups gstreamer gtk java nsplugin odk templates binfilter
-gnome -mono

I do use cups, 
binfilter i do happen to run into some odd formats now and then, 
java seems somewhat mandatory
nsplugin comes in handy too, 
templates come in handy too sometimes,
gtk/gstreamer are on my system... debatable
odk seems arbitrary...  debatable
kde is my desktop environment
gnome definitely not and mono??? well

The difference between 6 & 11+GB is somewhat big.
Comment 11 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-11-19 23:12:11 UTC
(In reply to comment #10)
> C Flags?
> CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g "
> CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs -g"
> 
> I really doubt that, use flags maybe?
> 

  Try without debugging information support "-g" in your C/CXXFLAGS. 
  Also, I can't understand what you expect here to be done. Do you want us to change the limit to >9GB? Everyone knows that openoffice needs a lot of disk space at build time. Please find/make some more, for your compilation. I will assign this to the openoffice team, to decide whether this bug is valid or not.  
  Btw, if you add the "debug" use flag, you'll get a nice new warning that you need 2*6GB=12GB. Also, there is a app-office/openoffice-bin package, which could meet your needs (it takes only ~300Mb to be installed). 
Thank you for your report.   
Comment 12 Nico Baggus 2010-11-22 09:49:05 UTC
ok -g does make that difference.. (unexpectly very much more ...)
Is that a general issue that debugging info is as much as the product itself?

(-g was needed because of problems with KDE stability and -g was added to create usable reports for kde itself (and libraries used by KDE). The problem is they didn't occur that frequently anymore.)
Comment 13 Ulrich Müller gentoo-dev 2010-11-24 18:54:42 UTC
I was hit by this too: It failed on a partition with about 10 GB of free space.

CFLAGS="-march=core2 -ggdb -O2 -pipe"
USE="bash-completion cups dbus gtk java nsplugin opengl pam -aqua -binfilter -debug -eds -gnome -gstreamer -kde -kdeenablefinal -ldap -odk -templates"

"du -s" after a successful build on another partition shows that 12.0 GB are needed (11.5 GB for "du -s --apparent-size"). This is quite consistent with the original report.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-09 19:35:32 UTC
*** Bug 348008 has been marked as a duplicate of this bug. ***
Comment 15 Andreas Proschofsky (RETIRED) gentoo-dev 2011-02-17 10:31:19 UTC
Like everyone already figured out: this is because you are building with debugging flags but not having set the "debug" use flag. If someone comes up with a better check for the ebuild: Would be great ;-)
Comment 16 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-28 06:02:17 UTC
*** Bug 360807 has been marked as a duplicate of this bug. ***
Comment 17 Nico Baggus 2011-03-28 10:42:51 UTC
I am satisfied with the solution.
It should be kept for future reference, but the issue at hand is dealt with.

It can be closed for me.