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.
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. -E On Tue, Sep 15, 2015 at 1:56 PM, Graham Inggs <gin...@debian.org> wrote: > 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 > > _______________________________________________ > Pkg-julia-devel mailing list > pkg-julia-de...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-julia-devel >