diff options
author | Vanessasaurus <814322+vsoch@users.noreply.github.com> | 2021-06-12 00:31:29 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 00:31:29 -0600 |
commit | ae91d49f21a240a7b5bbf3bdfcfb4329ac4df44a (patch) | |
tree | a3ea1dd5c05e2d3047c0b3db454968ba508895a4 | |
parent | 8a0a60c5754435ed8a3fb51d4794671f91806515 (diff) | |
download | spack-ae91d49f21a240a7b5bbf3bdfcfb4329ac4df44a.tar.gz spack-ae91d49f21a240a7b5bbf3bdfcfb4329ac4df44a.tar.bz2 spack-ae91d49f21a240a7b5bbf3bdfcfb4329ac4df44a.tar.xz spack-ae91d49f21a240a7b5bbf3bdfcfb4329ac4df44a.zip |
libinih: add new package (#24289)
xfsprogs currently does not install with error message:
FATAL ERROR: could not find a valid ini.h header.
Adding this package libinih, and including it as
a dependency for xfsprogs seems to fix the issue. It could be
that we only need to add it for newer versions (if it worked before)
and maybe a maintainer can comment on that.
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Co-authored-by: vsoch <vsoch@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/libinih/package.py | 18 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/xfsprogs/package.py | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libinih/package.py b/var/spack/repos/builtin/packages/libinih/package.py new file mode 100644 index 0000000000..19e2ea208d --- /dev/null +++ b/var/spack/repos/builtin/packages/libinih/package.py @@ -0,0 +1,18 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Libinih(MesonPackage): + """ + inih (INI Not Invented Here) is a simple .INI file parser written in C. + """ + + homepage = "https://github.com/benhoyt/inih" + url = "https://github.com/benhoyt/inih/archive/refs/tags/r53.tar.gz" + git = "https://github.com/benhoyt/inih.git" + + version('master', branch="master") diff --git a/var/spack/repos/builtin/packages/xfsprogs/package.py b/var/spack/repos/builtin/packages/xfsprogs/package.py index 21478ea978..7657e01bf0 100644 --- a/var/spack/repos/builtin/packages/xfsprogs/package.py +++ b/var/spack/repos/builtin/packages/xfsprogs/package.py @@ -19,6 +19,7 @@ class Xfsprogs(AutotoolsPackage): version('4.20.0', sha256='beafdfd080352a8c9d543491e0874d0e8809cb643a3b9d352d5feed38d77022a') + depends_on('libinih') depends_on('gettext') depends_on('uuid') depends_on('util-linux') |