easybuild icon indicating copy to clipboard operation
easybuild copied to clipboard

patch is a hidden dependency of easybuild (when it's actually needed)

Open egouden opened this issue 12 years ago • 2 comments

Hi,

I followed the instructions on the wiki then I tried :

eb scipy-0.11.0-goalf-1.1.0-no-OFED-Python-2.7.3.eb --robot

I got an error : /bin/bash: patch: command not found

patch is indeed not installed on my system (centos 6.4).

egouden avatar Nov 14 '13 15:11 egouden

@egouden: Sorry we didn't get back to you on this...

EasyBuild indeed has a hidden dependency on the patch command, but only when it's actually needed. For some software packages, we include our own patch files to fix installation issues, and we need to be able to apply the patch.

There might be a pure Python way to do this though, I would have to look into it.

boegel avatar Dec 12 '13 13:12 boegel

There is a pure Python implementation of patch, see https://code.google.com/p/python-patch/. License is MIT, so we could include it with EasyBuild to avoids adding dependencies and complicating the EasyBuild installation...

boegel avatar Dec 26 '13 17:12 boegel