Your message dated Sat, 19 Feb 2022 11:19:13 +0000
with message-id <e1nlnlh-0009ex...@fasolo.debian.org>
and subject line Bug#986487: fixed in caftools 2.0.3-2
has caused the Debian Bug report #986487,
regarding caftools: FTBFS with glibc >= 2.32
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 ow...@bugs.debian.org
immediately.)
--
986487: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986487
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: caftools
Version: 2.0.3-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch
Hi,
caftools currently FTBFS against glibc 2.32, which is used in the
development release of Ubuntu (and should be in Debian soon).
This is because it uses sys_errlist instead of strerror(), which is also
supported in earlier versions of glibc.
In Ubuntu, the attached patch was applied to achieve the following:
* d/p/glibc_2.32.patch: Use strerror() instead of sys_errlist/sys_nerr to
fix FTBFS with glibc >= 2.32.
Thanks for considering the patch.
Logan
diff -Nru caftools-2.0.3/debian/patches/glibc_2.32.patch
caftools-2.0.3/debian/patches/glibc_2.32.patch
--- caftools-2.0.3/debian/patches/glibc_2.32.patch 1969-12-31
19:00:00.000000000 -0500
+++ caftools-2.0.3/debian/patches/glibc_2.32.patch 2021-04-06
15:56:49.000000000 -0400
@@ -0,0 +1,59 @@
+--- a/src/acedb/messubs.c
++++ b/src/acedb/messubs.c
+@@ -268,10 +268,6 @@
+ char *messbuf2 = &messbuf[BUFSIZE/2];
+ static int total = 50 ;
+ /* extern int errno ; */
+-#if !defined(MACINTOSH) && !defined(__linux__)
+- extern char *sys_errlist[] ;
+- extern int sys_nerr ;
+-#endif
+
+ messFlag = TRUE ;
+
+@@ -284,15 +280,16 @@
+ messdump ("internal system error : %s", messbuf2) ;
+ }
+ #if !defined(MACINTOSH)
+- else if (errno < sys_nerr)
+- { messout ("%s : %s", messbuf2, sys_errlist[errno]) ;
+- messdump ("%s : %s", messbuf2, sys_errlist[errno]) ;
++ else
++ { messout ("%s : %s", messbuf2, strerror(errno)) ;
++ messdump ("%s : %s", messbuf2, strerror(errno)) ;
+ }
+-#endif
++#else
+ else
+ { messout ("%s : system error %d", messbuf2, errno) ;
+ messdump ("%s : system error %d", messbuf2, errno) ;
+ }
++#endif
+
+ invokeDebugger () ;
+ errno = 0 ;
+@@ -312,10 +309,6 @@
+ extern void crashOut (char* text) ;
+ #else
+ /* extern int errno ; */
+-#if !defined(__linux__)
+- extern char *sys_errlist[] ;
+- extern int sys_nerr ;
+-#endif
+ #endif
+
+ if (messcrashbuf)
+@@ -330,11 +323,8 @@
+ crashOut (crashText) ;
+ #else
+ messbeep();
+- if (errno <= 0 || errno >= sys_nerr)
+- fprintf (stderr,"!! FATAL ERROR %d: ", errno) ;
+- else
+- fprintf (stderr,"!! FATAL ERROR: system error %d %s \n",
+- errno, sys_errlist[errno]) ;
++ fprintf (stderr,"!! FATAL ERROR: system error %d %s \n",
++ errno, strerror(errno)) ;
+ fprintf (stderr, "!! %s\n", crashText) ;
+ #if !defined(MESSCLEAN)
+ graphOut (messbuf) ; /* to display on screen */
diff -Nru caftools-2.0.3/debian/patches/series
caftools-2.0.3/debian/patches/series
--- caftools-2.0.3/debian/patches/series 2020-05-19 10:14:05.000000000
-0400
+++ caftools-2.0.3/debian/patches/series 2021-04-06 15:53:55.000000000
-0400
@@ -1,3 +1,4 @@
messubs.patch
autoconf.patch
do_not_fail_building_man_pages.patch
+glibc_2.32.patch
--- End Message ---
--- Begin Message ---
Source: caftools
Source-Version: 2.0.3-2
Done: Sascha Steinbiss <sa...@debian.org>
We believe that the bug you reported is fixed in the latest version of
caftools, 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 986...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sascha Steinbiss <sa...@debian.org> (supplier of updated caftools 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 19 Feb 2022 12:03:28 +0100
Source: caftools
Architecture: source
Version: 2.0.3-2
Distribution: unstable
Urgency: medium
Maintainer: Steffen Moeller <moel...@debian.org>
Changed-By: Sascha Steinbiss <sa...@debian.org>
Closes: 986487
Changes:
caftools (2.0.3-2) unstable; urgency=medium
.
* Team upload.
* Add patch to fix build on glibc >= 2.32. Thanks to Logan Rosen for the
patch. (Closes: #986487)
Checksums-Sha1:
51d644044bc7d72ec97d377c52ea00f8bbf247a1 1866 caftools_2.0.3-2.dsc
5c1f119ddfe8a4e86e39c8eabcf2e86060260b6e 6076 caftools_2.0.3-2.debian.tar.xz
e77c0cc0ed257900e50d80d30dda6bcbdee803d8 6238 caftools_2.0.3-2_amd64.buildinfo
Checksums-Sha256:
d1479fdf02f65cbdf45679e664ec2c649b22a123f85758f3d976967a4f075432 1866
caftools_2.0.3-2.dsc
ce6b4df22bb80156ec54c5844aa21160178b2c2dc67557d8d7c55ec314c6a1fd 6076
caftools_2.0.3-2.debian.tar.xz
9242f63c1c328599486016c497c8bbc1c99c56c12c3f27ae3bbbcdb460b2fb96 6238
caftools_2.0.3-2_amd64.buildinfo
Files:
0c0eb9e05383579236455b6106ec474f 1866 non-free/science optional
caftools_2.0.3-2.dsc
7fd02f770f73b7d142b0abead782e784 6076 non-free/science optional
caftools_2.0.3-2.debian.tar.xz
6ed9d713cd7bc4e13fbb21f6a1b2f9ce 6238 non-free/science optional
caftools_2.0.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEWzS6WqtVB+kDQm6F6NN64vCfSHIFAmIQ0LcACgkQ6NN64vCf
SHKhkxAAkGOqClFRZ4iy/XoBYxlsbRv7nbGfQpx8nmkl7976goTuk+gpNTC5Q//Q
WVP/oAZR3QZ6nDsl6zdt0T8Y/eYFqJMOmGEd+FwKWGap6mO/5R5yhLSzF05bIBSW
9jJQEoaYL4NMfKFVgnn8dk04E6H3BK1l28Mt2zWUNOlA/0eyn9pj7LpsHElzFG+r
tB+m4SuqVTNusgTgVP5q7Pg0Q33sBdP3+D2xcY0LI/o2SOg3wlYGsCV8jn7vGovh
+Wvj+6uFKj53LJ9/nU9ejRthaGPtQAP6XYPSDcwgjCX6jzCx70BGrse7xTTmNiZy
EsL8Dj1bU/D0SaWIBoVTdPpHNq7zNlXrBOI8po33VkSBmCHOSTum5XuF9Z6a6RCo
SUh5vp8us/pKtjDVIg4kTIJzzh/nu6PIMiCCmmN9FsKf9Tn2NdN8klVqFP8Mj/Ug
SOYN08PtnWRAuDesX9NFbPPwaWE5dFaqy40gNexIQr7u4vmpv7dsC3szT4VRQhax
/aQ+55anD/D+lnp+m5k01GkYsod+NIO6Yerz4KjyRBtCfG5AJ4nZZGtWDHmyfkNS
nKZ78+xOVOj5jDYB08TI2N0GOWdDGjB8WWPdWjYjPuGSIqPQgDFX6aANBxPa/ze4
ZlXlXCdpHmuwDCtcSyuSngHtS8DsBbdcj63ttiIWPALlBrBYeY8=
=3Eng
-----END PGP SIGNATURE-----
--- End Message ---