[rkward/releases/0.7.0] debian-official: Remove the explicit intialization of a compiler, as it breaks with R 3.5.0
Thomas Friedrichsmeier
null at kde.org
Sat Jun 2 06:37:03 UTC 2018
Git commit dc359f415f9a3a19397b4a6551a09a69792a7548 by Thomas Friedrichsmeier.
Committed on 02/06/2018 at 06:26.
Pushed by tfry into branch 'releases/0.7.0'.
Remove the explicit intialization of a compiler, as it breaks with R 3.5.0
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900591).
This logic was added in 11/2007 / RKward 0.4.8a, when R was specifically built
using GCC 4.2 on debian but not Ubuntu, while the default compiler on both was still GCC 4.1.
It was meant to ensure a successful build on both systems.
Not sure whether a similar solution may be needed again, in the future, but we'll worry about that,
if and when it happens.
M +3 -1 debian-official/changelog
M +1 -5 debian-official/rules
https://commits.kde.org/rkward/dc359f415f9a3a19397b4a6551a09a69792a7548
diff --git a/debian-official/changelog b/debian-official/changelog
index 58c20ceb..27fb2a6b 100644
--- a/debian-official/changelog
+++ b/debian-official/changelog
@@ -5,8 +5,10 @@ rkward (0.7.0b-1) unstable; urgency=low
closes: #895875
* Depend on r-api-3.5 when built against r-base-core >= 3.5.0
* Do not depend on r-api-3.4 when built against r-base-core < 3.4.0
+ * Remove explicit specification of C compiler
+ closes: #900591
- -- Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net> Mon, 23 Apr 2018 20:00:00 +0100
+ -- Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net> Sat, 02 Jun 2018 09:00:00 +0100
rkward (0.7.0-1) unstable; urgency=low
* New upstream release
diff --git a/debian-official/rules b/debian-official/rules
index 34288d87..83e02fe1 100755
--- a/debian-official/rules
+++ b/debian-official/rules
@@ -20,11 +20,7 @@ BUILDDIR = $(CURDIR)/debian/build
override_dh_auto_configure:
mkdir -p $(BUILDDIR)
- # Some installations of R need a specific version of the compiler(s)
- # R CMD config provides info on which compiler to use
- CC="`/usr/bin/R CMD config CC`" \
- CXX="`/usr/bin/R CMD config CXX`" \
- F77="`/usr/bin/R CMD config F77`" \
+
dh_auto_configure '--buildsystem=kf5' --parallel -- \
-DR_EXECUTABLE=/usr/bin/R/ \
-DR_LIBDIR=/usr/lib/R/site-library/ \
More information about the rkward-tracker
mailing list