Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 419349

Summary: app-office/libreoffice-3.5.4.2-r1 - ?
Product: Gentoo Linux Reporter: UncleVan <unclevan>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description UncleVan 2012-06-02 13:02:03 UTC
Emerge fails with:

Code:
 * Compilation with gcc older than 4.5 is not supported
 * ERROR: app-office/libreoffice-3.5.4.2-r1 failed (pretend phase):
 *   Too old gcc found.
 *
 * Call stack:
 *                       ebuild.sh, line  85:  Called pkg_pretend
 *   libreoffice-3.5.4.2-r1.ebuild, line 225:  Called die
 * The specific snippet of code:
 *            die "Too old gcc found."
 *

The corresponding code looks like:

Code - in pkg_pretend() :
===============================================================================
221         if [[ $(gcc-major-version) -lt 4 ]] || \
222                  ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 5 ]] ) \
223                 ; then
224             eerror "Compilation with gcc older than 4.5 is not supported"
225             die "Too old gcc found."
226         fi
===============================================================================

which is obviosly wrong, considering the eeror message ; shuld be:

Code:
======================================
... && $(gcc-minor-version) -lt 5 ]] )
======================================

= "less then" instead of -le (inverse logic dudes...), as we still dont have gcc > 4.5 unmasked; if not then libreoffice-3.5.4.2-r1 should be masked too.

Anyone in charge to fix this ?
(or fix me if Im wrong...)

Your UncleVan.
Comment 1 Franz Trischberger 2012-06-02 16:11:32 UTC
DUP of https://bugs.gentoo.org/show_bug.cgi?id=419149
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-02 16:33:25 UTC

*** This bug has been marked as a duplicate of bug 419149 ***