Your message dated Sun, 02 Jan 2022 09:04:00 +0000
with message-id <e1n3wmw-0007an...@fasolo.debian.org>
and subject line Bug#1001355: fixed in voms 2.1.0~rc2-2
has caused the Debian Bug report #1001355,
regarding voms: 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.)


-- 
1001355: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001355
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: voms
Version: 2.1.0~rc2-1
Severity: serious
Tags: patch experimental
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Hi Mattias,

In Ubuntu, voms is failing to build from source because Ubuntu has moved to
OpenSSL 3, and voms is incompatible:

[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/autogen -Wdate-time 
-D_FORTIFY_SOURCE=2 -I ../../src/include -g -O2 
"-ffile-prefix-map=/<<PKGBUILDDIR>>=." -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -c proxypolicy.c  
-fPIC -DPIC -o .libs/libssl_utils_nog_la-proxypolicy.o
In file included from proxypolicy.c:20:
proxypolicy.c:88:29: error: conflicting types for ‘PROXY_POLICY_dup’; have 
‘PROXY_POLICY *(const PROXY_POLICY *)’ {aka ‘struct PROXY_POLICY_st *(const 
struct PROXY_POLICY_st *)’}
   88 | IMPLEMENT_ASN1_DUP_FUNCTION(PROXY_POLICY);
      |                             ^~~~~~~~~~~~
In file included from proxypolicy.c:24:
../../src/include/proxypolicy.h:81:17: note: previous declaration of 
‘PROXY_POLICY_dup’ with type ‘PROXY_POLICY *(PROXY_POLICY *)’ {aka ‘struct 
PROXY_POLICY_st *(struct PROXY_POLICY_st *)’}
   81 |   PROXY_POLICY* PROXY_POLICY_dup(PROXY_POLICY* policy);
      |                 ^~~~~~~~~~~~~~~~
[...]

  (https://launchpad.net/ubuntu/+source/voms/2.1.0~rc2-1build2/+build/22467653)

This can be fixed with the attached one-liner fix, which I have uploaded to
Ubuntu.  Please consider applying it in Debian as well.

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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru voms-2.1.0~rc2/debian/patches/openssl3.patch 
voms-2.1.0~rc2/debian/patches/openssl3.patch
--- voms-2.1.0~rc2/debian/patches/openssl3.patch        1969-12-31 
16:00:00.000000000 -0800
+++ voms-2.1.0~rc2/debian/patches/openssl3.patch        2021-12-08 
15:17:42.000000000 -0800
@@ -0,0 +1,18 @@
+Description: Compatibility with OpenSSL 3
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Update: 2021-12-08
+Forwarded: no
+
+Index: voms-2.1.0~rc2/src/include/proxypolicy.h
+===================================================================
+--- voms-2.1.0~rc2.orig/src/include/proxypolicy.h
++++ voms-2.1.0~rc2/src/include/proxypolicy.h
+@@ -78,8 +78,6 @@
+     , unsigned char *                     policy
+     , int                                 length);
+ 
+-  PROXY_POLICY* PROXY_POLICY_dup(PROXY_POLICY* policy);
+-  
+ #ifdef __cplusplus
+ }
+ #endif
diff -Nru voms-2.1.0~rc2/debian/patches/series 
voms-2.1.0~rc2/debian/patches/series
--- voms-2.1.0~rc2/debian/patches/series        2021-08-24 10:29:24.000000000 
-0700
+++ voms-2.1.0~rc2/debian/patches/series        2021-12-08 15:15:18.000000000 
-0800
@@ -17,3 +17,4 @@
 # Change default proxy cert key length to 2048 bits
 # https://github.com/italiangrid/voms/pull/75
 voms-change-default-proxy-cert-key-length-to-2048-bits.patch
+openssl3.patch

--- End Message ---
--- Begin Message ---
Source: voms
Source-Version: 2.1.0~rc2-2
Done: Mattias Ellert <mattias.ell...@physics.uu.se>

We believe that the bug you reported is fixed in the latest version of
voms, 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 voms 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 08:21:28 +0100
Source: voms
Architecture: source
Version: 2.1.0~rc2-2
Distribution: unstable
Urgency: medium
Maintainer: Mattias Ellert <mattias.ell...@physics.uu.se>
Changed-By: Mattias Ellert <mattias.ell...@physics.uu.se>
Closes: 1001355
Changes:
 voms (2.1.0~rc2-2) unstable; urgency=medium
 .
   * Fix compilation with OpenSSL 3.0 (Closes: #1001355)
Checksums-Sha1:
 56ef33351cb08f80a2aa081c0aa7331c0cd4c764 2145 voms_2.1.0~rc2-2.dsc
 576a260af5ab3d8b969b2b65af848cb340166de5 12144 voms_2.1.0~rc2-2.debian.tar.xz
 df034711598d93d0357563cdd7fd6863211e8e61 8436 voms_2.1.0~rc2-2_amd64.buildinfo
Checksums-Sha256:
 6b7b69e0f2e0a7da55fba51d9811f584658829a76e25a649a5e326eac277d73a 2145 
voms_2.1.0~rc2-2.dsc
 cda695af78171fc5a2aea1e9ff7346037d4c55c3b061ee6cbefe0b939799ce7d 12144 
voms_2.1.0~rc2-2.debian.tar.xz
 29892f3d9d3ac9e06c230b62eb47bcdebc51714d10ca7722ad92d5e3ae593187 8436 
voms_2.1.0~rc2-2_amd64.buildinfo
Files:
 c0309584ccdbb769e13952c2c379c111 2145 libs optional voms_2.1.0~rc2-2.dsc
 1ff94664547b584bfef2945cacdf61e5 12144 libs optional 
voms_2.1.0~rc2-2.debian.tar.xz
 a9557e74f3b4426d0daf2d5b2b78e119 8436 libs optional 
voms_2.1.0~rc2-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEE6hgwr99NQxrZ4RRS6K7C/zvhqUsFAmHRY7wACgkQ6K7C/zvh
qUu7Bw/8Dt7Pvj3I+w/O1xzjXNpz3elNLnN3O6HdUOxjsJUHRvPG5eOgus1kXML6
+p7pa6ihZLRFdWjVJ/6yfIN1sbADw6h5Zh3CknvS5LG2lQN/8TA3ybRSeE+CUcO/
/oB5pwu7EBPb+M2Rtnn42OkuO7P0GBOdh8qF1CjfTyQu381ljB7sByom1Omstka/
amL46Fp5Fz8Nbk9dvfYyAt9J/CmUzrOsF7tNvBbMUqe/9AFd7QRfGuxb/ZdkR8tJ
OfsEKLq9gUYVZh1+fFWKg+c1+2Sv/UyC59g395fAT59Q/C8HDXvJLvvYA7/faVFh
P2QVkqoDcJNnhkGCqIN5MCX96jXar0vrpYhpWUK5foxfW9VjYLeM7zVO1zxVv6rX
wpRnO7VD5HydlL33UeyDy5uxnShDVFrkcoylNYz24T2lqmgQbo+CkDR0k1c2KM1C
w/LrU4cIlItZ37WOcPDeWHUBoVG6ebmKcT0G9CVMkqdN7ufPfB4sx7nX8n/Vtghg
80tuOzUu6g4h94dqw2Sag4oCuVEhi4ojrRIeKohCMvYy70G0ZyTUGWL4ooQmm96q
CjCO1PO9YmuLtzXjecVXxA5a+2Dw9WwGQ4F82ig6sbAXaDCdQeZzetb0MUY4TwSt
PTYoYII7Pt4j9NdygATGJuaDN9iZJOC0M0VzBcKUSB/4kuWSJ+M=
=QgOS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to