diff options
author | Mosè Giordano <giordano@users.noreply.github.com> | 2023-02-07 13:27:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 05:27:21 -0800 |
commit | 7fe2039b0144ff38850f1a34069bd61bec4db74b (patch) | |
tree | 1b296bda0ace0bcf21041c6990697ddcc65ca31e /var | |
parent | 25cb55ccd97d652d25e38a9a3aff1a456eee95b3 (diff) | |
download | spack-7fe2039b0144ff38850f1a34069bd61bec4db74b.tar.gz spack-7fe2039b0144ff38850f1a34069bd61bec4db74b.tar.bz2 spack-7fe2039b0144ff38850f1a34069bd61bec4db74b.tar.xz spack-7fe2039b0144ff38850f1a34069bd61bec4db74b.zip |
texinfo: Require `ncurses` (#35356)
I don't know if this is new in version 7.0, but to build `info`, which is a required executable at the end of the recipe, it is necessary to have a terminal library, otherwise you get
```
[...]
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lterminfo... no
configure: WARNING: info needs a terminal library, one of: tinfo ncurses curses termlib termcap terminfo
[...]
configure: WARNING: Could not find a terminal library among tinfo ncurses curses termlib termcap terminfo
configure: WARNING: The programs from `info' directory will not be built.
```
then compilation runs, `info` is not built and installation fails according to Spack because the required executable is missing.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/texinfo/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/texinfo/package.py b/var/spack/repos/builtin/packages/texinfo/package.py index c6e7152b9e..b111c628eb 100644 --- a/var/spack/repos/builtin/packages/texinfo/package.py +++ b/var/spack/repos/builtin/packages/texinfo/package.py @@ -34,6 +34,7 @@ class Texinfo(AutotoolsPackage, GNUMirrorPackage): version("5.0", sha256="2c579345a39a2a0bb4b8c28533f0b61356504a202da6a25d17d4d866af7f5803") depends_on("perl") + depends_on("ncurses") depends_on("gettext") # sanity check |