| Summary: | dev-libs/icu-58.1-r1: ebuild adds requirement for c++14 standard, but it is not defined by my gcc (4.8.4) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vaibhav Niku <vaibhav.niku> |
| Component: | Current packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | dennisn, rene.rheaume |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
emerge -v icu output [failed in configure phase] ./configure in source directory (stock) [success] |
||
|
Description
Vaibhav Niku
2017-01-05 07:47:32 UTC
Created attachment 458798 [details]
emerge -v icu output [failed in configure phase]
Created attachment 458800 [details]
./configure in source directory (stock) [success]
I successfully emerged icu-58.1-r1 after I edited its ebuild to change `--std=c++14' --> `--std=c++11'. (Afterwards I did `emerge =dev-libs/icu-58.1-r1'.) (edited file: /usr/portage/dev-libs/icu/icu-58.1-r1.ebuild) (Note to newbies: changes to the above file will be lost when you next do `emerge --sync'.) > `--std=c++14' --> `--std=c++11'.
Sorry, a typo:
`-std=c++14' to `std=c++11'
Googling suggests that gcc after 4.9.3'ish supports std=c++14. Maybe we should add this as a dependency? A couple of minor comments: 1) A confession, but hopefully irrelevant: I came to Gentoo from GaryOS, which is itself based on Funtoo. (When I submitted the bug report, I was not very clear about the difference between the three!) So, gcc 4.8.4 is Funtoo's gcc. I now have a fresh Gentoo amd64 (stable) installation, in which the gcc 4.9.4 is the primary gcc, which recognizes -std=c++14. 2) I have no idea about the intricacies of Gentoo, but, if you still care for my opinion: Adding a gcc version number requirement does not seem to be an elegant solution. If icu does not asks for >= a particular version of gcc, why should we? Given than the ebuild _adds_ something extra, which breaks the installation, the obvious solution seems to make the ebuild stop adding this extra requirement. I wonder why the ebuild added that cxxflag? *** This bug has been marked as a duplicate of bug 601588 *** |