Skip to content

Commit 0e126d2

Browse files
committed
correct log message when get_linked_libs_raw returns None in EasyBlock.sanity_check_rpath
1 parent 768bd0a commit 0e126d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,9 @@ def sanity_check_rpath(self, rpath_dirs=None):
29982998
out = get_linked_libs_raw(path)
29992999

30003000
if out is None:
3001-
self.log.debug("%s is not dynamically linked, so skipping it in RPATH sanity check", path)
3001+
msg = "Failed to determine dynamically linked libraries for %s, "
3002+
msg += "so skipping it in RPATH sanity check"
3003+
self.log.debug(msg, path)
30023004
else:
30033005
# check whether all required libraries are found via 'ldd'
30043006
if not_found_regex.search(out):

0 commit comments

Comments
 (0)