[Debian-science-sagemath] Sagemath Build-Depends backported - unfortunately build error (Was: Help needed to backport ipywidgets ... (Was: Backporting sagemath))

Andreas Tille tille at debian.org
Wed Apr 12 06:47:24 UTC 2017


Hi Tobias,

On Tue, Apr 11, 2017 at 08:20:27PM +0100, Tobias Hansen wrote:
> how are you building the package, with sbuild?

I'm using pbuilder.
 
> It looks like the stuff in debian/pruner did not find fplll and sage is
> trying to build its own version. If you change the distribution in the
> changelog to something else than UNRELEASED it will abort earlier, after
> outputting "XXX will not come from Debian". (The XXX should be 0.)

I agree that I was using UNRELEASED in my attempt yesterday.  If I try
jessie-backports as target distribution I get:

...
cd sage && python ../debian/pruner/pruner.py || false
libfplll will not come from debian!
159 system packages will be used
...
 
> The check for fplll is in debian/pruner/configure.ac:
> 
> AC_LANG_PUSH([C++])
> AC_CHECK_HEADER(fplll/fplll.h, HAS_FPLLL="True", HAS_FPLLL="False")
> AC_LANG_POP([C++])
> 
> That sage tries to build its own packages can also happen if you are
> building without the Debian patches applied for some reason.

I have no idea why the patches should not be applied when using
pbuilder.
 
> Anyway, it would be good to see more of the log.

I've attached both gziped logs (hope these will make it through list
filters).  In any case anybody should be able to reproduce the problem
once the latest Build-Depends are accepted Jessie backports.

Kind regards

     Andreas.

> On 04/11/2017 07:56 PM, Andreas Tille wrote:
> > Hi again,
> > 
> > On Tue, Apr 11, 2017 at 05:18:31PM +0200, Andreas Tille wrote:
> >> Hope that this was the last stumbling stone ...
> > 
> > Unfortunately not.
> > 
> > 
> > ...
> > make[5]: Entering directory '/build/sagemath-7.4/sage/build/make'
> > make[5]: '/build/sagemath-7.4/sage/local/var/lib/sage/installed/mpc-1.0.3.p0' is up to date.
> > make[5]: Leaving directory '/build/sagemath-7.4/sage/build/make'
> > make[4]: Leaving directory '/build/sagemath-7.4/sage/build/make'
> > make -j1 doc all-sage
> > make[4]: Entering directory '/build/sagemath-7.4/sage/build/make'
> > sage-logger -p 'sage-spkg libfplll-5.0.3rc0' '/build/sagemath-7.4/sage/logs/pkgs/libfplll-5.0.3rc0.log'
> > [libfplll-5.0.3rc0] Found local metadata for libfplll-5.0.3rc0
> > [libfplll-5.0.3rc0] Attempting to download package fplll-5.0.3rc0.tar.gz from mirrors
> > [libfplll-5.0.3rc0] Downloading the Sage mirror list
> > [libfplll-5.0.3rc0] CRITICAL [mirror_list|_refresh:182]: Downloading the mirror list failed, using cached version
> > [libfplll-5.0.3rc0] http://sagepad.org/spkg/upstream/libfplll/fplll-5.0.3rc0.tar.gz
> > [libfplll-5.0.3rc0] [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
> > [libfplll-5.0.3rc0] ERROR [transfer|run:135]: [Errno socket error] [Errno -2] Name or service not known
> > [libfplll-5.0.3rc0] Traceback (most recent call last):
> > [libfplll-5.0.3rc0]   File "/build/sagemath-7.4/sage/build/bin/sage-download-file", line 28, in <module>
> > [libfplll-5.0.3rc0]     run_safe()
> > [libfplll-5.0.3rc0]   File "/build/sagemath-7.4/sage/build/bin/../sage_bootstrap/download/cmdline.py", line 118, in run_safe
> > [libfplll-5.0.3rc0]     run()
> > [libfplll-5.0.3rc0]   File "/build/sagemath-7.4/sage/build/bin/../sage_bootstrap/download/cmdline.py", line 100, in run
> > [libfplll-5.0.3rc0]     app.download_tarball(args.url_or_tarball, args.destination)
> > [libfplll-5.0.3rc0]   File "/build/sagemath-7.4/sage/build/bin/../sage_bootstrap/download/app.py", line 43, in download_tarball
> > [libfplll-5.0.3rc0]     tarball.download()
> > [libfplll-5.0.3rc0]   File "/build/sagemath-7.4/sage/build/bin/../sage_bootstrap/tarball.py", line 161, in download
> > [libfplll-5.0.3rc0]     raise FileNotMirroredError('tarball does not exist on mirror network')
> > [libfplll-5.0.3rc0] sage_bootstrap.tarball.FileNotMirroredError: tarball does not exist on mirror network
> > Makefile:1984: recipe for target '/build/sagemath-7.4/sage/local/var/lib/sage/installed/libfplll-5.0.3rc0' failed
> > make[4]: *** [/build/sagemath-7.4/sage/local/var/lib/sage/installed/libfplll-5.0.3rc0] Error 1
> > make[4]: Leaving directory '/build/sagemath-7.4/sage/build/make'
> > Makefile:882: recipe for target 'all' failed
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory '/build/sagemath-7.4/sage/build/make'
> > 
> > real    0m0.217s
> > user    0m0.148s
> > sys     0m0.024s
> > ***************************************************************
> > Error building Sage.
> > 
> > The following package(s) may have failed to build (not necessarily
> > during this run of 'make all'):
> > 
> > The build directory may contain configuration files and other potentially
> > helpful information. WARNING: if you now run 'make' again, the build
> > directory will, by default, be deleted. Set the environment variable
> > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
> > 
> > Makefile:16: recipe for target 'all' failed
> > make[2]: *** [all] Error 1
> > ...
> > 
> > 
> > I was suspecting a wrong version of libfplll-dev but it should fit:
> > 
> > $ grep "^Setting up .*libfplll-dev" sagemath_7.4-9~bpo8+1_amd64.build 
> > Setting up libfplll-dev:amd64 (5.0.3-1~bpo8+1) ...
> > 
> > 
> > Any idea what might be wrong now?
> > 
> > Kind regards
> > 
> >        Andreas.
> > 
> 
> 

-- 
http://fam-tille.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sagemath_7.4-9~bpo8+1_amd64.build.UNRELEASED.gz
Type: application/gzip
Size: 47409 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-sagemath/attachments/20170412/7a737cd7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sagemath_7.4-9~bpo8+1_amd64.build.jessie-backports.gz
Type: application/gzip
Size: 39657 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-sagemath/attachments/20170412/7a737cd7/attachment-0003.bin>


More information about the Debian-science-sagemath mailing list