Package: libpam0g-dev
Version: 1.7.0-5
Severity: normal

Dear Sam,

I am working on a new package which uses meson build system and requires
libpam0g-dev. However the check fails with

  ../meson.build:14:10: ERROR: Dependency lookup for pam with method 'pkgconfig'
  failed: Could not generate cflags for pam:

  Package audit was not found in the pkg-config search path.
  Perhaps you should add the directory containing `audit.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'audit', required by 'pam', not found
  
Adding libaudit-dev as a build dependency fixes the build, but my source doesn't
use libaudit itself, so that feels suboptimal.

I see pam.pc contains

 Requires.private: audit

Does that mean that libpam0g-dev should Depends: libaudit-dev, or is this a 
meson
issue?

Many thanks for your help.

Mark

-- System Information:
Debian Release: 12.11
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-40-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: OpenRC (via /run/openrc), PID 1: init

Versions of packages libpam0g-dev depends on:
ii  libc6-dev [libc-dev]  2.36-9+deb12u13
ii  libpam0g              1.5.2-6+deb12u2

libpam0g-dev recommends no packages.

libpam0g-dev suggests no packages.

Reply via email to