[Pkg-auth-maintainers] Bug#1006241: yubico-piv-tool: FTBFS with OpenSSL 3.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Mon Feb 21 20:36:38 GMT 2022


Source: yubico-piv-tool
Version: 2.2.0-1
Severity: important
Tags: bookworm sid patch fixed-upstream
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: ftbfs-3.0
control: forwarded -1 https://github.com/Yubico/yubico-piv-tool/pull/334

Your package is failing to build using OpenSSL 3.0 with the
following error:

| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ykcs11 && /usr/bin/cc -DCRYPTOKI_EXPORTS -DHAVE_EXPLICIT_BZERO -I/<<PKGBUILDDIR>>/lib -I/<<PKGBUILDDIR>>/ykcs11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -w -Wall -Wextra -Werror -Wshadow -Wwrite-strings -Wmissing-prototypes -Wbad-function-cast -pedantic -fstack-protector-all -std=c99 -Wno-unused-result  -fvisibility=hidden -fPIC -DSTATIC  -std=gnu99 -MD -MT ykcs11/CMakeFiles/ykcs11.dir/ykcs11.c.o -MF CMakeFiles/ykcs11.dir/ykcs11.c.o.d -o CMakeFiles/ykcs11.dir/ykcs11.c.o -c /<<PKGBUILDDIR>>/ykcs11/ykcs11.c
| In file included from /usr/include/openssl/crypto.h:39,
|                  from /usr/include/openssl/bn.h:26,
|                  from /<<PKGBUILDDIR>>/ykcs11/openssl_types.h:34,
|                  from /<<PKGBUILDDIR>>/ykcs11/ykcs11.h:37,
|                  from /<<PKGBUILDDIR>>/ykcs11/ykcs11.c:31:
| /usr/include/openssl/core.h:72:11: error: unknown type name ‘OSSL_DISPATCH’
|    72 |     const OSSL_DISPATCH *implementation;
|       |           ^~~~~~~~~~~~~
| /usr/include/openssl/core.h:191:43: error: unknown type name ‘OSSL_DISPATCH’
|   191 |                                     const OSSL_DISPATCH *in,
|       |                                           ^~~~~~~~~~~~~
| /usr/include/openssl/core.h:192:43: error: unknown type name ‘OSSL_DISPATCH’
|   192 |                                     const OSSL_DISPATCH **out,
|       |                                           ^~~~~~~~~~~~~
| /usr/include/openssl/core.h:216:35: error: unknown type name ‘OSSL_PARAM’
|   216 | typedef int (OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg);
|       |                                   ^~~~~~~~~~
| /usr/include/openssl/core.h:217:41: error: unknown type name ‘OSSL_PARAM’
|   217 | typedef int (OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[],
|       |                                         ^~~~~~~~~~
| /usr/include/openssl/core.h:218:35: error: unknown type name ‘OSSL_PARAM’; did you mean ‘OSSL_PARAM_REAL’?
|   218 |                                   OSSL_PARAM out_params[], void *arg);
|       |                                   ^~~~~~~~~~
|       |                                   OSSL_PARAM_REAL
| /usr/include/openssl/core.h:227:46: error: unknown type name ‘OSSL_PARAM’
|   227 |                                        const OSSL_PARAM params[], void *arg);
|       |                                              ^~~~~~~~~~
| In file included from /usr/include/openssl/bn.h:26,
|                  from /<<PKGBUILDDIR>>/ykcs11/openssl_types.h:34,
|                  from /<<PKGBUILDDIR>>/ykcs11/ykcs11.h:37,
|                  from /<<PKGBUILDDIR>>/ykcs11/ykcs11.c:31:
…

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian



More information about the Pkg-auth-maintainers mailing list