commit: b58b23376de0416297be0d927973ff12e9befd6e
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 16 12:36:09 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Jan 16 12:36:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58b2337
sci-physics/root: refuse to build with gcc-5
ROOT-6 is not yet ready for gcc-5 due to lack of ABI tags support,
see bug 564306 and root issues 7285, 7319, 7654, 7721, 7818, 7895.
Package-Manager: portage-2.2.26
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-6.02.05-r2.ebuild | 18 ++++++++++++++++++
sci-physics/root/root-6.04.06.ebuild | 17 +++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild
b/sci-physics/root/root-6.02.05-r2.ebuild
index 5bb8741..a410d12 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -140,6 +140,24 @@ check_compiler() {
;;
*g++*)
ver="$(gcc-version)"
+ # gcc-5 is not yet supported, bug 564306
+ if version_is_at_least "5" "${ver}"; then
+ eerror ""
+ eerror "GCC-5 is not yet supported in ROOT-6."
+ eerror "The code may build for you, but will
have run-time failures."
+ eerror "See the following bugs:"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7285"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7319"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7654"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7721"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7818"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7895"
+ eerror
"https://bugs.gentoo.org/show_bug.cgi?id=564306"
+ eerror ""
+ eerror "Please use GCC-4.9 for now."
+ eerror ""
+ die "gcc-5 is not yet supported"
+ fi
cur="$2"
;;
*icc*|*icpc*)
diff --git a/sci-physics/root/root-6.04.06.ebuild
b/sci-physics/root/root-6.04.06.ebuild
index 093ad9f..c3ef6fb 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -135,6 +135,23 @@ check_compiler() {
;;
*g++*)
ver="$(gcc-version)"
+ if version_is_at_least "5" "${ver}"; then
+ eerror ""
+ eerror "GCC-5 is not yet supported in ROOT-6."
+ eerror "The code may build for you, but will
have run-time failures."
+ eerror "See the following bugs:"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7285"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7319"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7654"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7721"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7818"
+ eerror
"https://sft.its.cern.ch/jira/browse/ROOT-7895"
+ eerror
"https://bugs.gentoo.org/show_bug.cgi?id=564306"
+ eerror ""
+ eerror "Please use GCC-4.9 for now."
+ eerror ""
+ die "gcc-5 is not yet supported"
+ fi
cur="$2"
;;
*icc*|*icpc*)