Bug#1115954: gnome-remote-desktop: FTBFS: /usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/freerdp.h:25:10: fatal error: winpr/stream.h: No such file or directory

Simon McVittie smcv at debian.org
Mon Sep 22 14:44:46 BST 2025


On Mon, 22 Sep 2025 at 12:18:20 +0000, Santiago Vila wrote:
>Note: This one seems some kind of Makefile bug, so maybe --max-parallel=1
>(until upstream has a fix) would help here.

Is there a reason you say that, that isn't visible in the part of the 
log that you quoted?

gnome-remote-desktop doesn't have a Makefile, so it seems unlikely to 
have a Makefile bug! (But it could have a bug in its Meson build system, 
which is analogous).

>In file included from ../src/grd-settings.c:28:
>/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/freerdp.h:25:10: fatal error: winpr/stream.h: No such file or directory
>   25 | #include <winpr/stream.h>
>      |          ^~~~~~~~~~~~~~~~

To me, this looks like the root cause is more likely to be that 
freerdp3-dev requires libwinpr3-dev (which it does have as a Depends) 
by #include'ing files from it, but doesn't list winpr3 
in its Requires or Requires.private (or -I/usr/include/winpr3 in its 
Cflags or Cflags.private) to represent that fact. freerdp3 3.17.2 was 
uploaded recently, so this might be a regression in that version?

If that theory is correct then gnome-remote-desktop could work around it 
by explicitly checking for winpr3 as a dependency (and therefore getting 
the -I flags for winpr3 onto its compiler command-line), but the real 
solution would presumably be in libwinpr3-dev.

     smcv



More information about the pkg-gnome-maintainers mailing list