Package: util-linux
Version: 2.20.1-1
Severity: serious
Tags: patch
Justification: FTBFS on kfreebsd
Hello,
util-linux FTBFS on !linux-any due to forcing the build of partx, which
is linux-only. The attached patch only enables it on Linux ports.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages util-linux depends on:
ii debconf [debconf-2.0] 1.5.41
ii dpkg 1.16.1.1
ii initscripts 2.88dsf-13.13
ii install-info 4.13a.dfsg.1-8
ii libblkid1 2.20.1-1
ii libc0.3 2.13-22~0
ii libncursesw5 5.9-4
ii libslang2 2.2.4-3
ii libtinfo5 5.9-4
ii libuuid1 2.20.1-1
ii lsb-base 3.2-28
ii tzdata 2011n-1
ii zlib1g 1:1.2.3.4.dfsg-3
util-linux recommends no packages.
Versions of packages util-linux suggests:
pn dosfstools <none>
pn kbd | console-tools <none>
pn util-linux-locales <none>
-- no debconf information
--- debian/rules.orig 2011-11-27 12:50:05.000000000 +0100
+++ debian/rules 2011-11-27 12:50:33.000000000 +0100
@@ -32,9 +32,9 @@
version := $(shell sed -e '1{;s|^util-linux (\(.*\))\ .*|\1|;q;}'
debian/changelog)
Upstream := $(shell sed 's/^.*(\(.*\)-.*).*/\1/; q' debian/changelog)
-CONFOPTS= --enable-raw --enable-rdev --enable-partx --with-slang
+CONFOPTS= --enable-raw --enable-rdev --with-slang
ifeq ($(DEB_HOST_ARCH_OS),linux)
-CONFOPTS += --with-selinux --enable-libmount-mount
+CONFOPTS += --enable-partx --with-selinux --enable-libmount-mount
endif
build: build-arch build-indep