Your message dated Thu, 09 Dec 2021 12:48:43 +0000
with message-id <e1mviqp-000cen...@fasolo.debian.org>
and subject line Bug#1001356: fixed in liboauth2 1.4.3.2-4
has caused the Debian Bug report #1001356,
regarding liboauth2: 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 ow...@bugs.debian.org
immediately.)


-- 
1001356: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001356
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: liboauth2
Version: 1.4.3.2-3
Severity: serious
Tags: patch experimental
Justification: ftbfs
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Hi Nicolas,

In Ubuntu, liboauth2 is failing to build from source because we have updated
to OpenSSL 3, and liboauth2 is incompatible:

[...]
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"liboauth2\" 
-DPACKAGE_TARNAME=\"liboauth2\" -DPACKAGE_VERSION=\"1.4.3.2\" 
-DPACKAGE_STRING=\"liboauth2\ 1.4.3.2\" 
-DPACKAGE_BUGREPORT=\"hans.zandb...@zmartzone.eu\" -DPACKAGE_URL=\"\" 
-DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.  
-Wall -Werror -Iinclude -Isrc   -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/x86_64-linux-gnu  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat 
-Werror=format-security -c -o src/liboauth2_la-jose.lo `test -f 'src/jose.c' || 
echo './'`src/jose.c
libtool: compile:  gcc -DPACKAGE_NAME=\"liboauth2\" 
-DPACKAGE_TARNAME=\"liboauth2\" -DPACKAGE_VERSION=\"1.4.3.2\" 
"-DPACKAGE_STRING=\"liboauth2 1.4.3.2\"" 
-DPACKAGE_BUGREPORT=\"hans.zandb...@zmartzone.eu\" -DPACKAGE_URL=\"\" 
-DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. 
-Wall -Werror -Iinclude -Isrc -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat 
-Werror=format-security -c src/jose.c  -fPIC -DPIC -o 
src/.libs/liboauth2_la-jose.o
src/jose.c: In function ‘_oauth2_jose_options_jwk_set_rsa_key’:
src/jose.c:1586:9: error: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
 1586 |         rsa = EVP_PKEY_get1_RSA(pkey);
      |         ^~~
In file included from src/jose.c:35:
/usr/include/openssl/evp.h:1348:16: note: declared here
 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
[...]

  
(https://launchpad.net/ubuntu/+source/liboauth2/1.4.3.2-3build1/+build/22604274)

The attached patch adds -Wno-error=deprecated-declarations to let the
package build with OpenSSL 3.  Please consider applying this patch in Debian
as well.

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

Thanks,
-- 
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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru liboauth2-1.4.3.2/debian/rules liboauth2-1.4.3.2/debian/rules
--- liboauth2-1.4.3.2/debian/rules      2021-10-21 07:55:39.000000000 -0700
+++ liboauth2-1.4.3.2/debian/rules      2021-12-08 16:02:32.000000000 -0800
@@ -4,6 +4,7 @@
 #export DH_VERBOSE = 1
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -Wno-error=deprecated-declarations
 export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/apache2/
 
 export CK_FORK=no

--- End Message ---
--- Begin Message ---
Source: liboauth2
Source-Version: 1.4.3.2-4
Done: Nicolas Mora <babelou...@debian.org>

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

Debian distribution maintenance software
pp.
Nicolas Mora <babelou...@debian.org> (supplier of updated liboauth2 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: SHA512

Format: 1.8
Date: Wed, 08 Dec 2021 19:53:52 -0500
Source: liboauth2
Architecture: source
Version: 1.4.3.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian IoT Maintainers 
<debian-iot-maintain...@lists.alioth.debian.org>
Changed-By: Nicolas Mora <babelou...@debian.org>
Closes: 1001356
Changes:
 liboauth2 (1.4.3.2-4) unstable; urgency=medium
 .
   * Fix build for openssl 3.0 (Closes: #1001356)
   * d/copyright: update year to 2021
Checksums-Sha1:
 d318f18b5962f0f04af504ce91cb48cf55e1577a 2306 liboauth2_1.4.3.2-4.dsc
 1b40c475f3ddd7bd21fe8132a5cd784bb3822ba4 155542 liboauth2_1.4.3.2.orig.tar.gz
 cc582e2f790ad2d12a10d4c141967fdef738a051 16604 
liboauth2_1.4.3.2-4.debian.tar.xz
 8ef5dcf62256e38ae563e475a5caedd12281b423 9250 
liboauth2_1.4.3.2-4_amd64.buildinfo
Checksums-Sha256:
 eb8c1417ae0084801401e5971a28af78de35c327c613d8259bf41edb708b8b81 2306 
liboauth2_1.4.3.2-4.dsc
 3645dd3c7af064f624b813934388a0c8897c2a1e7cf0d6a461045e037ebee78c 155542 
liboauth2_1.4.3.2.orig.tar.gz
 b4725373f7b800b4022b63d7956fa03b09d2d4fa87a302d5002c524bc7fc6764 16604 
liboauth2_1.4.3.2-4.debian.tar.xz
 f6fffb54bbaa0a76a644d4a844451b04aa4debae3d560a6d5b5153b9086d8ede 9250 
liboauth2_1.4.3.2-4_amd64.buildinfo
Files:
 999cd91e9e5b8b9b6c51d5a9fd231d6e 2306 devel optional liboauth2_1.4.3.2-4.dsc
 31ba3a4bd6e6c41bf826aef3b37e8529 155542 devel optional 
liboauth2_1.4.3.2.orig.tar.gz
 a3632457a65d4adeed6d4cb1be897b68 16604 devel optional 
liboauth2_1.4.3.2-4.debian.tar.xz
 a3c1dfde1192080cfe3c7e9c88d00a5e 9250 devel optional 
liboauth2_1.4.3.2-4_amd64.buildinfo

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

iQIzBAEBCgAdFiEEhAWwL8wo75dEyPJT/oITlEC9IrkFAmGx+HgACgkQ/oITlEC9
Irk1vxAAh+sEP8F8Ixrmx8e+ktSLznPXeZZ27+G7WEJtXcflAOXS8G509YaoV9xi
YCw0p0DZrv/Ja7latn7JNNo+L27tISQshis2XiJWIPxu8PbFae5/4FBk5R4n/B6h
52wvvwhttDVKRCS2FOIE9XQzNSLJgChesZzgKtNBo73S/zic1i8lr88I1A1NjJZO
C7zWbNvOWNMhcANIPJp2F8c+GF9YT8qmImjDunRrcBnU7JX4H5jKME84nBaru37Z
HNtkfjBngsBQ6mL3RS+QKBw0badw46wLVL0cpMZtHu1FXp4FOzFW09HxjaPMtyWw
v0n0zZ9ItqjDTxNtIQLESdgmi15e+mo3uiQPgX1yReTKr+xnxXBFkvKc6GjXgC4i
rwpqG5wL6aN5AATm9zguUEotrR3i2e0iLDhScrSMzf1ERxa42sGs6/rxOiBxyAYf
DMTpzXKo6KvDcBUWxS3dVfn7QEXuNKF2R4meR5sXFhRLFuOYZfis88O6z5BISmIy
jMQ/ozxfiGUGC0T/H2CfgIUeT8xnljY0H5GjGLgOFncpnOl56Q2CmG7qxoFeScOY
WWDlhoXJBepB/Rc9UuCKTXhACrxwRmTSu7rc0Qa+Oz5J/O9R2pA+/4ezHYBgJqYC
vwQB+gkq+S4Xxty0zQo1jo74H6kjr6D6L5UASKK2wm+fcrWICNg=
=mZny
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to