Bug#1142697: libp11-dev: Software depending on libp11-dev fails to buidl from source

Matthieu Gallien <[email protected]> Fri, 24 Jul 2026 10:32:34 +0200
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <178488195406.38772.13108775846550619847.reportbug__22091.9256958709$1784882130$gmane$org@granier.mgallien.fr>
Package: libp11-dev
Version: 0.4.19-1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: amd64

Dear Maintainer,

Software depending on libp11-dev fails to build.
For example, https://tracker.debian.org/pkg/nextcloud-desktop would not
build.
Build error is the following:

/usr/include/libp11.h:28:10: fatal error: p11_ver.h: No such file or directory
   28 | #include "p11_ver.h"
      |          ^~~~~~~~~~~
compilation terminated.


manually removing the #include line will fix teh build

I suspect that the issue comes from upstream.
The nextcloud desktop flathub packaging has the same build error with
libp11 0.4.19
https://github.com/flathub-infra/vorarbeiter/actions/runs/29885754187/job/88815952170#step:17:1227

I did not yet report the issue upstream.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.14+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:fr_FR
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libp11-dev depends on:
ii  libp11-3t64  0.4.19-1
ii  libssl-dev   3.6.3-1

libp11-dev recommends no packages.

libp11-dev suggests no packages.

-- no debconf information