diff options
author | Teague Sterling <teaguesterling@users.noreply.github.com> | 2024-05-30 11:35:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 12:35:20 -0600 |
commit | 0b51f25034f6e985234d8771282a3beba93b9a6e (patch) | |
tree | 73108a3a6288a1764bed78f30a4c9bfb25427395 /var | |
parent | d6a182fb5ded1021bffe76828c9758827dd8879b (diff) | |
download | spack-0b51f25034f6e985234d8771282a3beba93b9a6e.tar.gz spack-0b51f25034f6e985234d8771282a3beba93b9a6e.tar.bz2 spack-0b51f25034f6e985234d8771282a3beba93b9a6e.tar.xz spack-0b51f25034f6e985234d8771282a3beba93b9a6e.zip |
Package/gettext: Old version issues (#44440)
gcc@:5 hits https://savannah.gnu.org/bugs/index.php?65811 in gettext@0.22:
also fix patch of configure script
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gettext/package.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/gettext/package.py b/var/spack/repos/builtin/packages/gettext/package.py index dbc1650d03..d546cd9762 100644 --- a/var/spack/repos/builtin/packages/gettext/package.py +++ b/var/spack/repos/builtin/packages/gettext/package.py @@ -62,6 +62,8 @@ class Gettext(AutotoolsPackage, GNUMirrorPackage): # depends_on('cvs') conflicts("+shared~pic") + # https://savannah.gnu.org/bugs/?65811 + conflicts("%gcc@:5", when="@0.22:") patch("test-verify-parallel-make-check.patch", when="@:0.19.8.1") patch("nvhpc-builtin.patch", when="@:0.21.0 %nvhpc") @@ -78,12 +80,13 @@ class Gettext(AutotoolsPackage, GNUMirrorPackage): # From the configure script: "we don't want to use an external libxml, because its # dependencies and their dynamic relocations have an impact on the startup time", well, # *we* do. - filter_file( - "gl_cv_libxml_force_included=yes", - "gl_cv_libxml_force_included=no", - "libtextstyle/configure", - string=True, - ) + if self.spec.satisfies("@:19"): # libtextstyle/configure not present + filter_file( + "gl_cv_libxml_force_included=yes", + "gl_cv_libxml_force_included=no", + "libtextstyle/configure", + string=True, + ) def flag_handler(self, name, flags): # this goes together with gl_cv_libxml_force_included=no |