Skip to content

Spack build system is broken #2466

@giordano

Description

@giordano

Whenever I run a benchmark using Spack as build system, installation of packages (if not already present in the environment) fails with

==> Error: Exception occurred in writer daemon!
Traceback (most recent call last):
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 756, in _writer_daemon
    with keyboard_input(stdin) as kb:
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 239, in __enter__
    if not self._is_background():
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 164, in _is_background
    return _is_background_tty(self.stream)
  File "/home/mose/repo/spack/lib/spack/llnl/util/tty/log.py", line 67, in _is_background_tty
    os.getpgrp() != os.tcgetpgrp(fd)
--- rfm_SombreroBenchmark_build.err --- 
------------------------------------------------------------------------------

git bisect points to c466fef from #2383, which looks relevant.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions