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

Bug#794644: xorg-server: FTBFS on hurd-i386



Source: xorg-server
Version: 1.17.2-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

Currently xorg-server fails to build on GNU/Hurd, see [1]. The build
failure during dh_install is due to that the man page modesetting.4 is
not created since no modesetting code is compiled. The attached patch
debian_rules.diff avoids the installation of that manpage on Hurd by
excluding files containing modesetting in their name. This problem
occurred by fixing bug #789646:
* Install the modesetting.4 manpage into xserver-xorg-core (Closes: #789646)

Thanks!

[1] https://buildd.debian.org/status/fetch.php?pkg=xorg-server&arch=hurd-i386&ver=2%3A1.17.2-1&stamp=1435816870

--- xorg-server-1.17.2/debian/rules	2015-07-31 12:42:07.000000000 +0200
+++ xorg-server-1.17.2/debian/rules	2015-07-31 14:59:26.000000000 +0200
@@ -358,7 +358,11 @@
 
 	dh_installdocs -s
 	dh_installchangelogs -s
+ifeq ($(DEB_HOST_ARCH_OS), hurd)
+	dh_install -Xmodesetting $(DH_INSTALL_OPTIONS) -s --list-missing
+else
 	dh_install $(DH_INSTALL_OPTIONS) -s --list-missing
+endif
 	$(INSTALL) -d $(CURDIR)/debian/xserver-xorg-dev/usr/share/xserver-xorg
 	# Extract only the major ABI version:
 	abi_videodrv=`PKG_CONFIG_PATH=debian/tmp/main/usr/lib/pkgconfig pkg-config --variable=abi_videodrv xorg-server|cut -d . -f 1`; \

Reply to: