#1149456 papers: FTBFS: /usr/include/gtk-4.0/gdk/gdkkeysyms.h:32:2: error: #error "Only <gdk/gdk.h> can be included directly."

Package:
src:papers
Source:
src:papers
Submitter:
Santiago Vila
Date:
2026-10-02 16:51:02 UTC
Severity:
normal
Tags:
#1149456#5
Date:
2026-09-29 23:06:00 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/202609/

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:papers, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[81/308] cc -Ilibview/libppsview-4.0.so.5.0.0.p -Ilibview -I [too-long-redacted] o -c ../libview/pps-view-page.c
[82/308] cc -Ilibview/libppsview-4.0.so.5.0.0.p -Ilibview -I [too-long-redacted] libview/pps-view-presentation.c
FAILED: [code=1] libview/libppsview-4.0.so.5.0.0.p/pps-view-presentation.c.o
cc -Ilibview/libppsview-4.0.so.5.0.0.p -Ilibview -I../libvie [too-long-redacted] libview/pps-view-presentation.c
In file included from ../libview/pps-view-presentation.c:10:
/usr/include/gtk-4.0/gdk/gdkkeysyms.h:32:2: error: #error "Only <gdk/gdk.h> can be included directly."
   32 | #error "Only <gdk/gdk.h> can be included directly."
      |  ^~~~~
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v returned exit code 1
make: *** [debian/rules:28: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149456#10
Date:
2026-10-02 16:48:58 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
papers, 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 1149456@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated papers 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: Fri, 02 Oct 2026 18:26:41 +0200
Source: papers
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 49.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1149456
Changes:
 papers (49.3-4) unstable; urgency=medium
 .
   * Cherry-pick patch to fix build with gtk4 4.24 (Closes: #1149456)
Checksums-Sha1:
 19e530fd5a347507d8b1d7db36a509e6bb6490c6 4529 papers_49.3-4.dsc
 7e50b611dd8f6e16c46282acddc1362e82a47cd3 59368 papers_49.3-4.debian.tar.xz
 8ab94749c7dfb02ed9a40ec9cafcf66a55748a9a 12843 papers_49.3-4_source.buildinfo
Checksums-Sha256:
 ac0106d2bf07db3f3cfdb1c2ef4c96fe99ea982327a539c596d8c3796ecc6d29 4529 papers_49.3-4.dsc
 a5df611ea98f0cc26e029f65c3d8a1e3d456579f78039bbb6778868f414823e9 59368 papers_49.3-4.debian.tar.xz
 8f8f0736312ec56081e6fa01acd13e115650ec770ba769948d777ca579f1685c 12843 papers_49.3-4_source.buildinfo
Files:
 ff23878016c40b15e5e0ca160e0866c7 4529 gnome optional papers_49.3-4.dsc
 ae0db198b12cd6c0abcb06bee591d1c1 59368 gnome optional papers_49.3-4.debian.tar.xz
 294e27d8291c4acbe67d16e971e4315c 12843 gnome optional papers_49.3-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmq/22sACgkQ5mx3Wuv+
bH3zhRAAoF0rUbvAq/78IcBWuV6GiLj3SH9c34b3FYn0eRjTrHOTFRClXiG36z96
SjR+VjXxC2HgNGnZn6QD4VK7LE43zxjR4KLHLM/Bm3h29P/Zf9UciZVSliR+bHgQ
GlOtuMYKOevZ7DRp3iFAYpLD/qwrMzZTEXiiBz/eUShDXpeP4MVuoBhgeUzdO9kR
LVkV2gm5GTXYGmyxFwrdrb0UJzShAFIUOCbNdbu7o52PhSx8Bmz6AcnSwDy+YxXZ
9g/hleJFCXdutW4r7fGAo3pBW4twkoeOc7Jl/Y9sHmAuHdFUvCovUtU4PDAMXgtK
YANCKCmy6VKxRjQxJuoZ5RqEp4Ry1u3gzUydewsSbcJ4BhEOEaTtkzye7mvPIInD
jCt0CxKQmLkfdo32jgh9brkTrmfPNInhG1zIsBQu4fZGAte97K+XE1wpQlVGk+lt
Lo+ZAnCybXhVLFC4QxP1lMDFMZOlr59/vH37tV+fQiftI8MOo/ick/t7pTKYXO/4
j9GC3QE2CGoDoSDzxqEnm069JeDqhDuoVD7wfc3OlVVO2fAw2YIVfdpHfUfxmc6d
Qp0wWeEGlXSre7wDGw68U11HQaX5wxApJ70T1NM+WswJWEuQl+vLuM7d5UTiLOBC
R+DonIo/Yg1t4BxOZTmb/FqD9bM6c65Y3P3zSnIP3awFTGezsto=
=aP2y
-----END PGP SIGNATURE-----