diff options
author | Jordan GALBY <jordan.galby@cea.fr> | 2023-10-26 12:06:40 +0200 |
---|---|---|
committer | Bernhard Kaindl <bernhardkaindl7@gmail.com> | 2024-08-07 13:34:07 +0200 |
commit | 5f3f968a1f523e77610370e81893488eccd7b60c (patch) | |
tree | 6de156c6dfa2e858fa298f6c4f0ece51efa53385 /var | |
parent | 652de07d8c5569b0be59206c8ee9a3866a6e8705 (diff) | |
download | spack-5f3f968a1f523e77610370e81893488eccd7b60c.tar.gz spack-5f3f968a1f523e77610370e81893488eccd7b60c.tar.bz2 spack-5f3f968a1f523e77610370e81893488eccd7b60c.tar.xz spack-5f3f968a1f523e77610370e81893488eccd7b60c.zip |
xmlto: Fix missing flex build dep
Fixes error:
```txt
3 errors found in build log:
61 ==> xmlto: Executing phase: 'build'
62 ==> [2023-10-26-09:48:35.425903] 'make' '-j16' 'V=1'
63 make all-am
64 make[1]: Entering directory '/tmp/root/spack-stage/spack-stage-xmlto-0.0.28-huuygrp4qasytrezg774yavnnaxzgp2e/spack-src'
65 /bin/sh ./ylwrap xmlif/xmlif.l .c xmlif/xmlif.c -- /bin/sh /tmp/root/spack-stage/spack-stage-xmlto-0.0.28-huuygrp4qasytrezg774yavnnaxzgp2e/spack-src/missing flex
66 /tmp/root/spack-stage/spack-stage-xmlto-0.0.28-huuygrp4qasytrezg774yavnnaxzgp2e/spack-src/missing: line 81: flex: command not found
>> 67 WARNING: 'flex' is missing on your system.
68 You should only need it if you modified a '.l' file.
69 You may want to install the Fast Lexical Analyzer package:
70 <http://flex.sourceforge.net/>
>> 71 make[1]: *** [Makefile:757: xmlif/xmlif.c] Error 127
72 make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-xmlto-0.0.28-huuygrp4qasytrezg774yavnnaxzgp2e/spack-src'
>> 73 make: *** [Makefile:584: all] Error 2
```
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/xmlto/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/xmlto/package.py b/var/spack/repos/builtin/packages/xmlto/package.py index dec27de960..ea16a58550 100644 --- a/var/spack/repos/builtin/packages/xmlto/package.py +++ b/var/spack/repos/builtin/packages/xmlto/package.py @@ -22,6 +22,7 @@ class Xmlto(AutotoolsPackage): depends_on("c", type="build") # generated # FIXME: missing a lot of dependencies + depends_on("flex", type=("build")) depends_on("docbook-xsl", type=("build", "run")) depends_on("libxml2", type=("build", "run")) # xmllint depends_on("libxslt", type=("build", "run")) # xsltconf |