From d6663f45843e36e2b0162ff5fe65c065471357e3 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 12 Jun 2025 11:12:27 +0200 Subject: [PATCH] Fix start_dir for components of Bundle easyblock --- easybuild/easyblocks/generic/bundle.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/easybuild/easyblocks/generic/bundle.py b/easybuild/easyblocks/generic/bundle.py index ddf53af8a2f..69c1e660ea8 100644 --- a/easybuild/easyblocks/generic/bundle.py +++ b/easybuild/easyblocks/generic/bundle.py @@ -267,9 +267,6 @@ def install_step(self): # make sure we can build in parallel comp.set_parallel() - # figure out correct start directory - comp.guess_start_dir() - # need to run fetch_patches to ensure per-component patches are applied comp.fetch_patches() @@ -299,8 +296,8 @@ def install_step(self): if not found: raise EasyBuildError("Failed to find spec for source %s for component %s", comp_src_fn, comp.name) - # location of first unpacked source is used to determine where to apply patch(es) - comp.src[-1]['finalpath'] = comp.cfg['start_dir'] + # figure out correct start directory + comp.guess_start_dir() # check if sanity checks are enabled for the component if self.cfg['sanity_check_all_components'] or comp.cfg['name'] in self.cfg['sanity_check_components']: