Skip to content

Commit 2e939a6

Browse files
committed
Use self.log.info instead of self.log.debug
Add resolved and install dir paths to log message
1 parent 8c89fb9 commit 2e939a6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

easybuild/framework/easyblock.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3397,9 +3397,10 @@ def sanity_check_rpath(self, rpath_dirs=None, check_readelf_rpath=True):
33973397
for path in [os.path.join(dirpath, x) for x in os.listdir(dirpath)]:
33983398
# skip the check for any symlinks that resolve to outside the installation directory
33993399
if not is_parent_path(self.installdir, path):
3400-
msg = (f"Skipping RPATH sanity check for {path}, since its absolute path resolves to outside "
3401-
"the installation directory")
3402-
self.log.debug(msg)
3400+
realpath = os.path.realpath(path)
3401+
msg = (f"Skipping RPATH sanity check for {path}, since its absolute path {realpath} resolves to"
3402+
f" outside the installation directory {self.installdir}")
3403+
self.log.info(msg)
34033404
continue
34043405

34053406
self.log.debug(f"Sanity checking RPATH for {path}")

0 commit comments

Comments
 (0)