Bug#1143342: nextcloud-desktop: FTBFS: [01m[K/usr/include/libp11.h:28:10:[m[K [01;31m[Kfatal error: [m[Kp11_ver.h: No such file or directory

Edmund Lodewijks <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <392b06b0-002a-425f-86cd-696a4a33b7b0__32893.4177452297$1786363818$gmane$org@proteamail.com>
On Sat, 01 Aug 2026 22:36:47 +0000 Santiago Vila <[email protected]> wrote:
> Package: src:nextcloud-desktop
> Version: 33.0.7-1
> Severity: serious
> Tags: ftbfs forky sid
> 
> Dear maintainer:
> 
> During a rebuild of all packages in unstable, this package failed to build.
> 
> [...]
> [  8%] Building CXX object src/libsync/CMakeFiles/nextcloudsync.dir/account.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libsync && /usr [too-long-redacted] nc_autogen/mocs_compilation.cpp
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libsync && /usr [too-long-redacted] LDDIR>>/src/libsync/account.cpp
> In file included from /<<PKGBUILDDIR>>/src/libsync/clientsideencryptionprimitives.h:11,
>                  from /<<PKGBUILDDIR>>/src/libsync/clientsideencryption.h:11,
>                  from /<<PKGBUILDDIR>>/src/libsync/account.h:12,
>                  from /<<PKGBUILDDIR>>/src/libsync/account.cpp:7:
> /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]: *** [src/libsync/CMakeFiles/nextcloudsync.dir/build.make:102: src/libsync/CMakeFiles/nextcloudsync.dir/account.cpp.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/clientsideencryptionprimitives.h:11,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/clientsideencryption.h:11,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/account.h:12,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libsync/nextcloudsync_autogen/EWIEGA46WW/moc_account.cpp:9,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libsync/nextcloudsync_autogen/mocs_compilation.cpp:4:
> /usr/include/libp11.h:28:10: fatal error: p11_ver.h: No such file or directory
>    28 | #include "p11_ver.h"
>       |          ^~~~~~~~~~~
> compilation terminated.

p11 did not install `p11_ver.h` in the build used here. This is fixed 
upstream (cf. 
https://github.com/OpenSC/libp11/commit/007043d355a9f7f1cd3cb6e80d16cad609fdf2a1) 
and once this lands in Debian 
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143356#21) this 
build should continue past this error.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.