[sagemath] 02/03: Disable check for root in configure.ac.

Tobias Hansen thansen at moszumanska.debian.org
Sat Nov 19 11:00:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository sagemath.

commit 2caddd9d85585e4438d55d1b9ef84ac966ea0698
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Sat Nov 19 10:47:52 2016 +0000

    Disable check for root in configure.ac.
---
 debian/patches/debian-fakeroot.patch | 13 +++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/debian-fakeroot.patch b/debian/patches/debian-fakeroot.patch
new file mode 100644
index 0000000..3d843ec
--- /dev/null
+++ b/debian/patches/debian-fakeroot.patch
@@ -0,0 +1,13 @@
+Description: We are building with fakeroot which makes this check fail.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/sage/configure.ac
++++ b/sage/configure.ac
+@@ -89,7 +89,6 @@
+ SAGE_SPKG_INST="$SAGE_ROOT/local/var/lib/sage/installed"
+ 
+ #---------------------------------------------------------
+-AX_CHECK_ROOT([AC_MSG_ERROR([You cannot build Sage as root, switch to an unpriviledged user])], [])
+ 
+ # Check whether we are on a supported platform
+ AC_CANONICAL_BUILD()
diff --git a/debian/patches/series b/debian/patches/series
index 0441790..57a25ca 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -28,6 +28,7 @@ version-planarity-3.patch
 
 # due to Debian's inherent differences with upstream;
 # we're unlikely to forward these upstream
+debian-fakeroot.patch
 debian-paths.patch
 debian-maxima.patch
 debian-singular.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list