Bug#1017866: gtk4: FTBFS on non-linux

Samuel Thibault sthibault at debian.org
Sun Aug 21 20:02:01 BST 2022


Source: gtk4
Version: 4.6.6+ds-3
Severity: important
Tags: patch

Hello,

gtk4 currently FTBFS on non-linux ports because it lists
wayland-specific symbols and tries to install the wayland-specific
documentation. The attach patch is fixing it:

  * debian/libgtk-4-1.symbols.in: Update symbols list for non-linux.
  * debian/control, debian/control.in, debian/libgtk-4-doc.install: Build-dep
    on dh-exec and set +x on debian/libgtk-4-doc.install to easily avoid
    trying to install wayland documentation on non-linux.

Note that chmod +x debian/libgtk-4-doc.install needs to be done after
applying the patch.

Samuel

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

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

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
-------------- next part --------------
--- debian/control.in.original	2022-08-21 18:11:12.000000000 +0000
+++ debian/control.in	2022-08-21 18:17:19.000000000 +0000
@@ -7,6 +7,7 @@
                at-spi2-core <!nocheck>,
                dbus <!nocheck>,
                debhelper-compat (= 13),
+               dh-exec,
                docbook-xml,
                docbook-xsl,
                dpkg-dev (>= 1.17.14),
--- debian/control.original	2022-08-21 15:38:41.000000000 +0000
+++ debian/control	2022-08-21 18:17:19.000000000 +0000
@@ -7,6 +7,7 @@
                at-spi2-core <!nocheck>,
                dbus <!nocheck>,
                debhelper-compat (= 13),
+               dh-exec,
                docbook-xml,
                docbook-xsl,
                dpkg-dev (>= 1.17.14),
--- debian/libgtk-4-1.symbols.in.original	2022-08-21 13:47:20.000000000 +0000
+++ debian/libgtk-4-1.symbols.in	2022-08-21 13:47:47.000000000 +0000
@@ -537,8 +537,8 @@
  (arch=linux-any)gdk_wayland_device_get_wl_keyboard at Base 4.0.0
  (arch=linux-any)gdk_wayland_device_get_wl_pointer at Base 4.0.0
  (arch=linux-any)gdk_wayland_device_get_wl_seat at Base 4.0.0
- gdk_wayland_device_get_xkb_keymap at Base 4.3.1
- gdk_wayland_display_get_egl_display at Base 4.3.1
+ (arch=linux-any)gdk_wayland_device_get_xkb_keymap at Base 4.3.1
+ (arch=linux-any)gdk_wayland_display_get_egl_display at Base 4.3.1
  (arch=linux-any)gdk_wayland_display_get_startup_notification_id at Base 4.0.0
  (arch=linux-any)gdk_wayland_display_get_type at Base 4.0.0
  (arch=linux-any)gdk_wayland_display_get_wl_compositor at Base 4.0.0
@@ -550,7 +550,7 @@
  (arch=linux-any)gdk_wayland_monitor_get_type at Base 4.0.0
  (arch=linux-any)gdk_wayland_monitor_get_wl_output at Base 4.0.0
  (arch=linux-any)gdk_wayland_popup_get_type at Base 4.0.0
- gdk_wayland_seat_get_type at Base 4.0.0
+ (arch=linux-any)gdk_wayland_seat_get_type at Base 4.0.0
  (arch=linux-any)gdk_wayland_seat_get_wl_seat at Base 4.0.0
  (arch=linux-any)gdk_wayland_surface_get_type at Base 4.0.0
  (arch=linux-any)gdk_wayland_surface_get_wl_surface at Base 4.0.0
--- debian/libgtk-4-doc.install.original	2022-08-21 15:38:51.000000000 +0000
+++ debian/libgtk-4-doc.install	2022-08-21 15:39:01.000000000 +0000
@@ -1,5 +1,6 @@
+#! /usr/bin/dh-exec
 usr/share/doc/gdk4 usr/share/doc/${env:DOC_PKG}
-usr/share/doc/gdk4-wayland usr/share/doc/${env:DOC_PKG}
+[linux-any] usr/share/doc/gdk4-wayland usr/share/doc/${env:DOC_PKG}
 usr/share/doc/gdk4-x11 usr/share/doc/${env:DOC_PKG}
 usr/share/doc/gsk4 usr/share/doc/${env:DOC_PKG}
 usr/share/doc/gtk4 usr/share/doc/${env:DOC_PKG}


More information about the pkg-gnome-maintainers mailing list