We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Installation issue: bison (Spack v0.22)
### Steps to reproduce the issue

```console
$ spack spec -I bison %intel@2021.10.0 target=x86_64
Input spec
--------------------------------
 -   bison%intel@2021.10.0 arch=None-None-x86_64

Concretized
--------------------------------
 -   bison@3.8.2%intel@2021.10.0~color build_system=autotools arch=linux-rocky8-x86_64
[e]      ^glibc@2.28%gcc@8.5.0 build_system=autotools arch=linux-rocky8-x86_64
[+]      ^gmake@4.4.1%gcc@8.5.0~guile build_system=generic arch=linux-rocky8-x86_64
[+]          ^gcc-runtime@8.5.0%gcc@8.5.0 build_system=generic arch=linux-rocky8-x86_64
[+]      ^m4@1.4.19%intel@2021.10.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rocky8-x86_64
[+]          ^diffutils@3.10%intel@2021.10.0 build_system=autotools arch=linux-rocky8-x86_64
[+]          ^libsigsegv@2.14%intel@2021.10.0 build_system=autotools arch=linux-rocky8-x86_64
...
```

### Error message

<details><summary>Error message</summary>

<pre>
/tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/build-aux/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <https://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <https://www.gnu.org/software/make/>
make[2]: *** [Makefile:9582: /tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/doc/bison.info] Error 127
make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/spack-build'
make[1]: *** [Makefile:10377: all-recursive] Error 1
make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/spack-build'
make: *** [Makefile:3866: all] Error 2
</pre></details>


### Information on your system

* **Spack:** 0.22.0 (5fe93fee1eec46a0750bd340198bffcb92ff9eec)
* **Python:** 3.6.8
* **Platform:** linux-rocky8-skylake
* **Concretizer:** clingo


### Additional information

Adding a `depends_on("texinfo")` resolves the issue.

### General information

- [X] I have run `spack debug report` and reported the version of Spack/Python/Platform
- [X] I have run `spack maintainers <name-of-the-package>` and **@mentioned** any maintainers
- [X] I have uploaded the build log and environment files
- [X] I have searched the issues of this repo and believe this is not a duplicate

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `var/spack/repos/builtin/packages/bison/package.py`
Content:
```
1 # Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2 # Spack Project Developers. See the top-level COPYRIGHT file for details.
3 #
4 # SPDX-License-Identifier: (Apache-2.0 OR MIT)
5 
6 import re
7 import sys
8 
9 from spack.operating_systems.mac_os import macos_version
10 from spack.package import *
11 
12 
13 class Bison(AutotoolsPackage, GNUMirrorPackage):
14     """Bison is a general-purpose parser generator that converts
15     an annotated context-free grammar into a deterministic LR or
16     generalized LR (GLR) parser employing LALR(1) parser tables."""
17 
18     homepage = "https://www.gnu.org/software/bison/"
19     gnu_mirror_path = "bison/bison-3.6.4.tar.gz"
20 
21     tags = ["build-tools"]
22 
23     executables = ["^bison$"]
24 
25     license("GPL-3.0-or-later")
26 
27     version("3.8.2", sha256="06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb")
28     version("3.8.1", sha256="ce318a47196155fb7c26912b513102f3d0e14757c2e495e34608757b61339c5c")
29     version("3.8", sha256="d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458")
30     version("3.7.6", sha256="69dc0bb46ea8fc307d4ca1e0b61c8c355eb207d0b0c69f4f8462328e74d7b9ea")
31     version("3.7.5", sha256="151cb5f12716e3fe93a27a317cd44878329659f275b342779bfaef4a526bbf70")
32     version("3.7.4", sha256="fbabc7359ccd8b4b36d47bfe37ebbce44805c052526d5558b95eda125d1677e2")
33     version("3.7.3", sha256="104fe912f2212ab4e4a59df888a93b719a046ffc38d178e943f6c54b1f27b3c7")
34     version("3.7.2", sha256="415cd91044517bbfd8d135dea24e054501db238a5515edd9cdbb795ba3e82a84")
35     version("3.7.1", sha256="1dd952839cf0d5a8178c691eeae40dc48fa50d18dcce648b1ad9ae0195367d13")
36     version("3.7", sha256="492ad61202de893ca21a99b621d63fa5389da58804ad79d3f226b8d04b803998")
37     version("3.6.4", sha256="8183de64b5383f3634942c7b151bf2577f74273b2731574cdda8a8f3a0ab13e9")
38     version("3.6.3", sha256="4b4c4943931e811f1073006ce3d8ee022a02b11b501e9cbf4def3613b24a3e63")
39     version("3.6.2", sha256="e28ed3aad934de2d1df68be209ac0b454f7b6d3c3d6d01126e5cd2cbadba089a")
40     version("3.6.1", sha256="1120f8bfe2cc13e5e1e3f671dc41b1a535ca5a75a70d5b349c19da9d4389f74d")
41     version("3.6", sha256="f630645e330bde5847266cc5c8194f0135ced75cced150358d9abe572b95f81c")
42     version("3.5.3", sha256="34e201d963156618a0ea5bc87220f660a1e08403dd3c7c7903d4f38db3f40039")
43     version("3.5.2", sha256="b4dbb6dd080f4db7f344f16506502973ca2b15f15c7dbbd1c1c278a456d094fa")
44     version("3.5.1", sha256="4cef2322d96751be1c0d04f3e57adbb30e7fea83af9c00f98efa6e7509296f25")
45     version("3.5", sha256="0b36200b9868ee289b78cefd1199496b02b76899bbb7e84ff1c0733a991313d1")
46     version("3.4.2", sha256="ff3922af377d514eca302a6662d470e857bd1a591e96a2050500df5a9d59facf")
47     version("3.4.1", sha256="7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095")
48     version("3.3.2", sha256="0fda1d034185397430eb7b0c9e140fb37e02fbfc53b90252fa5575e382b6dbd1")
49     version("3.0.5", sha256="cd399d2bee33afa712bac4b1f4434e20379e9b4099bce47189e09a7675a2d566")
50     version("3.0.4", sha256="b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e")
51     version("2.7", sha256="19bbe7374fd602f7a6654c131c21a15aebdc06cc89493e8ff250cb7f9ed0a831")
52 
53     variant("color", default=False, description="Enable experimental colored output", when="@3.4:")
54 
55     # https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00008.html
56     patch("parallel.patch", when="@3.4.2")
57 
58     provides("yacc")
59 
60     depends_on("gettext", when="+color")
61     depends_on("m4@1.4.6:", type=("build", "run"))
62 
63     patch("pgi.patch", when="@3.0.4")
64     # The NVIDIA compilers do not currently support some GNU builtins.
65     # Detect this case and use the fallback path.
66     patch("nvhpc-3.6.patch", when="@3.6.0:3.6 %nvhpc")
67     patch("nvhpc-3.7.patch", when="@3.7.0:3.7 %nvhpc")
68 
69     conflicts("%intel@:14", when="@3.4.2:", msg="Intel 14 has immature C11 support")
70     conflicts(
71         "%oneapi",
72         msg=(
73             "bison is likely miscompiled by oneapi compilers, "
74             "see https://github.com/spack/spack/issues/37172"
75         ),
76     )
77 
78     if sys.platform == "darwin" and macos_version() >= Version("10.13"):
79         patch("secure_snprintf.patch", level=0, when="@3.0.4")
80 
81     build_directory = "spack-build"
82 
83     @classmethod
84     def determine_version(cls, exe):
85         output = Executable(exe)("--version", output=str, error=str)
86         match = re.search(r"bison \(GNU Bison\)\s+(\S+)", output)
87         return match.group(1) if match else None
88
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py
--- a/var/spack/repos/builtin/packages/bison/package.py
+++ b/var/spack/repos/builtin/packages/bison/package.py
@@ -59,6 +59,7 @@
 
     depends_on("gettext", when="+color")
     depends_on("m4@1.4.6:", type=("build", "run"))
+    depends_on("diffutils", type="build")
 
     patch("pgi.patch", when="@3.0.4")
     # The NVIDIA compilers do not currently support some GNU builtins.

{"golden_diff": "diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py\n--- a/var/spack/repos/builtin/packages/bison/package.py\n+++ b/var/spack/repos/builtin/packages/bison/package.py\n@@ -59,6 +59,7 @@\n \n     depends_on(\"gettext\", when=\"+color\")\n     depends_on(\"m4@1.4.6:\", type=(\"build\", \"run\"))\n+    depends_on(\"diffutils\", type=\"build\")\n \n     patch(\"pgi.patch\", when=\"@3.0.4\")\n     # The NVIDIA compilers do not currently support some GNU builtins.\n", "issue": "Installation issue: bison (Spack v0.22)\n### Steps to reproduce the issue\n\n```console\r\n$ spack spec -I bison %intel@2021.10.0 target=x86_64\r\nInput spec\r\n--------------------------------\r\n -   bison%intel@2021.10.0 arch=None-None-x86_64\r\n\r\nConcretized\r\n--------------------------------\r\n -   bison@3.8.2%intel@2021.10.0~color build_system=autotools arch=linux-rocky8-x86_64\r\n[e]      ^glibc@2.28%gcc@8.5.0 build_system=autotools arch=linux-rocky8-x86_64\r\n[+]      ^gmake@4.4.1%gcc@8.5.0~guile build_system=generic arch=linux-rocky8-x86_64\r\n[+]          ^gcc-runtime@8.5.0%gcc@8.5.0 build_system=generic arch=linux-rocky8-x86_64\r\n[+]      ^m4@1.4.19%intel@2021.10.0+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-rocky8-x86_64\r\n[+]          ^diffutils@3.10%intel@2021.10.0 build_system=autotools arch=linux-rocky8-x86_64\r\n[+]          ^libsigsegv@2.14%intel@2021.10.0 build_system=autotools arch=linux-rocky8-x86_64\r\n...\r\n```\n\n### Error message\n\n<details><summary>Error message</summary>\r\n\r\n<pre>\r\n/tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/build-aux/missing: line 81: makeinfo: command not found\r\nWARNING: 'makeinfo' is missing on your system.\r\n         You should only need it if you modified a '.texi' file, or\r\n         any other file indirectly affecting the aspect of the manual.\r\n         You might want to install the Texinfo package:\r\n         <https://www.gnu.org/software/texinfo/>\r\n         The spurious makeinfo call might also be the consequence of\r\n         using a buggy 'make' (AIX, DU, IRIX), in which case you might\r\n         want to install GNU make:\r\n         <https://www.gnu.org/software/make/>\r\nmake[2]: *** [Makefile:9582: /tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/doc/bison.info] Error 127\r\nmake[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/spack-build'\r\nmake[1]: *** [Makefile:10377: all-recursive] Error 1\r\nmake[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-bison-3.8.2-u3myxz7277cwla52laeaezqhoizaqmwa/spack-src/spack-build'\r\nmake: *** [Makefile:3866: all] Error 2\r\n</pre></details>\r\n\n\n### Information on your system\n\n* **Spack:** 0.22.0 (5fe93fee1eec46a0750bd340198bffcb92ff9eec)\r\n* **Python:** 3.6.8\r\n* **Platform:** linux-rocky8-skylake\r\n* **Concretizer:** clingo\r\n\n\n### Additional information\n\nAdding a `depends_on(\"texinfo\")` resolves the issue.\n\n### General information\n\n- [X] I have run `spack debug report` and reported the version of Spack/Python/Platform\n- [X] I have run `spack maintainers <name-of-the-package>` and **@mentioned** any maintainers\n- [X] I have uploaded the build log and environment files\n- [X] I have searched the issues of this repo and believe this is not a duplicate\n", "before_files": [{"content": "# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other\n# Spack Project Developers. See the top-level COPYRIGHT file for details.\n#\n# SPDX-License-Identifier: (Apache-2.0 OR MIT)\n\nimport re\nimport sys\n\nfrom spack.operating_systems.mac_os import macos_version\nfrom spack.package import *\n\n\nclass Bison(AutotoolsPackage, GNUMirrorPackage):\n    \"\"\"Bison is a general-purpose parser generator that converts\n    an annotated context-free grammar into a deterministic LR or\n    generalized LR (GLR) parser employing LALR(1) parser tables.\"\"\"\n\n    homepage = \"https://www.gnu.org/software/bison/\"\n    gnu_mirror_path = \"bison/bison-3.6.4.tar.gz\"\n\n    tags = [\"build-tools\"]\n\n    executables = [\"^bison$\"]\n\n    license(\"GPL-3.0-or-later\")\n\n    version(\"3.8.2\", sha256=\"06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb\")\n    version(\"3.8.1\", sha256=\"ce318a47196155fb7c26912b513102f3d0e14757c2e495e34608757b61339c5c\")\n    version(\"3.8\", sha256=\"d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458\")\n    version(\"3.7.6\", sha256=\"69dc0bb46ea8fc307d4ca1e0b61c8c355eb207d0b0c69f4f8462328e74d7b9ea\")\n    version(\"3.7.5\", sha256=\"151cb5f12716e3fe93a27a317cd44878329659f275b342779bfaef4a526bbf70\")\n    version(\"3.7.4\", sha256=\"fbabc7359ccd8b4b36d47bfe37ebbce44805c052526d5558b95eda125d1677e2\")\n    version(\"3.7.3\", sha256=\"104fe912f2212ab4e4a59df888a93b719a046ffc38d178e943f6c54b1f27b3c7\")\n    version(\"3.7.2\", sha256=\"415cd91044517bbfd8d135dea24e054501db238a5515edd9cdbb795ba3e82a84\")\n    version(\"3.7.1\", sha256=\"1dd952839cf0d5a8178c691eeae40dc48fa50d18dcce648b1ad9ae0195367d13\")\n    version(\"3.7\", sha256=\"492ad61202de893ca21a99b621d63fa5389da58804ad79d3f226b8d04b803998\")\n    version(\"3.6.4\", sha256=\"8183de64b5383f3634942c7b151bf2577f74273b2731574cdda8a8f3a0ab13e9\")\n    version(\"3.6.3\", sha256=\"4b4c4943931e811f1073006ce3d8ee022a02b11b501e9cbf4def3613b24a3e63\")\n    version(\"3.6.2\", sha256=\"e28ed3aad934de2d1df68be209ac0b454f7b6d3c3d6d01126e5cd2cbadba089a\")\n    version(\"3.6.1\", sha256=\"1120f8bfe2cc13e5e1e3f671dc41b1a535ca5a75a70d5b349c19da9d4389f74d\")\n    version(\"3.6\", sha256=\"f630645e330bde5847266cc5c8194f0135ced75cced150358d9abe572b95f81c\")\n    version(\"3.5.3\", sha256=\"34e201d963156618a0ea5bc87220f660a1e08403dd3c7c7903d4f38db3f40039\")\n    version(\"3.5.2\", sha256=\"b4dbb6dd080f4db7f344f16506502973ca2b15f15c7dbbd1c1c278a456d094fa\")\n    version(\"3.5.1\", sha256=\"4cef2322d96751be1c0d04f3e57adbb30e7fea83af9c00f98efa6e7509296f25\")\n    version(\"3.5\", sha256=\"0b36200b9868ee289b78cefd1199496b02b76899bbb7e84ff1c0733a991313d1\")\n    version(\"3.4.2\", sha256=\"ff3922af377d514eca302a6662d470e857bd1a591e96a2050500df5a9d59facf\")\n    version(\"3.4.1\", sha256=\"7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095\")\n    version(\"3.3.2\", sha256=\"0fda1d034185397430eb7b0c9e140fb37e02fbfc53b90252fa5575e382b6dbd1\")\n    version(\"3.0.5\", sha256=\"cd399d2bee33afa712bac4b1f4434e20379e9b4099bce47189e09a7675a2d566\")\n    version(\"3.0.4\", sha256=\"b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e\")\n    version(\"2.7\", sha256=\"19bbe7374fd602f7a6654c131c21a15aebdc06cc89493e8ff250cb7f9ed0a831\")\n\n    variant(\"color\", default=False, description=\"Enable experimental colored output\", when=\"@3.4:\")\n\n    # https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00008.html\n    patch(\"parallel.patch\", when=\"@3.4.2\")\n\n    provides(\"yacc\")\n\n    depends_on(\"gettext\", when=\"+color\")\n    depends_on(\"m4@1.4.6:\", type=(\"build\", \"run\"))\n\n    patch(\"pgi.patch\", when=\"@3.0.4\")\n    # The NVIDIA compilers do not currently support some GNU builtins.\n    # Detect this case and use the fallback path.\n    patch(\"nvhpc-3.6.patch\", when=\"@3.6.0:3.6 %nvhpc\")\n    patch(\"nvhpc-3.7.patch\", when=\"@3.7.0:3.7 %nvhpc\")\n\n    conflicts(\"%intel@:14\", when=\"@3.4.2:\", msg=\"Intel 14 has immature C11 support\")\n    conflicts(\n        \"%oneapi\",\n        msg=(\n            \"bison is likely miscompiled by oneapi compilers, \"\n            \"see https://github.com/spack/spack/issues/37172\"\n        ),\n    )\n\n    if sys.platform == \"darwin\" and macos_version() >= Version(\"10.13\"):\n        patch(\"secure_snprintf.patch\", level=0, when=\"@3.0.4\")\n\n    build_directory = \"spack-build\"\n\n    @classmethod\n    def determine_version(cls, exe):\n        output = Executable(exe)(\"--version\", output=str, error=str)\n        match = re.search(r\"bison \\(GNU Bison\\)\\s+(\\S+)\", output)\n        return match.group(1) if match else None\n", "path": "var/spack/repos/builtin/packages/bison/package.py"}], "after_files": [{"content": "# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other\n# Spack Project Developers. See the top-level COPYRIGHT file for details.\n#\n# SPDX-License-Identifier: (Apache-2.0 OR MIT)\n\nimport re\nimport sys\n\nfrom spack.operating_systems.mac_os import macos_version\nfrom spack.package import *\n\n\nclass Bison(AutotoolsPackage, GNUMirrorPackage):\n    \"\"\"Bison is a general-purpose parser generator that converts\n    an annotated context-free grammar into a deterministic LR or\n    generalized LR (GLR) parser employing LALR(1) parser tables.\"\"\"\n\n    homepage = \"https://www.gnu.org/software/bison/\"\n    gnu_mirror_path = \"bison/bison-3.6.4.tar.gz\"\n\n    tags = [\"build-tools\"]\n\n    executables = [\"^bison$\"]\n\n    license(\"GPL-3.0-or-later\")\n\n    version(\"3.8.2\", sha256=\"06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb\")\n    version(\"3.8.1\", sha256=\"ce318a47196155fb7c26912b513102f3d0e14757c2e495e34608757b61339c5c\")\n    version(\"3.8\", sha256=\"d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458\")\n    version(\"3.7.6\", sha256=\"69dc0bb46ea8fc307d4ca1e0b61c8c355eb207d0b0c69f4f8462328e74d7b9ea\")\n    version(\"3.7.5\", sha256=\"151cb5f12716e3fe93a27a317cd44878329659f275b342779bfaef4a526bbf70\")\n    version(\"3.7.4\", sha256=\"fbabc7359ccd8b4b36d47bfe37ebbce44805c052526d5558b95eda125d1677e2\")\n    version(\"3.7.3\", sha256=\"104fe912f2212ab4e4a59df888a93b719a046ffc38d178e943f6c54b1f27b3c7\")\n    version(\"3.7.2\", sha256=\"415cd91044517bbfd8d135dea24e054501db238a5515edd9cdbb795ba3e82a84\")\n    version(\"3.7.1\", sha256=\"1dd952839cf0d5a8178c691eeae40dc48fa50d18dcce648b1ad9ae0195367d13\")\n    version(\"3.7\", sha256=\"492ad61202de893ca21a99b621d63fa5389da58804ad79d3f226b8d04b803998\")\n    version(\"3.6.4\", sha256=\"8183de64b5383f3634942c7b151bf2577f74273b2731574cdda8a8f3a0ab13e9\")\n    version(\"3.6.3\", sha256=\"4b4c4943931e811f1073006ce3d8ee022a02b11b501e9cbf4def3613b24a3e63\")\n    version(\"3.6.2\", sha256=\"e28ed3aad934de2d1df68be209ac0b454f7b6d3c3d6d01126e5cd2cbadba089a\")\n    version(\"3.6.1\", sha256=\"1120f8bfe2cc13e5e1e3f671dc41b1a535ca5a75a70d5b349c19da9d4389f74d\")\n    version(\"3.6\", sha256=\"f630645e330bde5847266cc5c8194f0135ced75cced150358d9abe572b95f81c\")\n    version(\"3.5.3\", sha256=\"34e201d963156618a0ea5bc87220f660a1e08403dd3c7c7903d4f38db3f40039\")\n    version(\"3.5.2\", sha256=\"b4dbb6dd080f4db7f344f16506502973ca2b15f15c7dbbd1c1c278a456d094fa\")\n    version(\"3.5.1\", sha256=\"4cef2322d96751be1c0d04f3e57adbb30e7fea83af9c00f98efa6e7509296f25\")\n    version(\"3.5\", sha256=\"0b36200b9868ee289b78cefd1199496b02b76899bbb7e84ff1c0733a991313d1\")\n    version(\"3.4.2\", sha256=\"ff3922af377d514eca302a6662d470e857bd1a591e96a2050500df5a9d59facf\")\n    version(\"3.4.1\", sha256=\"7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095\")\n    version(\"3.3.2\", sha256=\"0fda1d034185397430eb7b0c9e140fb37e02fbfc53b90252fa5575e382b6dbd1\")\n    version(\"3.0.5\", sha256=\"cd399d2bee33afa712bac4b1f4434e20379e9b4099bce47189e09a7675a2d566\")\n    version(\"3.0.4\", sha256=\"b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e\")\n    version(\"2.7\", sha256=\"19bbe7374fd602f7a6654c131c21a15aebdc06cc89493e8ff250cb7f9ed0a831\")\n\n    variant(\"color\", default=False, description=\"Enable experimental colored output\", when=\"@3.4:\")\n\n    # https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00008.html\n    patch(\"parallel.patch\", when=\"@3.4.2\")\n\n    provides(\"yacc\")\n\n    depends_on(\"gettext\", when=\"+color\")\n    depends_on(\"m4@1.4.6:\", type=(\"build\", \"run\"))\n    depends_on(\"diffutils\", type=\"build\")\n\n    patch(\"pgi.patch\", when=\"@3.0.4\")\n    # The NVIDIA compilers do not currently support some GNU builtins.\n    # Detect this case and use the fallback path.\n    patch(\"nvhpc-3.6.patch\", when=\"@3.6.0:3.6 %nvhpc\")\n    patch(\"nvhpc-3.7.patch\", when=\"@3.7.0:3.7 %nvhpc\")\n\n    conflicts(\"%intel@:14\", when=\"@3.4.2:\", msg=\"Intel 14 has immature C11 support\")\n    conflicts(\n        \"%oneapi\",\n        msg=(\n            \"bison is likely miscompiled by oneapi compilers, \"\n            \"see https://github.com/spack/spack/issues/37172\"\n        ),\n    )\n\n    if sys.platform == \"darwin\" and macos_version() >= Version(\"10.13\"):\n        patch(\"secure_snprintf.patch\", level=0, when=\"@3.0.4\")\n\n    build_directory = \"spack-build\"\n\n    @classmethod\n    def determine_version(cls, exe):\n        output = Executable(exe)(\"--version\", output=str, error=str)\n        match = re.search(r\"bison \\(GNU Bison\\)\\s+(\\S+)\", output)\n        return match.group(1) if match else None\n", "path": "var/spack/repos/builtin/packages/bison/package.py"}]}