Your message dated Mon, 26 Sep 2022 07:39:41 +0000
with message-id <[email protected]>
and subject line Bug#1001354: fixed in tarantool 2.6.0-1.1
has caused the Debian Bug report #1001354,
regarding tarantool: FTBFS with glibc 2.34
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1001354: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001354
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tarantool
Version: 2.6.0-1
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu jammy ubuntu-patch
Dear maintainers,
In Ubuntu, tarantool is failing to build from source because Ubuntu has
updated to glibc 2.34, where SIGSTKSZ is no longer a constant but instead a
call to sysconf().
I have uploaded the attached patch to Ubuntu to fix the build failure.
Please consider applying it in Debian as well.
This issue is obviously not critical in Debian at this time, because Debian
still only has glibc 2.33 in experimental.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
diff -Nru tarantool-2.6.0/debian/patches/glibc-2.34.patch
tarantool-2.6.0/debian/patches/glibc-2.34.patch
--- tarantool-2.6.0/debian/patches/glibc-2.34.patch 1969-12-31
16:00:00.000000000 -0800
+++ tarantool-2.6.0/debian/patches/glibc-2.34.patch 2021-12-08
14:47:39.000000000 -0800
@@ -0,0 +1,28 @@
+Description: compatibility with glibc 2.34
+ SIGSTKSZ is now a call to sysconf(), not a constant, so allocate it at
+ runtime instead of at compile time. This is a test case so don't care
+ about performance or memory leaking.
+Author: Steve Langasek <[email protected]>
+Last-Update: 2021-12-08
+Forwarded: no
+
+Index: tarantool-2.6.0/test/unit/guard.cc
+===================================================================
+--- tarantool-2.6.0.orig/test/unit/guard.cc
++++ tarantool-2.6.0/test/unit/guard.cc
+@@ -28,12 +28,14 @@
+ return sum;
+ }
+
+-static char stack_buf[SIGSTKSZ];
++static char *stack_buf = NULL;
+
+ static int
+ main_f(va_list ap)
+ {
+ stack_t stack;
++ if (!stack_buf)
++ stack_buf = (char *)malloc(SIGSTKSZ);
+ stack.ss_sp = stack_buf;
+ stack.ss_size = SIGSTKSZ;
+ stack.ss_flags = 0;
diff -Nru tarantool-2.6.0/debian/patches/series
tarantool-2.6.0/debian/patches/series
--- tarantool-2.6.0/debian/patches/series 1969-12-31 16:00:00.000000000
-0800
+++ tarantool-2.6.0/debian/patches/series 2021-12-08 14:38:44.000000000
-0800
@@ -0,0 +1 @@
+glibc-2.34.patch
--- End Message ---
--- Begin Message ---
Source: tarantool
Source-Version: 2.6.0-1.1
Done: Adrian Bunk <[email protected]>
We believe that the bug you reported is fixed in the latest version of
tarantool, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated tarantool 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 12 Sep 2022 08:51:23 +0300
Source: tarantool
Architecture: source
Version: 2.6.0-1.1
Distribution: unstable
Urgency: low
Maintainer: Roman Tsisyk <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1001354
Changes:
tarantool (2.6.0-1.1) unstable; urgency=low
.
* Non-maintainer upload.
* Backport upstream fix for FTBFS with glibc 2.34. (Closes: #1001354)
* Use the system libcurl/libyaml/libzstd instead of the bundled ones.
Checksums-Sha1:
be25f4448d4e6538d3646873fe9b64fb9b3b2bce 2270 tarantool_2.6.0-1.1.dsc
f042c21d69566f1c4f5fd3afc83ba738019ca0a6 16128
tarantool_2.6.0-1.1.debian.tar.xz
Checksums-Sha256:
642fd91dce8ce0ea8c928e328c94fb9bce413d0e23f576bb0c941c1323ef38a7 2270
tarantool_2.6.0-1.1.dsc
9f2928549095247451f71f1cec4b78abb04fa701cdaf2a251807f9860db7acbf 16128
tarantool_2.6.0-1.1.debian.tar.xz
Files:
8c451d45282d13e9044368c9bcc42791 2270 database optional tarantool_2.6.0-1.1.dsc
76e5e0a904d0bd1205123d37ad36d418 16128 database optional
tarantool_2.6.0-1.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmMe020ACgkQiNJCh6LY
mLG7IhAAt+iX07pbuPODN2xiBJoNLTp3ALs2nLUb5ppX67iypfuulqnd2NK0EeB9
HYM7N/xUzRZ0qCTsGOW8KD5rGMKWhAAPGK6/cQvp+aimD49KG3eMbOU7/OBkKIU7
uoCoY5/BurfLiOf8AO8RFXqwE4oLAL4yofyaWy7FK16S9JEfgn/Ott/Qx9nWZtui
PdeyCZM34k1hLkpwWYCredApKgsAgHU3PRINl8SYNCE5oPqr8wfK7/Wqu5wwEw4Q
ahlO4x+dFByn61kIg6nKvJttZf2qW+kf6hpQ0kT4D5s8QCoOZZwe7iOBLqR+yvlM
ZjFS+7i2TOeGOZ5yZgBbhvRAOSqoR8lUiGAo3ZoGQDXmPNgWKiFi8zT/8O2pNagN
LqVfHedD07IiIfFuCUxm4LDRkwUMgBxc3cSQftnoaCjzFMrNOimUMdONawZlw/wp
ucA/SpdX1SYe1bKwTmw1AAcrKdBMDc2Lp9BZKBeArPZArD8CBobz19Hs8YZPysDr
PMRR6nCQxmAdZLpHUcUP2tuJDqa+lWnYI8JaVX8tthlZ6woF5GHCbKhXekf122Qn
oKyTtrr3fFOlXFMazgJDJ5e7EJ9bW4PvDOBIVKk/nh24P/VhcfzpHqAE3mgPFaR7
ZimrMZmB0fY5ijnRKpezv5ppnOU7PHUxVsHaZn28Gv1Ueli2VY8=
=y6U7
-----END PGP SIGNATURE-----
--- End Message ---