[Pkg-julia-devel] Bug#799099: julia: please drop build-depends on patchelf

Graham Inggs ginggs at debian.org
Tue Sep 15 20:56:31 UTC 2015


Source: julia
Version: 0.3.11-1
Tags: patch

Hi Maintainer

Patchelf is buggy on ARM and PPC architectures.

Julia's Makefile contains the following comment at around line 282:

# Update RPATH entries and JL_SYSTEM_IMAGE_PATH if
$(private_libdir_rel) != $(build_private_libdir_rel)

The attached patches prevent patchelf from being downloaded, set
build_private_libdir and build_libdir to use the multiarch lib
directories so that patchelf does not get run, and lastly, remove
patchelf from julia's build-depends.

Regards
Graham
-------------- next part --------------
diff -Nru julia-0.3.11/debian/control julia-0.3.11/debian/control
--- julia-0.3.11/debian/control	2015-05-25 14:51:48.000000000 +0200
+++ julia-0.3.11/debian/control	2015-09-15 21:26:00.000000000 +0200
@@ -6,7 +6,7 @@
  libdouble-conversion-dev, libsuitesparse-dev (>= 1:4.2.1), libgmp-dev,
  libunwind8-dev, libfftw3-dev, libpcre3-dev, libarpack2-dev, libmpfr-dev,
  libopenblas-dev (>= 0.2.10-1~), libopenlibm-dev, libopenspecfun-dev (>= 0.4~),
- patchelf, python-sphinx, python-sphinx-rtd-theme, libjs-mathjax
+ python-sphinx, python-sphinx-rtd-theme, libjs-mathjax
 Standards-Version: 3.9.6
 Section: science
 Homepage: http://julialang.org
diff -Nru julia-0.3.11/debian/rules julia-0.3.11/debian/rules
--- julia-0.3.11/debian/rules	2015-05-25 15:47:36.000000000 +0200
+++ julia-0.3.11/debian/rules	2015-09-15 22:07:10.000000000 +0200
@@ -12,7 +12,7 @@
 	LLVM_CONFIG=/usr/bin/llvm-config-$(LLVM_VER) VERBOSE=1			\
 	LIBBLAS=-lopenblas LIBBLASNAME=libopenblas				\
 	LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas				\
-	MULTIARCH_INSTALL=1 sysconfdir=/etc prefix=/usr DESTDIR=debian/tmp/
+	MULTIARCH_INSTALL=1 sysconfdir=/etc prefix=/usr DESTDIR=debian/tmp/ USE_SYSTEM_PATCHELF=1
 
 ifeq ($(DEB_HOST_ARCH),amd64)
 COMMON_FLAGS += MARCH=x86-64
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upstream-use-system-patchelf.patch
Type: text/x-diff
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-julia-devel/attachments/20150915/6eaefcd4/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-patchelf-redundant.patch
Type: text/x-diff
Size: 588 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-julia-devel/attachments/20150915/6eaefcd4/attachment-0001.patch>


More information about the Pkg-julia-devel mailing list