Hi Loris, I suspect it's due to the './' in front of your files. You should add the path relative to the installation dir. If the file is in the installation dir, just remove the './'. If the file is in lib/ then add 'lib/' in front of the file.
Does this help? Sam On Wed, Jan 22, 2020 at 4:12 PM Loris Bennett <[email protected]> wrote: > Hi, > > I am trying to build a package, but am failing at the sanity check > stage: > > == 2020-01-22 16:03:20,211 build_log.py:169 ERROR EasyBuild crashed with > an error (at > easybuild/software/EasyBuild/4.1.1/lib/python2.7/site-packages/easybuild/base/exceptions.py:124 > in __init__): Absolute path > /trinity/shared/easybuild/software/voreen/5.1.1-foss-2018b-Python-3.6.6 > passed to update_paths which only expects relative paths. (at > easybuild/software/EasyBuild/4.1.1/lib/python2.7/site-packages/easybuild/tools/module_generator.py:1325 > in update_paths) > == 2020-01-22 16:03:20,211 easyblock.py:2557 WARNING Sanity check: > loading fake module failed: 'Absolute path > /trinity/shared/easybuild/software/voreen/5.1.1-foss-2018b-Python-3.6.6 > passed to update_paths which only expects relative paths.' > == 2020-01-22 16:03:20,211 build_log.py:169 ERROR EasyBuild crashed with > an error (at > easybuild/software/EasyBuild/4.1.1/lib/python2.7/site-packages/easybuild/base/exceptions.py:124 > in __init__): Sanity check failed: loading fake module failed: 'Absolute > path > /trinity/shared/easybuild/software/voreen/5.1.1-foss-2018b-Python-3.6.6 > passed to update_paths which only expects relative paths.' (at > easybuild/software/EasyBuild/4.1.1/lib/python2.7/site-packages/easybuild/framework/easyblock.py:2596 > in _sanity_check_step) > == 2020-01-22 16:03:20,212 easyblock.py:3109 WARNING build failed (first > 300 chars): Sanity check failed: loading fake module failed: 'Absolute path > /trinity/shared/easybuild/software/voreen/5.1.1-foss-2018b-Python-3.6.6 > passed to update_paths which only expects relative paths.' > > In my EC I have: > > sanity_check_paths = { > 'files': ['./voreentool', './libvoreen_core.so'], > 'dirs': ['resource'], > } > > What am I doing wrong and how can I rerun EB skipping everything before > the sanity check stage? > > Cheers, > > Loris > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] >

