Control: tags -1 + patch On 2020-06-24 20:53 +0200, Sven Joachim wrote:
> Source: util-linux > Version: 2.35.1-1 > Severity: important > Tags: FTBFS > > Your package fails to build on the kfreebsd and hurd ports, because it > invokes dh_makeshlibs for the packages libmount1{,-udeb} which do not > exist on these architectures. > > ,---- > | dh_makeshlibs -plibmount1 -V \ > | --add-udeb=libmount1-udeb > | dh_makeshlibs: error: The udeb libmount1-udeb does not contain any > | shared libraries but --add-udeb=libmount1-udeb was passed!? > | debian/rules:147: recipe for target 'override_dh_makeshlibs' failed > `---- The attached patch should fix that, although I have not tested it. Another possibility would be to drop the dh_makeshlibs override altogether, relying on the automatic detection of udebs in debhelper 12.3 and later. In that case, the debhelper compat level should probably be bumped to 13, since buster only has debhelper 12.1.1. Cheers, Sven
From 710926f9248f680feb514fb70bd33898dfe0c577 Mon Sep 17 00:00:00 2001 From: Sven Joachim <svenj...@gmx.de> Date: Wed, 24 Jun 2020 21:00:49 +0200 Subject: [PATCH 1/1] Do not invoke dh_makeshlibs for libmount1 on non-linux arches It does not exist there, leading to an error from dh_makeshlibs. Closes: #963625 --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 784cf20d2..e985fe25e 100755 --- a/debian/rules +++ b/debian/rules @@ -153,8 +153,10 @@ override_dh_makeshlibs: --add-udeb=libblkid1-udeb dh_makeshlibs -plibfdisk1 -V \ --add-udeb=libfdisk1-udeb +ifeq ($(DEB_HOST_ARCH_OS),linux) dh_makeshlibs -plibmount1 -V \ --add-udeb=libmount1-udeb +endif dh_makeshlibs -plibuuid1 -V \ --add-udeb=libuuid1-udeb -- 2.27.0