Hi, Loris Bennett <loris.benn...@fu-berlin.de> writes:
> Hi, > > I am trying to install an RPM with EB and am getting the following > error: > > path / in package openbugs-3.2.3-1.x86_64 is not relocatable > > What am I missing? I have had another look at this. The full error is == 2020-12-01 16:22:41,217 build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/software/EasyBuild/4.3.1/lib/python2.7/site-packages/easybuild/base/exceptions.py:124 in __init__): cmd "rpm -i --dbpath /trinity/shared/easybuild/software/OpenBUGS/3.2.3/rpm --relocate /=/trinity/shared/easybuild/software/OpenBUGS/3.2.3 --nopre --nopost --nodeps --ignorearch /trinity/shared/easybuild/build/OpenBUGS/3.2.3/system-system/x86_64/openbugs-3.2.3-1.x86_64.rpm" exited with exit code 1 and output: path / in package openbugs-3.2.3-1.x86_64 is not relocatable The rebuilding of the RPM was successful, but the package is not relocatable: [build@admin easyconfigs]$ rpm -qpi /trinity/shared/easybuild/build/OpenBUGS/3.2.3/system-system/x86_64/openbugs-3.2.3-1.x86_64.rpm | grep -i relocations Relocations : (not relocatable) In easybuild/easyblocks/generic/rpm.py there is the following comment: # replace whathever prefix is set with '/' but it seems that my version of 'rpm', which is 4.11.3 on CentOS 7.9.2009, doesn't accept '/' as being a valid path which can be replaced via relocation. Can anyone comment on my analysis? Cheers, Loris -- Dr. Loris Bennett (Hr./Mr.) ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de