Package: libxlsxwriter-dev Version: 1.2.1-1 Severity: normal Dear Maintainer,
xlsxwriter.pc as shipped in libxlsxwriter-dev 1.2.1-1 (trixie) contains Requires.private: zlib minizip libcrypto because the package is built with -DUSE_SYSTEM_MINIZIP=ON and -DUSE_OPENSSL_MD5=ON. libxlsxwriter-dev depends on libssl-dev (which provides libcrypto.pc), but not on zlib1g-dev or libminizip-dev, which provide zlib.pc and minizip.pc. pkg-config therefore fails on a minimal system: $ docker run --rm -e DEBIAN_FRONTEND=noninteractive debian:trixie-slim sh -c ' apt-get update -qq && apt-get install -y -qq --no-install-recommends libxlsxwriter-dev pkgconf >/dev/null && pkg-config --cflags xlsxwriter; echo "exit: $?"' Package zlib was not found in the pkg-config search path. Perhaps you should add the directory containing `zlib.pc' to the PKG_CONFIG_PATH environment variable Package 'zlib', required by 'xlsxwriter', not found Package 'minizip', required by 'xlsxwriter', not found exit: 1 After installing zlib1g-dev and libminizip-dev, the same command prints "-I/usr/include/minizip" and exits with 0. The Depends of libxlsxwriter-dev in sid (1.2.4-1) are unchanged, so the issue appears to be present there as well. I came across this while building a Python extension against libxlsxwriter; the analysis was done with the help of an AI assistant, and I verified the reproduction above myself. -- Adrian Bürger Path to Zero GmbH https://pathtozero.de

