Your message dated Sun, 02 Jan 2022 09:19:06 +0000
with message-id <e1n3x18-0009fp...@fasolo.debian.org>
and subject line Bug#1001433: fixed in scitokens-cpp 0.6.2-2
has caused the Debian Bug report #1001433,
regarding scitokens-cpp: 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.)


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

Hi Mattias,

In Ubuntu, scitokens-cpp is failing to build from source because we have
updated to update to openssl 3, and scitokens-cpp uses some functions which
are now deprecated:

[...]
/usr/bin/c++ -DSciTokens_EXPORTS -I/<<PKGBUILDDIR>> 
-I/<<PKGBUILDDIR>>/vendor/jwt-cpp/include -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Werror -std=c++11 -fPIC -MD -MT 
CMakeFiles/SciTokens.dir/src/scitokens_cache.cpp.o -MF 
CMakeFiles/SciTokens.dir/src/scitokens_cache.cpp.o.d -o 
CMakeFiles/SciTokens.dir/src/scitokens_cache.cpp.o -c 
/<<PKGBUILDDIR>>/src/scitokens_cache.cpp
In file included from /<<PKGBUILDDIR>>/src/scitokens_internal.h:6,
                 from /<<PKGBUILDDIR>>/src/scitokens_cache.cpp:17:
/<<PKGBUILDDIR>>/vendor/jwt-cpp/include/jwt-cpp/jwt.h: In constructor 
‘jwt::algorithm::ecdsa::ecdsa(const string&, const string&, const string&, 
const string&, const EVP_MD* (*)(), const string&, size_t)’:
/<<PKGBUILDDIR>>/vendor/jwt-cpp/include/jwt-cpp/jwt.h:360:74: error: ‘EC_KEY* 
PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)’ 
is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
  360 |                                         
pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, 
(void*)public_key_password.c_str()), EC_KEY_free);
      |                                                    
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/vendor/jwt-cpp/include/jwt-cpp/jwt.h:11,
                 from /<<PKGBUILDDIR>>/src/scitokens_internal.h:6,
                 from /<<PKGBUILDDIR>>/src/scitokens_cache.cpp:17:
/usr/include/openssl/pem.h:463:1: note: declared here
  463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~
[...]

  
(https://launchpad.net/ubuntu/+source/scitokens-cpp/0.6.2-1build1/+build/22604628)

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

In Ubuntu, I've applied the following patch to let scitokens-cpp build by
ignoring the deprecation warnings.

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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru scitokens-cpp-0.6.2/debian/rules scitokens-cpp-0.6.2/debian/rules
--- scitokens-cpp-0.6.2/debian/rules    2021-08-25 01:36:24.000000000 -0700
+++ scitokens-cpp-0.6.2/debian/rules    2021-12-09 13:11:57.000000000 -0800
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export DEB_CFLAGS_MAINT_APPEND = -Wno-error=deprecated-declarations
+
 %:
        dh $@
 

--- End Message ---
--- Begin Message ---
Source: scitokens-cpp
Source-Version: 0.6.2-2
Done: Mattias Ellert <mattias.ell...@physics.uu.se>

We believe that the bug you reported is fixed in the latest version of
scitokens-cpp, 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.
Mattias Ellert <mattias.ell...@physics.uu.se> (supplier of updated 
scitokens-cpp 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: Sun, 02 Jan 2022 09:25:41 +0100
Source: scitokens-cpp
Architecture: source
Version: 0.6.2-2
Distribution: unstable
Urgency: medium
Maintainer: Mattias Ellert <mattias.ell...@physics.uu.se>
Changed-By: Mattias Ellert <mattias.ell...@physics.uu.se>
Closes: 1001433
Changes:
 scitokens-cpp (0.6.2-2) unstable; urgency=medium
 .
   * Allow compilation with openssl 3 (Closes: #1001433)
     Patch from Ubuntu: Steve Langasek <steve.langa...@canonical.com>
Checksums-Sha1:
 2cd91a16aa7de2456bb913961f31f6c87df76c26 2050 scitokens-cpp_0.6.2-2.dsc
 58dead64ac4271163669ae28a9d575f024d03c63 4336 
scitokens-cpp_0.6.2-2.debian.tar.xz
 8632770caaa06f9f2371a4180921743641a6df6b 7386 
scitokens-cpp_0.6.2-2_amd64.buildinfo
Checksums-Sha256:
 fac9349e142187b506f121b78d32d39df07a1babbd445b4ef6f81a2a82dbd23f 2050 
scitokens-cpp_0.6.2-2.dsc
 ba281956a1ea819b3156928e0dcf5a3143c56e266e73e36c679db8cf6bb96288 4336 
scitokens-cpp_0.6.2-2.debian.tar.xz
 10c2d68ab74531349c690386e3cfb60c4f5513e1c00da995c98ed5758b64c5ee 7386 
scitokens-cpp_0.6.2-2_amd64.buildinfo
Files:
 2d3b42eaeab7af37e28697777f0aec4e 2050 net optional scitokens-cpp_0.6.2-2.dsc
 e7fd04aa4cd417d1b1ea208eb85c1961 4336 net optional 
scitokens-cpp_0.6.2-2.debian.tar.xz
 3634b865f27aeab5b432512aebcd08d3 7386 net optional 
scitokens-cpp_0.6.2-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEE6hgwr99NQxrZ4RRS6K7C/zvhqUsFAmHRZygACgkQ6K7C/zvh
qUvNeQ//VXZvo/S0dPcHmsLVYhZ7dEZyuEMv+CcuytyJwFKlnDhURqCpHyJ06+6L
wSiAvMwwHXOVzT5S6SEdQCbzk3N0Kt8yLm0u23nzYqdBd92UhlI3JX/BDv1hMYW8
VKHIzBaO3z0oOJvACFjYQjxyN0OEDSD8DDhzjIb6L69IFbIbDm73j6R4j2MQU9AL
L9Lg38metJgxLjouQVytSN+Cg5LbJG+gUtfscNvrKHHzZUfCVuHp4SWpyasOi0Bi
hlD298AAYiDNNPZV1BR0BdRUBi9mMMVfcJriDMCr5+YgfzZ9FUbpS1CJr1bJ5L6u
hR2VKWWU2mInD3oWF0+86dVKooCSYbHGOhQnHPtzzPM6phDwjHqD3FV7mkqhgzeZ
BA900xrgc1bOFMLtUKIpaPQBSw6nZOCkQGK7ERC+TXrsS3QDQUQiLFd3b2jFMXr1
GNCpbACnlnsMeT4ro+MwEDJbFjSTnxBYeJOddoRUN+lc94Hy7OcCJk3btUgNy7br
lmn/atcNNr7kx0eCz8Yp1BMctTVZkBsJ96UyvTYRdOoXFP+qQ12A79wQgc8Yc/f9
e1bSYswukIX06CCbX/mrCKpz5mSYFYwORgQVwJhz5SYOAR+JeDjPEXH1RPN0RPvL
AtAQYYOJgtvjs8GVb/KL+dS+/A7H1YpHNrOBChiZSp5O4PJ3qR8=
=cF7Z
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to