[Pkg-julia-devel] Bug#848506: Bug#848506: julia: FTBFS (Memory limit reached : 687558656 > 524288000)

Peter Colberg peter at colberg.org
Tue Dec 20 20:26:03 UTC 2016


Control: tags -1 pending

On Sat, Dec 17, 2016 at 07:11:55PM +0000, Santiago Vila wrote:
>  debian/rules build-indep
> dh build-indep --parallel --with=sphinxdoc
>    dh_testdir -i -O--parallel
>    dh_update_autotools_config -i -O--parallel
>    dh_auto_configure -i -O--parallel
>    debian/rules override_dh_auto_build
> [...]
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> env JULIA_CPU_CORES=1 JULIA_TEST_MAXRSS_MB=500 HOME=/tmp make -C test ...

This issue is due to my broken logic in debian/rules:

# Set number of parallel workers for tests
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
TESTS_ENV += JULIA_CPU_CORES=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
else ifeq (,$(filter parallel,$(DEB_BUILD_OPTIONS)))
TESTS_ENV += JULIA_CPU_CORES=2
endif
# Restart workers exceeding maximum resident memory size (requires JULIA_CPU_CORES >= 2)
TESTS_ENV += JULIA_TEST_MAXRSS_MB=500

I assumed that the number of processes is ≥ 2 for parallel builds, but
this is no longer the case since debhelper 10 always passes "parallel".
I will upload a new version soon that ensures JULIA_CPU_CORES ≥ 2.

By the way, Graham, can we increase debhelper compat level to 10?

Regards,
Peter



More information about the Pkg-julia-devel mailing list