Source: util-linux
Version: 2.39.2-2.2
Severity: important
Tags: patch
User: [email protected]
Usertags: rebootstrap

Hi,

When submitting my patch for the systemd.pc move, I failed to check the
stage1 profile. debhelper is very unhappy about not finding a
substitution variable that it does not know it does not need. The
obvious workaround is setting it. I'm attaching a patch for your
convenience. Setting severity important as this breaks architecture
bootstrap for all architectures. Sorry for not having properly tested
this earlier.

Helmut
diff --minimal -Nru util-linux-2.39.2/debian/changelog 
util-linux-2.39.2/debian/changelog
--- util-linux-2.39.2/debian/changelog  2023-10-09 21:21:34.000000000 +0200
+++ util-linux-2.39.2/debian/changelog  2023-10-14 23:04:34.000000000 +0200
@@ -1,3 +1,10 @@
+util-linux (2.39.2-2.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS in stage1 (regression of #1052981). (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 14 Oct 2023 23:04:34 +0200
+
 util-linux (2.39.2-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru util-linux-2.39.2/debian/rules 
util-linux-2.39.2/debian/rules
--- util-linux-2.39.2/debian/rules      2023-10-09 21:21:34.000000000 +0200
+++ util-linux-2.39.2/debian/rules      2023-10-14 22:56:12.000000000 +0200
@@ -55,6 +55,8 @@
 
 ifeq ($(filter stage1,$(DEB_BUILD_PROFILES))-$(DEB_HOST_ARCH_OS),-linux)
 export deb_systemdsystemunitdir = $(shell pkg-config 
--variable=systemdsystemunitdir systemd | sed s,^/,,)
+else
+export deb_systemdsystemunitdir = debhelper needs this variable even when it 
doesn't need it
 endif
 
 %:

Reply via email to