[Debian-science-sagemath] Sage 9.1 doesn't build as root

Tobias Hansen thansen at debian.org
Thu Jun 4 17:54:53 BST 2020


Hi,

thanks. Did the patch fix the problem?

At the moment I am stuck with the packaging of sagemath 9.1 because the doctests are leaking file descriptors, see [1].
I am hoping that someone can help with that.

Best,
Tobias

[1] https://alioth-lists.debian.net/pipermail/debian-science-sagemath/2020-May/001610.html

On 6/4/20 6:01 PM, John Scott wrote:
> Hi,
>
> I found this trying to build the Sage 9.1 package in qemu-debootstrap/qemu-
> user-static investigating the mipsel/mips64el issues. This made Sage 9.1 (but 
> not 9.0) upset:
> checking for root user... yes
> configure: error: You cannot build Sage as root, switch to an unprivileged 
> user.  (If building in a container, use --enable-build-as-root.)
>
> Policy says that builders need not support or honor Rules-Requires-Root, so a 
> fix would look something like this in debian/rules
> ifeq ($(DEB_RULES_REQUIRES_ROOT), binary-targets)
> override_dh_auto_configure:
>     dh_auto_configure -- --enable-build-as-root
> endif
>
> I was planning to send a patch but I couldn't get one to work. I hope others 
> better acquainted with dh and GNU Make's quirks may have better ideas.
>
> Sincerely,
> John Scott
>
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-sagemath


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-sagemath/attachments/20200604/87d1cb01/attachment.html>


More information about the Debian-science-sagemath mailing list