[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001358: marked as done (trustedqsl: FTBFS with OpenSSL 3)



Your message dated Thu, 09 Dec 2021 03:33:55 +0000
with message-id <E1mvABv-000ClI-RR@fasolo.debian.org>
and subject line Bug#1001358: fixed in trustedqsl 2.5.9-2
has caused the Debian Bug report #1001358,
regarding trustedqsl: FTBFS with OpenSSL 3
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 owner@bugs.debian.org
immediately.)


-- 
1001358: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001358
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: trustedqsl
Version: 2.5.9-1
Severity: serious
Tags: patch experimental
Justification: ftbfs
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Dear maintainers,

In Ubuntu, the trustedqsl package fails to build because it uses the
ERR_GET_FUNC() macro, which has been obsoleted in OpenSSL 3.

The attached patch addresses this by removing the call to the macro,
allowing trustedqsl to build.

Please consider applying this patch in Debian.

OpenSSL 3 is currently in experimental, and expected to be the version of
OpenSSL shipped in the next release of Debian.

Thanks for considering,
-- 
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/
slangasek@ubuntu.com                                     vorlon@debian.org
diff -Nru trustedqsl-2.5.9/debian/patches/openssl3.patch trustedqsl-2.5.9/debian/patches/openssl3.patch
--- trustedqsl-2.5.9/debian/patches/openssl3.patch	1969-12-31 16:00:00.000000000 -0800
+++ trustedqsl-2.5.9/debian/patches/openssl3.patch	2021-12-08 16:45:06.000000000 -0800
@@ -0,0 +1,20 @@
+Description: compatibility with OpenSSL 3
+ OpenSSL 3 no longer supports an ERR_GET_FUNC() macro, so remove the reference
+ from the code.
+Author: Steve Langasek <steve.langasek@ubuntu.com>
+Last-Update: 2021-12-08
+Forwarded: no
+
+Index: trustedqsl-2.5.9/src/openssl_cert.cpp
+===================================================================
+--- trustedqsl-2.5.9.orig/src/openssl_cert.cpp
++++ trustedqsl-2.5.9/src/openssl_cert.cpp
+@@ -4285,7 +4285,7 @@
+ tqsl_ssl_error_is_nofile() {
+ 	unsigned long l = ERR_peek_error();
+ 	if (tQSL_Error == TQSL_OPENSSL_ERROR &&
+-		ERR_GET_LIB(l) == ERR_LIB_SYS && ERR_GET_FUNC(l) == SYS_F_FOPEN)
++		ERR_GET_LIB(l) == ERR_LIB_SYS)
+ 		return 1;
+ 	if (tQSL_Error == TQSL_SYSTEM_ERROR && tQSL_Errno == ENOENT)
+ 		return 1;
diff -Nru trustedqsl-2.5.9/debian/patches/series trustedqsl-2.5.9/debian/patches/series
--- trustedqsl-2.5.9/debian/patches/series	2021-11-07 15:41:26.000000000 -0800
+++ trustedqsl-2.5.9/debian/patches/series	2021-12-08 16:43:38.000000000 -0800
@@ -1,2 +1,3 @@
 01-install-libtqsllib-so-in-usr-lib-trustedqsl.patch
 02-typos.patch
+openssl3.patch

--- End Message ---
--- Begin Message ---
Source: trustedqsl
Source-Version: 2.5.9-2
Done: tony mancill <tmancill@debian.org>

We believe that the bug you reported is fixed in the latest version of
trustedqsl, 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 1001358@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated trustedqsl 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 08 Dec 2021 18:56:31 -0800
Source: trustedqsl
Architecture: source
Version: 2.5.9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1001358
Changes:
 trustedqsl (2.5.9-2) unstable; urgency=medium
 .
   * Add patch for compatibility with OpenSSL 3 (Closes: #1001358)
Checksums-Sha1:
 33796ace49d4b2c47efcbcf6f72b66df0fe816a6 2128 trustedqsl_2.5.9-2.dsc
 d451e3f7d26cdb5599da259e28e0d2e497c1c6ac 79772 trustedqsl_2.5.9-2.debian.tar.xz
 a6ce2e79c80908958b15c72803739b19d15ba849 11618 trustedqsl_2.5.9-2_amd64.buildinfo
Checksums-Sha256:
 b5b8302ae265ee005fa5b6b7d6c343517bde2969616d7c1ed87bc5c2d9343042 2128 trustedqsl_2.5.9-2.dsc
 906b0bbe68b338d80b8dd9ec8bf1f825c0d2e8a6ce304ee88c3c34bc8001557b 79772 trustedqsl_2.5.9-2.debian.tar.xz
 bf12d98309f5dd967bc2b809d7bb630aecc030ec276dd94efd1e4c09fa584454 11618 trustedqsl_2.5.9-2_amd64.buildinfo
Files:
 755ddf448f051eb447fcf19aa4d577ba 2128 hamradio optional trustedqsl_2.5.9-2.dsc
 14906940725b8a6999bef39a0a554d79 79772 hamradio optional trustedqsl_2.5.9-2.debian.tar.xz
 5f3b11a83e7a961a2481f3beb7a97c2a 11618 hamradio optional trustedqsl_2.5.9-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmGxdMAUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZLXw/+Ib0eFpo4LLNUJ+hflscHkqqOE5vt
PBEsauqq5Dp3qkjZH03dl/s5hqv9DXtMU1teh1YWBWl+kvuhVibuXBdrgROB403/
6ruWei7csUJw6PqiauM/tGzj2JP758bFkH9kcqqXfcNwtYhXvQyAbyn1bJ0rG1vn
zlce2YFjY1X9or8IKVAQyiYPeyHlJHapG99Sk5Uc3yAk2WR+pVy0sIV0OXPEQPG8
3MBi5GZeQmu8PGNPJOUxeQ8dIGslpwre79GMXGRl7ZX71F4jdXjX2cudxpT36ZOn
6XmsFmOsUtQKPmOHbtSGCgFT1F9FIs5KPdoKf0Uhwa+cI+To6ydgqS2zsRSnDUw3
ks/1CKaV+/cTFDD+Luj0MaSXVX52a3beC6VJrPDcdxzxVfEASfAdN+S+By+/EhNJ
5a8xz+Mu/Ia1I7axgnMwLMtUsFWxH6ZYUqZ7AcMWiW+zHECkdSxrPW4cpGzq2LE8
3ij8V6miTmyqKrKfA67xZFjnsG8JYlHWcXefFw4pzkTLYiLZZiezePTtXE/6nONC
zfcMSHutehJehPjfK+an1CwUMZtxjKbIeT7jica7UeN1Q0vasbudG9qoBZeJyT5r
749A4FDHS8mmFjIhNVQJzXiH3dN/6s7pfdqT+hJXyNm73pEsAMqTWGRJKm6MzWIM
msdgHSZ1rxJoEyY=
=zIat
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: