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
```
This commit is contained in:
committed by
Bernhard Kaindl
parent
652de07d8c
commit
5f3f968a1f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user