[Pkg-julia-devel] Bug#816980: julia: FTBFS when built with dpkg-buildpackage -A (signal (11): Segmentation fault)
Santiago Vila
sanvila at debian.org
Sun Mar 6 23:27:10 UTC 2016
Package: src:julia
Version: 0.4.3-1
User: sanvila at debian.org
Usertags: binary-indep
Severity: important
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and 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.7 LLVM_CONFIG=/usr/bin/llvm-config-3.7 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.7 LLVM_CONFIG=/usr/bin/llvm-config-3.7 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'
[... snipped ...]
signal (11): Segmentation fault
Worker 3 terminated.
From worker 3: [1m*[0m [31mlinalg/qr [0mERROR (unhandled task failure): readcb: connection reset by peer (ECONNRESET)
signal (11): Segmentation fault
Worker 4 terminated.
From worker 4: [1m*[0m [31mlinalg/dense [0mERROR (unhandled task failure): readcb: connection reset by peer (ECONNRESET)
signal (11): Segmentation fault
Worker 5 terminated.
From worker 5: [1m*[0m [31mlinalg/matmul [0mERROR (unhandled task failure): readcb: connection reset by peer (ECONNRESET)
signal (11): Segmentation fault
Worker 7 terminated.
From worker 7: [1m*[0m [31mlinalg/special [0mERROR (unhandled task failure): EOFError: read end of file
signal (11): Segmentation fault
Worker 6 terminated.
ERROR (unhandled task failure): readcb: connection reset by peer (ECONNRESET)
From worker 6: [1m*[0m [31mlinalg/schur [0m
signal (11): Segmentation fault
Worker 8 terminated.
ERROR (unhandled task failure): EOFError: read end of file
in read at ./stream.jl:911
in message_handler_loop at ./multi.jl:868
signal (15): Terminated
pause at /lib/x86_64-linux-gnu/libpthread.so.0 (unknown line)
wait at ./task.jl:364
task_done_hook at ./task.jl:174
unknown function (ip: 0x7f1738283960)
make[2]: *** wait: No child processes. Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: *** wait: No child processes. Stop.
make[1]: *** wait: No child processes. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
make: *** wait: No child processes. Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
--------------------------------------------------------------------------------
Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:
* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.
* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").
Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.
Thanks.
More information about the Pkg-julia-devel
mailing list