Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419349 - app-office/libreoffice-3.5.4.2-r1 - ?
Summary: app-office/libreoffice-3.5.4.2-r1 - ?
Status: RESOLVED DUPLICATE of bug 419149
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 13:02 UTC by UncleVan
Modified: 2012-06-02 16:33 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 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 ***