Bug#1019096: bullseye-pu: package cifs-utils/2:6.11-3.1+deb11u2
Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian.org@packages.debian.org
Usertags: pu
There's a FTBFS issue with cifs-utils on bullseye, #993014.
This update address that FTBFS issue only, with no other
changes
[ Reason ]
The package fails to build from source when doing non-parallel
build (or actually when doing parallel build too, sometimes),
due to wrong ordering/dependencies in the upstream Makefile
system. The problem is that the install target is two-part,
and "second" part relies on mkdir done in "first" part, while
not enforcing it. This (usually) succeeds when doing parallel
build, but always fails when doing non-parallel build.
[ Impact ]
There's no other impact for the user besides the failure to
build from source.
[ Tests ]
The build succeeded when doing either parallel or non-parallel
build. Since there's no actual code changes, no other testing
is necessary.
[ Risks ]
There's no risks here, since there's no code changes done.
Only the build (ordering) fix, the same as applied to testing.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
The changelog entry:
cifs-utils (2:6.11-3.1+deb11u2) bullseye; urgency=medium
* Fix non-parallel build. Closes: #993014.
The fix adds an ordering/dependency rule to the Makefile,
which ensures that the mkdir is done first and files created
there only after that.
[ Other info ]
[ Debdiff ]
diff -Nru cifs-utils-6.11/debian/changelog cifs-utils-6.11/debian/changelog
--- cifs-utils-6.11/debian/changelog 2022-05-10 23:12:42.000000000 +0300
+++ cifs-utils-6.11/debian/changelog 2022-08-27 03:20:00.000000000 +0300
@@ -1,3 +1,9 @@
+cifs-utils (2:6.11-3.1+deb11u2) bullseye; urgency=medium
+
+ * Fix non-parallel build. Closes: #993014.
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sat, 27 Aug 2022 02:20:00 +0200
+
cifs-utils (2:6.11-3.1+deb11u1) bullseye-security; urgency=high
* Non-maintainer upload by the Security Team.
diff -Nru cifs-utils-6.11/debian/patches/root_sbindir-hook.patch cifs-utils-6.11/debian/patches/root_sbindir-hook.patch
--- cifs-utils-6.11/debian/patches/root_sbindir-hook.patch 1970-01-01 03:00:00.000000000 +0300
+++ cifs-utils-6.11/debian/patches/root_sbindir-hook.patch 2022-08-27 03:20:00.000000000 +0300
@@ -0,0 +1,11 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -118,7 +118,7 @@
+
+ SUBDIRS = contrib
+
+-install-exec-hook:
++install-exec-hook: install-root_sbinPROGRAMS
+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
+
+ install-data-hook:
diff -Nru cifs-utils-6.11/debian/patches/series cifs-utils-6.11/debian/patches/series
--- cifs-utils-6.11/debian/patches/series 2022-05-10 23:12:42.000000000 +0300
+++ cifs-utils-6.11/debian/patches/series 2022-08-27 03:20:00.000000000 +0300
@@ -5,3 +5,4 @@
0011-fix-regression-for-CVE-2021-20208.patch
CVE-2022-27239-mount.cifs-fix-length-check-for-ip-op.patch
mount.cifs-fix-verbose-messages-on-option-parsing.patch
+root_sbindir-hook.patch
Reply to: