Package: src:julia Version: 0.4.7-1 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] 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 make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build -- USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_BLAS64=0 USE_SYSTEM_FFTW=1 USE_SYSTEM_GMP=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_OPENSPECFUN=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_LLVM_SHLIB=1 USE_SYSTEM_LLVM=1 LLVM_VER=3.8 LLVM_CONFIG=/usr/bin/llvm-config-3.8 VERBOSE=1 NO_GIT=1 MULTIARCH_INSTALL=1 MULTIARCH=x86_64-linux-gnu sysconfdir=/etc prefix=/usr DESTDIR=debian/tmp/ MARCH=x86-64 USE_SYSTEM_OPENLIBM=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas make -j1 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_BLAS64=0 USE_SYSTEM_FFTW=1 USE_SYSTEM_GMP=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_OPENSPECFUN=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_LLVM_SHLIB=1 USE_SYSTEM_LLVM=1 LLVM_VER=3.8 LLVM_CONFIG=/usr/bin/llvm-config-3.8 VERBOSE=1 NO_GIT=1 MULTIARCH_INSTALL=1 MULTIARCH=x86_64-linux-gnu sysconfdir=/etc prefix=/usr DESTDIR=debian/tmp/ MARCH=x86-64 USE_SYSTEM_OPENLIBM=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas make[2]: Entering directory '/<<PKGBUILDDIR>>' Warning: git information unavailable; versioning information limited make[3]: Entering directory '/<<PKGBUILDDIR>>/deps' Warning: git information unavailable; versioning information limited [... snipped ...] writing output... [ 84%] stdlib/io-network writing output... [ 85%] stdlib/libc writing output... [ 87%] stdlib/libdl writing output... [ 88%] stdlib/linalg writing output... [ 89%] stdlib/math writing output... [ 90%] stdlib/numbers writing output... [ 92%] stdlib/parallel writing output... [ 93%] stdlib/pkg writing output... [ 94%] stdlib/profile writing output... [ 96%] stdlib/punctuation writing output... [ 97%] stdlib/sort writing output... [ 98%] stdlib/strings writing output... [100%] stdlib/test generating indices... genindex writing additional pages... search copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 29 warnings. Build finished. The HTML pages are in _build/html. make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc' make[1]: Leaving directory '/<<PKGBUILDDIR>>' 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 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_BLAS64=0 USE_SYSTEM_FFTW=1 USE_SYSTEM_GMP=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_OPENSPECFUN=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_LLVM_SHLIB=1 USE_SYSTEM_LLVM=1 LLVM_VER=3.8 LLVM_CONFIG=/usr/bin/llvm-config-3.8 VERBOSE=1 NO_GIT=1 MULTIARCH_INSTALL=1 MULTIARCH=x86_64-linux-gnu sysconfdir=/etc prefix=/usr DESTDIR=debian/tmp/ MARCH=x86-64 USE_SYSTEM_OPENLIBM=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas make[2]: Entering directory '/<<PKGBUILDDIR>>/test' Warning: git information unavailable; versioning information limited /<<PKGBUILDDIR>>/usr/bin/julia --check-bounds=yes --startup-file=no ./runtests.jl all [1m*[0m [31mlinalg/triangular [0m in 101.75 seconds, maxrss 656.12 MB ERROR: LoadError: Halting tests. Memory limit reached : 687992832 > 524288000 [inlined code] from /<<PKGBUILDDIR>>/test/runtests.jl:49 in anonymous at ./task.jl:447 [inlined code] from ./task.jl:422 in anonymous at /<<PKGBUILDDIR>>/test/runtests.jl:31 while loading /<<PKGBUILDDIR>>/test/runtests.jl, in expression starting on line 13 Makefile:9: recipe for target 'all' failed make[2]: *** [all] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/test' debian/rules:76: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:65: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- The failure happens always on the machines I use, which have different amounts of RAM from 2 GB to 6 GB, but the error message is always similar: ERROR: LoadError: Halting tests. Memory limit reached : 686624768 > 524288000 ERROR: LoadError: Halting tests. Memory limit reached : 687218688 > 524288000 ERROR: LoadError: Halting tests. Memory limit reached : 689262592 > 524288000 ERROR: LoadError: Halting tests. Memory limit reached : 687898624 > 524288000 ERROR: LoadError: Halting tests. Memory limit reached : 687566848 > 524288000 ERROR: LoadError: Halting tests. Memory limit reached : 689074176 > 524288000 This leads me to believe that this memory limit is some kind of internal memory (like the memory of LaTeX), and has nothing to do with the available RAM. (If you need a full build log, just say so, I'm not including it because the error happens always on different machines, not randomly). Thanks.