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

Tobias Hansen thansen at debian.org
Mon Jun 8 21:10:36 BST 2020


Hi,

please try with the latest commit.

Best,
Tobias

On 6/8/20 9:17 PM, John Scott wrote:
> Nope, I haven't been able to get it figured out. I've realized that configure 
> isn't invoked by debhelper directly but instead by
> run_build = \
> MAKE='make -j$(NUMJOBS)' PREREQ_OPTIONS="--prefix=$(SAGE_LOCAL) --enable-build-
> as-root" $(MAKE) --directory=sage
>
> since it seems PREREQ_OPTIONS gets passed on to configure via Sage's Makefile:
>> # If configure was run before, rerun it with the old arguments.
>> # Otherwise, run configure with argument $PREREQ_OPTIONS.
>> build/make/Makefile: configure build/make/deps $(SPKG_COLLECT_FILES)
>> $(CONFIG_FILES:%=%.in) rm -f config.log
>> mkdir -p logs/pkgs
>> ln -s logs/pkgs/config.log config.log
>> @if [ -x config.status ]; then \
>> ./config.status --recheck && ./config.status; \
>> else \
>> ./configure $$PREREQ_OPTIONS; \
>> fi
> This doesn't help the error though and it also blocks building in sbuild. I 
> don't know why the variable doesn't get passed on. Varying combinations of 
> switching $$ for $(...) and $, and moving variables before and after the 
> invocation of Make didn't appear to help.
>
> _______________________________________________
> 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/20200608/372afddc/attachment.html>


More information about the Debian-science-sagemath mailing list