bugfix: Correct source of PID for -ddd installation outputs (#25596)
This commit is contained in:
parent
80713e234c
commit
99076660d4
@ -1163,7 +1163,7 @@ def _install_task(self, task):
|
||||
except spack.build_environment.StopPhase as e:
|
||||
# A StopPhase exception means that do_install was asked to
|
||||
# stop early from clients, and is not an error at this point
|
||||
pid = '{0}: '.format(pkg.pid) if tty.show_pid() else ''
|
||||
pid = '{0}: '.format(self.pid) if tty.show_pid() else ''
|
||||
tty.debug('{0}{1}'.format(pid, str(e)))
|
||||
tty.debug('Package stage directory: {0}' .format(pkg.stage.source_path))
|
||||
|
||||
@ -1715,7 +1715,7 @@ def __init__(self, pkg, install_args):
|
||||
self.filter_fn = spack.util.path.padding_filter if filter_padding else None
|
||||
|
||||
# info/debug information
|
||||
pid = '{0}: '.format(pkg.pid) if tty.show_pid() else ''
|
||||
pid = '{0}: '.format(os.getpid()) if tty.show_pid() else ''
|
||||
self.pre = '{0}{1}:'.format(pid, pkg.name)
|
||||
self.pkg_id = package_id(pkg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user