Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419149 - app-office/libreoffice-3.5.4.2-r1 gcc requirement wrong
Summary: app-office/libreoffice-3.5.4.2-r1 gcc requirement wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 419349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-01 19:53 UTC by Daniel Peters
Modified: 2012-06-03 19:39 UTC (History)
2 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 Daniel Peters 2012-06-01 19:53:45 UTC
app-office/libreoffice refuses to build because it thinks gcc-4.5.3 is too old. I think the test
"( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 5 ]] )"
should be
"( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 5 ]] )"

I would also like to know why you didn't add ">=sys-devel/gcc-5" to the dependencies? Is this against policy?

FF,
Daniel
Comment 1 Evan Teran 2012-06-01 20:15:07 UTC
@Daniel, I'm not a gentoo dev, but having a dep of >=sys-devel/gcc-4.5 wouldn't help because you can have multiple gcc's installed, and have an older version "active" via gcc-config even if you have 4.5 installed.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-06-01 20:18:24 UTC
Right it should be lt rather then le.

Good catch.

This can't be hanled by dependency sadly as you can have multiple versions on system and we can't ensure which one is active.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-02 16:33:25 UTC
*** Bug 419349 has been marked as a duplicate of this bug. ***
Comment 4 UncleVan 2012-06-03 12:37:19 UTC
(In reply to comment #3)
> *** Bug 419349 has been marked as a duplicate of this bug. ***

Would be nice if everyone subjects the fully quallified ebuild in a bug, as "app-office/libreoffice-3.5.4.2-r1" points exactly; whereas "app-office/libreoffice" could be years old. 

You would spare the posters hours of recherche , and yourself a lot of duplicates...;-)

Your UncleVan.
Comment 5 Daniel Peters 2012-06-03 19:39:00 UTC
@Evan and Tomas: I see, thanks for clarification

@UncleVan: This can be easily fixed, thanks ;-)