Subject: bug#26220: closed (Re: bug#26220: core-updates: r-rcpp fails to build with GCC 5)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 30 Mar 2017 12:47:02 +0000

Your bug report

#26220: core-updates: r-rcpp fails to build with GCC 5

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26220: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26220
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#26220: core-updates: r-rcpp fails to build with GCC 5
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Thu, 30 Mar 2017 15:17:13 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Done with commit cb4805e34 in core-updates.

Closing this bug.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

Subject: core-updates: r-rcpp fails to build with GCC 5
From: Leo Famulari <[email-masked]>
To: [email-masked]
Cc: Ricardo Wurmus <[email-masked]>
Date: Wed, 22 Mar 2017 17:20:33 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Is this an appropriate solution?
From 216000bc2d05799f3d68ae1806bb4b2ce6ab0782 Mon Sep 17 00:00:00 2001
From: Leo Famulari <[email-masked]>
Date: Wed, 22 Mar 2017 17:16:58 -0400
Subject: [PATCH] gnu: r-rcpp: Fix build failure with GCC-5.

* gnu/packages/statistics.scm (r-rcpp)[native-inputs]: Add gcc-4.9.
---
 gnu/packages/statistics.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index a90ac2f42..a40633f24 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -822,6 +822,9 @@ Munsell colour system.")
        (sha256
         (base32 "0is1vql1q82g7yakad4skx707ip0fx3rgdwv9a8mi8259gly2qji"))))
     (build-system r-build-system)
+    ;; Fixes 'version `GLIBCXX_3.4.21' not found' build error.
+    (native-inputs
+     `(("gcc-4" ,gcc-4.9)))
     (home-page "http://www.rcpp.org")
     (synopsis "Seamless R and C++ Integration")
     (description
-- 
2.12.0