Bug#909346: glib2.0 FTBFS with profile noudeb

Helmut Grohne helmut at subdivi.de
Sat Sep 22 06:28:12 BST 2018


Source: glib2.0
Version: 2.58.0-4
Tags: patch ftbfs

glib2.0 fails to build from source on amd64 in unstable when using the
noudeb profile. The dh_missing call for the udeb is not conditionalized
and consequently fails. The attached patch makes the build work. Please
consider applying it.

Helmut
-------------- next part --------------
diff --minimal -Nru glib2.0-2.58.0/debian/changelog glib2.0-2.58.0/debian/changelog
--- glib2.0-2.58.0/debian/changelog	2018-09-17 23:47:57.000000000 +0200
+++ glib2.0-2.58.0/debian/changelog	2018-09-22 07:03:31.000000000 +0200
@@ -1,3 +1,10 @@
+glib2.0 (2.58.0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with noudeb profile. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 22 Sep 2018 07:03:31 +0200
+
 glib2.0 (2.58.0-4) unstable; urgency=medium
 
   [ Simon McVittie ]
diff --minimal -Nru glib2.0-2.58.0/debian/rules glib2.0-2.58.0/debian/rules
--- glib2.0-2.58.0/debian/rules	2018-09-17 23:47:57.000000000 +0200
+++ glib2.0-2.58.0/debian/rules	2018-09-22 07:03:29.000000000 +0200
@@ -182,5 +182,7 @@
 	dh_install --remaining-packages --sourcedir=debian/install/deb
 
 override_dh_missing:
+ifneq ($(filter %-udeb,$(binaries)),)
 	dh_missing --sourcedir=debian/install/udeb --fail-missing
+endif
 	dh_missing --sourcedir=debian/install/deb --fail-missing


More information about the pkg-gnome-maintainers mailing list