<div dir="ltr">Graham, without setting `USE_SYSTEM_PATCHELF=1`, I believe the Makefiles will still attempt to download and install `patchelf`. `USE_SYSTEM_*` variables are used to tell the Makefile system to not build dependencies automatically, and so since `USE_SYSTEM_PATCHELF=0` is now the default with this patch, `STAGE1_DEPS` will have `patchelf` appended to it, thereby resulting in the buildsystem downloading and compiling `patchelf`, which is no good.<div><br></div><div>It is better to change the patch to declare to the Makefile system to use the system `patchelf`, (by setting `USE_SYSTEM_PATCHELF=1`) but then keeping the rest of your changes so as to make the Makefile system think that it has patchelf, then not install it, but not need to use it.</div><div>-E</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 1:56 PM, Graham Inggs <span dir="ltr"><<a href="mailto:ginggs@debian.org" target="_blank">ginggs@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Source: julia<br>
Version: 0.3.11-1<br>
Tags: patch<br>
<br>
Hi Maintainer<br>
<br>
Patchelf is buggy on ARM and PPC architectures.<br>
<br>
Julia's Makefile contains the following comment at around line 282:<br>
<br>
# Update RPATH entries and JL_SYSTEM_IMAGE_PATH if<br>
$(private_libdir_rel) != $(build_private_libdir_rel)<br>
<br>
The attached patches prevent patchelf from being downloaded, set<br>
build_private_libdir and build_libdir to use the multiarch lib<br>
directories so that patchelf does not get run, and lastly, remove<br>
patchelf from julia's build-depends.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Graham<br>
</font></span><br>_______________________________________________<br>
Pkg-julia-devel mailing list<br>
<a href="mailto:Pkg-julia-devel@lists.alioth.debian.org">Pkg-julia-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-julia-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-julia-devel</a><br></blockquote></div><br></div>