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

Package:
libp11-dev
Source:
libp11-dev
Description:
pkcs#11 convenience library - development files
Submitter:
Matthieu Gallien
Date:
2026-08-10 11:17:01 UTC
Severity:
normal
Tags:
#1142697#5
Date:
2026-07-24 08:32:34 UTC
From:
To:
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 ***

#1142697#10
Date:
2026-07-24 08:40:07 UTC
From:
To:
I reported the issue upstream as I suspect the issue comes from their
release.

See https://github.com/OpenSC/libp11/issues/664

#1142697#19
Date:
2026-08-10 11:15:46 UTC
From:
To: