[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993540: libglvnd FTBFS with the nocheck build profile



Source: libglvnd
Version: 1.3.4-1
Tags: ftbfs patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

libglvnd fails to build from source when enabling the nocheck build
profile and option. Its override_dh_auto_test is unconditionally run
(since the compatibility level is too low for debhelper to automatically
skip it) and runs xvfb-run, while xvfb is annotated <!nocheck>. Please
consider applying the attached patch to make it perform nocheck builds
(and cross builds) successfully.

Helmut
diff --minimal -Nru libglvnd-1.3.4/debian/changelog libglvnd-1.3.4/debian/changelog
--- libglvnd-1.3.4/debian/changelog	2021-09-01 15:20:13.000000000 +0200
+++ libglvnd-1.3.4/debian/changelog	2021-09-02 21:00:44.000000000 +0200
@@ -1,3 +1,10 @@
+libglvnd (1.3.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix nocheck FTBFS. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 02 Sep 2021 21:00:44 +0200
+
 libglvnd (1.3.4-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru libglvnd-1.3.4/debian/rules libglvnd-1.3.4/debian/rules
--- libglvnd-1.3.4/debian/rules	2021-09-01 15:15:23.000000000 +0200
+++ libglvnd-1.3.4/debian/rules	2021-09-02 21:00:42.000000000 +0200
@@ -13,7 +13,9 @@
 	dh_missing --fail-missing
 
 override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	xvfb-run -a ninja -C build test
+endif
 
 override_dh_makeshlibs:
 	dh_makeshlibs -a -- -c4

Reply to: