#1143356 pam-p11: FTBFS: /usr/include/libp11.h:28:10: fatal error: p11_ver.h: No such file or directory

Package:
src:pam-p11
Source:
src:pam-p11
Submitter:
Santiago Vila
Date:
2026-08-10 11:21:02 UTC
Severity:
normal
Tags:
#1143356#5
Date:
2026-08-01 22:37:15 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pam-p11, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint --force
Copying file ABOUT-NLS
Copying file ./config.rpath
Copying file m4/codeset.m4
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: configure.ac: not running autopoint a second time
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:11: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:11: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:1059: AM_CONFIG_HEADER is expanded from...
configure.ac:11: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:18: installing './compile'
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: configure.ac: not running make: --make not given
autoreconf: Leaving directory '.'
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- --with-pamdir=/usr/lib/x86_64-linux-gnu/security --disable-strict
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-pamdir=/usr/lib/x86_64-linux-gnu/security --disable-strict
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether UID '995' is supported by ustar format... yes
checking whether GID '995' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... x86_64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-linux-gnu-gcc accepts -g... yes
checking for x86_64-linux-gnu-gcc option to enable C23 features... none needed
checking whether x86_64-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-linux-gnu-gcc... none
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by x86_64-linux-gnu-gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E
checking for egrep -e... /usr/bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-linux-gnu-gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ranlib... ranlib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking command to parse /usr/bin/nm -B output from x86_64-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-linux-gnu-gcc static flag -static works... yes
checking if x86_64-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for libp11 >= 0.2.4... yes
checking for libcrypto >= 1.1.1... yes
checking for pam_authenticate in -lpam... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for string.h... (cached) yes
checking for syslog.h... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for security/pam_ext.h... yes
checking for security/pam_misc.h... yes
checking for size_t... yes
checking whether malloc (0) returns nonnull... yes
checking whether realloc (0, 0) returns nonnull... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for memset... yes
checking for strdup... yes
checking for strerror... yes
checking for PKCS11_enumerate_public_keys... yes
checking for PKCS11_is_logged_in... yes
checking for pam_vprompt... yes
checking for openpam_ttyconv... no
checking for misc_conv in -lpam_misc... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands

pam_p11 has been configured with the following options:


Version:                 0.6.1
Libraries:               /usr/lib/x86_64-linux-gnu

Host:                    x86_64-pc-linux-gnu
Compiler:                x86_64-linux-gnu-gcc
Preprocessor flags:      -Wdate-time -D_FORTIFY_SOURCE=2
Compiler flags:          -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations
Linker flags:            -Wl,-z,relro
Libraries:

pamdir                   /usr/lib/x86_64-linux-gnu/security

PAM_CFLAGS:
PAM_LIBS:                -lpam
LIBP11_CFLAGS:
LIBP11_LIBS:             -lp11
OPENSSL_CFLAGS:
OPENSSL_LIBS:            -lcrypto

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
	make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in po
make[3]: Entering directory '/<<PKGBUILDDIR>>/po'
test ! -f ./pam_p11.pot || \
  test -z "de.gmo it.gmo ru.gmo ja.gmo" || make de.gmo it.gmo ru.gmo ja.gmo
make[4]: Entering directory '/<<PKGBUILDDIR>>/po'
rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
rm -f it.gmo && /usr/bin/msgfmt -c --statistics --verbose -o it.gmo it.po
de.po: 18 translated messages, 3 fuzzy translations, 1 untranslated message.
it.po: 21 translated messages, 1 untranslated message.
rm -f ru.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ru.gmo ru.po
rm -f ja.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po
ru.po:2: warning: header field 'PO-Revision-Date' missing in header
ru.po:2: warning: header field 'Language-Team' missing in header
ru.po: 21 translated messages, 1 fuzzy translation.
ja.po:7: warning: header field 'Language-Team' missing in header
ja.po: 22 translated messages.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/po'
touch stamp-po
make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2    -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DTEST -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o test_login-test.o `test -f 'test.c' || echo './'`test.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2    -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DTEST -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o test_login-login.o `test -f 'login.c' || echo './'`login.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2    -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DTEST -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o test_login-pam_p11.o `test -f 'pam_p11.c' || echo './'`pam_p11.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2    -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DTEST -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o test_login-base64.o `test -f 'base64.c' || echo './'`base64.c
In file included from pam_p11.c:32:
/usr/include/libp11.h:28:10: fatal error: p11_ver.h: No such file or directory
   28 | #include "p11_ver.h"
      |          ^~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:576: test_login-pam_p11.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:504: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:415: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143356#10
