#1014627 maude: FTBFS with glibc 2.34

Package:
maude
Source:
maude
Description:
high-performance logical framework
Submitter:
Steve Langasek
Date:
2022-07-12 14:39:09 UTC
Severity:
serious
Tags:
#1014627#5
Date:
2022-07-09 05:55:37 UTC
From:
To:
Package: maude
Version: 3.2-1
Severity: serious
Tags: patch
Justification: ftbfs
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch

Dear maintainers,

In Ubuntu, the maude package fails to build from source because it tries to
use SIGSTKSZ as a constant, and as of glibc 2.34 this is now defined as a
runtime call to sysconf() instead.

[...]
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/Utility -I../../src/Temporal -I../../src/Interface -I../../src/Core -I../../src/Variable -I../../src/FullCompiler -I../../src/Higher -I../../src/CUI_Theory -I../../src/S_Theory -I../../src/NA_Theory -I../../src/FreeTheory -I../../src/ObjectSystem -I../../src/Mixfix -I../../src/BuiltIn -I../../src/Parser -I../../src/IO_Stuff -I../../src/ACU_Persistent -I../../src/ACU_Theory -I../../src/AU_Persistent -I../../src/AU_Theory -I../../src/Meta -I../../src/3rdParty -I../../src/FullCompiler -I../../src/StrategyLanguage -I../../src/SMT -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -c -o libmixfix_a-userLevelRewritingContext.o `test -f 'userLevelRewritingContext.cc' || echo './'`userLevelRewritingContext.cc
In file included from userLevelRewritingContext.cc:75:
interact.cc: In static member function ‘static void UserLevelRewritingContext::setHandlers(bool)’:
interact.cc:120:15: error: storage size of ‘altStack’ isn’t constant
  120 |   static char altStack[SIGSTKSZ];
      |               ^~~~~~~~
make[6]: *** [Makefile:1019: libmixfix_a-userLevelRewritingContext.o] Error 1
[...]

  (https://launchpad.net/ubuntu/+source/maude/3.2-1/+build/23574061)

Debian currently only has glibc 2.34 in experimental, but at some point will
be updated, making this a critical build failure.

The attached patch has fixed the build failure for me.  Please consider
applying in Debian.

Thanks,

#1014627#10
Date:
2022-07-12 14:36:00 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
maude, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1014627@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <nilesh@debian.org> (supplier of updated maude package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 12 Jul 2022 19:53:44 +0530
Source: maude
Architecture: source
Version: 3.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Closes: 1014627
Changes:
 maude (3.2-2) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to fix FTBFS against glibc 2.34
     + Thanks vorlon for the patch (Closes: #1014627)
Checksums-Sha1:
 2de7a5883da3204e314e1d9e6ce2e16160de00e2 2018 maude_3.2-2.dsc
 a7fb3910718419100954fa92af38d3fb864f8eab 7276 maude_3.2-2.debian.tar.xz
 b525107e6d04874a88e7d86130282941571fe854 6886 maude_3.2-2_source.buildinfo
Checksums-Sha256:
 6d9bdbec101d8781c39dd5aa98ce08a9cbe8c9520a81f989e8f5fd13c080baf2 2018 maude_3.2-2.dsc
 123a3a1a42755de3fcb66781cfb24f8a38bdf668effd4fd84ac3279652020797 7276 maude_3.2-2.debian.tar.xz
 9c557f41142972fa8385ee4f0d4f6ec7d5262f254a291adb1819d1331575d981 6886 maude_3.2-2_source.buildinfo
Files:
 ecf0b9448155caa44b33fadb726b0440 2018 science optional maude_3.2-2.dsc
 2eeddd9d7bd20cb0ac35a8b2ac33aeb3 7276 science optional maude_3.2-2.debian.tar.xz
 156893303734750460d74b9bee0ddd7f 6886 science optional maude_3.2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmLNhF0SHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nxuq8P+wU+rgMwACxjTkD8j27MotGof0wwDQWK
z4ZT2xjCtKHSM44NxvNuhDMLfqZO1AgLOS7z2bREYhKiLHjIjp57cQNh7PcAAPET
k9BGuRtbFKG/rID07P9y5MVWIOY7mBlQezm8P8oagGOD8+vTUsdXG2xWkDX3koq/
+ekz0ByL0vb9AU5neIkHyUzsk3JhY34/K8+RokEn+XgBwq83tLSCUveE7DEO5ybQ
aMT9qCAJ2k1OrjsqabBb9q9gIeIP7DhRH2/ekX8Argxy10VQWY8y5xS7lsCPbmgw
FK6C7RXHyUHYtp66EJQ5jb2/s9V6L6E7KoRS5NIQnlt9A2NS0r4A61YNraqc1gFX
VuLHzoelXXOpy8hBdPhNW7aQioPUVM0jCSsawzAuRJxuh1FO7dH1P2aL/Vkwje0Q
cVM5b0rHanKmK9eOxHasbgfj91zzf0X3VPEfMylwUnmQ+1DOLC31pR1XdQyRZXoP
8SZjYIYywVSwSwnqPtFlMjgZYntOiXGiy2DT7NV3hjufvCoO7druYIq211yshew0
DyVeIUoUC2ZZ7ws+8FP10ZjnnQVjMX8dODx1lQNNKexSItZR+tLtzjHYQuqOoD2Y
rlkcBw+gdfSXjGHcuBx4YGArUI5OHkRRLyP0lZp7YJkz4Wr3alMoO+XV26jN8tHY
/7K5XMyYCYKj
=coym
-----END PGP SIGNATURE-----