Bug#849150: sagemath: FTBFS on arm64 and ppc64el: cannot allocate memory building docs

Ximin Luo infinity0 at debian.org
Sun Dec 25 12:20:00 UTC 2016


Hi, this does not look like a simple out-of-memory, but a bug involving libgomp. A quick Google search of the error message shows that there was some issue involving libgomp, dlopen and GCC years ago, but it's unclear if this is issue here is related.

The error occurs right when the docbuild starts, before it actually attempts to build anything, so my guess is that it would also occur when starting the normal Sage CLI. So I don't think we should skip the docbuild and release the build products as-is.

Given everything else that we need to do, it's unlikely that we'll have time to fix this in a timely manner, unless we get more volunteers on the team. Patches welcome.

X

As reference for other readers, the build logs are here:

https://buildd.debian.org/status/fetch.php?pkg=sagemath&arch=arm64&ver=7.4-4&stamp=1482515204&raw=1
https://buildd.debian.org/status/fetch.php?pkg=sagemath&arch=ppc64el&ver=7.4-4&stamp=1482513811&raw=1

On Thu, 22 Dec 2016 18:50:03 -0500 "Aaron M. Ucko" <ucko at debian.org> wrote:
> Source: sagemath
> Version: 7.4-3
> Severity: important
> Justification: fails to build from source
> 
> The automatic builds of sagemath for arm64 and ppc64el both ran out of
> memory when trying to build documentation:
> 
>   [dochtml] ImportError: /usr/lib/«ARCH»/libgomp.so.1: cannot allocate memory in static TLS block
>   Makefile:1059: recipe for target 'doc-html' failed
>   make[4]: *** [doc-html] Error 1
> 
> Could you please take a look?  Since this documentation presumably
> winds up in an architecture-independent binary package, perhaps you
> can arrange for binary-only builds to skip building it.
> 
> Thanks!
> 
> -- 
> Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
> http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
> 
> 

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the debian-science-maintainers mailing list