Date:
2026-08-10 10:42:16 UTC
From:
To:
Please import the latest libp11 version to fix this.
#1143356#21
Date:
2026-08-10 11:19:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libp11, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143356@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated libp11 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 10 Aug 2026 12:59:50 +0200
Source: libp11
Architecture: source
Version: 0.4.20-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenSC Maintainers <pkg-opensc-maint@lists.alioth.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1143356
Changes:
 libp11 (0.4.20-1) unstable; urgency=medium
 .
   * Team upload
   * New upstream release (Closes: #1143356)
 .
   [ Eric Dorland ]
   * Remove redundant Priority: optional from source stanza.
   * Replace FSF postal address with a reference to https://www.gnu.org/licenses/.
   * Update standards version to 4.7.4, no changes needed.
   * Removed Rules-Requires-Root
Checksums-Sha1:
 886f1affa747bcae81ae401b10e8cdc1ea95c5dc 2297 libp11_0.4.20-1.dsc
 03cc89d16711ce916ea45c19fbe0cb81ae2baa4b 680288 libp11_0.4.20.orig.tar.gz
 bdd11806159739f2d2c180ede0d77a99bf451f06 833 libp11_0.4.20.orig.tar.gz.asc
 c73bad4730d9f20241a818209c698704534e4b47 13896 libp11_0.4.20-1.debian.tar.xz
 2eb84aebdae7c9fe34d2df290cbae88853423b4a 5328 libp11_0.4.20-1_source.buildinfo
Checksums-Sha256:
 1eefa5be7b64c50d80054f568d96447cc8100b9fc38f94cce0af4ed3f8f62004 2297 libp11_0.4.20-1.dsc
 a125e0310ff10c189fc1b32a9652101486ea94a6b07c677a30e90e3638d2db48 680288 libp11_0.4.20.orig.tar.gz
 4cf191e8b8984846ead6885dd9a5fedcf4f6c315c5ff9dcf55d38cc921379a37 833 libp11_0.4.20.orig.tar.gz.asc
 bd3bfa5120e18d2a4f0b9a3532cd3ae4ba62963f6da54a74ff457c42165f72bc 13896 libp11_0.4.20-1.debian.tar.xz
 e5b8563cc8442c32af0dabd4c181daaec6fe190e798ff633b31294b790d1e1c3 5328 libp11_0.4.20-1_source.buildinfo
Files:
 07bfce542e63962054cb3e33c8588bf3 2297 libdevel optional libp11_0.4.20-1.dsc
 d0f6ec616c03a96e557125ddb0d03c5a 680288 libdevel optional libp11_0.4.20.orig.tar.gz
 c424ddde12134f3342d8b32ba70594f6 833 libdevel optional libp11_0.4.20.orig.tar.gz.asc
 8a417177aa97ceb23ff5efccab99ab5b 13896 libdevel optional libp11_0.4.20-1.debian.tar.xz
 56c373f4065e46a981fb61daf98fe73a 5328 libdevel optional libp11_0.4.20-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmp5sBYQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFEknC/9JS32wAJdBxlbuSKPkde66hp06iziPkrVq
lkhvaItq28J9fjEdgJvnTnT5CO1XTZlil8e1q1lMu+0pXz4mIH787JwUkx8LWAw1
qkH9QdiBMXnCOhFSpyN7PjWg+W0QDKtKSB4ksJKyu5rhVmMeHGfMqQtcta/3HXKi
oRWStqHLBlWPnDsFhVYlUhOjlckb6Xw65pdjs9l7/+MUgp9UK09rLFREjFmhRRur
7I7BpZ0guEGYST3TD5viWFVRs5yzeQ7DPoq7KuDMxHH7OqjW9YKEYEaic5HJf4CC
IhyJ5//WBDQKHMjCPJrSGZTCGHpYuREsAlTGpq/7CZAIQOkZhP0sVzuwIe+gqntz
22Dtq5QNEkXhasIn0INV+KBvwZEP8pSfBrt4b5zujd+ofgXKVcYfghwB5peLhOx3
BTYVY9nIcEIkzV/UDiOg0XVOXJnwf02E5BL9tZNwtR799s6s4lvEBE5gcSNjw9UA
v/UHgXAs0nvO5D145h09VlrV4/FKXEs=
=BG4S
-----END PGP SIGNATURE-----