[Pkg-auth-maintainers] Bug#1003699: libfido2-dev: missing dependency on libssl-dev breaks pkg-config

Luca Boccassi bluca at debian.org
Thu Jan 13 20:55:45 GMT 2022


Package: libfido2-dev
Version: 1.9.0-1
Tags: patch

While adding libfido2-dev as a dependency to src:systemd, we noticed
that it fails to build if libssl-dev is not installed, because
libfido2.pc lists:

Requires: libcrypto

So pkg-config --cflags --libs libfido2 breaks:

pkg-config error with 'libfido2': Could not generate cargs for libfido2:
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcrypto', required by 'libfido2', not found

Could not generate cargs for libfido2:
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcrypto', required by 'libfido2', not found

libssl-dev is currently suggested, so it should be bumped to a dependency.

MR submitted on Salsa:

https://salsa.debian.org/auth-team/libfido2/-/merge_requests/5

Kind regards,
Luca Boccassi



More information about the Pkg-auth-maintainers mailing list