Source: glib2.0 Version: 2.50.2-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, glib2.0 currently FTBFS on !linux because debian/rules inconditionally enables the use of libmount, available on Linux only. The attached patch fixes this. Samuel -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Samuel mdiym42: note to self mdiym42: make sure your cat is not sleeping in the bass drum before you start playing them
--- debian/rules.original 2016-11-12 00:27:33.000000000 +0000 +++ debian/rules 2016-11-12 00:28:18.000000000 +0000 @@ -104,8 +104,12 @@ --enable-static \ --enable-installed-tests \ --enable-always-build-tests \ - --enable-debug=minimum \ + --enable-debug=minimum + +ifeq ($(DEB_HOST_ARCH_OS), linux) +DEB_CONFIGURE_FLAGS_deb += \ --enable-libmount +endif DEB_CONFIGURE_FLAGS_udeb := \ --disable-selinux \