Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1001355: voms: FTBFS with openssl 3

0 views
Skip to first unread message

Steve Langasek

unread,
Dec 8, 2021, 6:30:03 PM12/8/21
to
Package: voms
Version: 2.1.0~rc2-1
Severity: serious
Tags: patch experimental
User: ubuntu...@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/
slan...@ubuntu.com vor...@debian.org

voms_2.1.0~rc2-1ubuntu1.debdiff
0 new messages