Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277443 - app-office/openoffice Incorrect memory check in OpenOffice?
Summary: app-office/openoffice Incorrect memory check in OpenOffice?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-11 15:37 UTC by David
Modified: 2009-11-25 11:43 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 David 2009-07-11 15:37:43 UTC
I am seeing some benefit from installing the non-binary distribution of OpenOffice, and so was looking at what it would take to do so.

         In the ebuild for OO 3.1, I think there may be a typo.    One section states that 256MB RAM is required, while the memory check looks at whether there is 512MB.  This distinction is important to me since I have 384MB of RAM on my system.

Applicable section of ebuild:
===============

pkg_setup() {

        ewarn
        ewarn " It is important to note that OpenOffice.org is a very fragile  "
        ewarn " build when it comes to CFLAGS.  A number of flags have already "
        ewarn " been filtered out.  If you experience difficulty merging this  "
        ewarn " package and use agressive CFLAGS, lower the CFLAGS and try to  "
        ewarn " merge again. Also note that building OOo takes a lot of time and "
        ewarn " hardware ressources: 4-6 GB free diskspace and 256 MB RAM are "
        ewarn " the minimum requirements. If you have less, use openoffice-bin "
        ewarn " instead. "
        ewarn
        ewarn " Also if you experience a build break, please make sure to retry "
        ewarn " with MAKEOPTS="-j1" before filing a bug. "
        ewarn

        # Check if we have enough RAM and free diskspace to build this beast
        CHECKREQS_MEMORY="512"


====================

(By the way, I noticed that the metadata.xml file does not seem to include a <maintainer> section.)

Reproducible: Always

Steps to Reproduce:
1.  Look at ebuild file.
2.
3.

Actual Results:  
Unable to install OO if it actually does require 512MB
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-25 11:43:59 UTC
to be on the safe side you really should have 512 MByte, the 256-Mbyte info is outdated and I've removed it now. you might try but...

Thanks for reporting.