On Sat, 4 Apr 2020 22:07:52 +0200 Sebastian Andrzej Siewior
<sebast...@breakpoint.cc> wrote:
> On 2019-12-03 20:18:20 [-0800], Jonathan Nieder wrote:
> > Hi,
> Hi,
>
> > Let's track down the cause first, before pursuing workarounds.
>
> Nothing happened here so far and I almost forgot about it. xz 5.2.5 has
> been released in the meantime. Do you want me to help you out in anyway?
> I could add the fix I suggested and prepare the new release.
>


Here is the debdiff that makes everything work for me.

It smells like a subtle breakage in detecting/parsing makefile
targets, or like make regression.

It is still odd, i.e. there is build target, then binary target, which
then via dependencies calls binary-arch & binary-all. So not sure if
the results are correct or not.
diff -Nru xz-utils-5.2.4/debian/changelog xz-utils-5.2.4/debian/changelog
--- xz-utils-5.2.4/debian/changelog	2019-01-28 01:09:34.000000000 +0000
+++ xz-utils-5.2.4/debian/changelog	2020-04-09 14:13:56.000000000 +0100
@@ -1,3 +1,10 @@
+xz-utils (5.2.4-1.1) unreleased; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS due to odd targets in debian/rules. Closes: #945961
+
+ -- Dimitri John Ledkov <x...@ubuntu.com>  Thu, 09 Apr 2020 14:13:56 +0100
+
 xz-utils (5.2.4-1) unstable; urgency=low
 
   * New upstream release.  Closes: #851615.
diff -Nru xz-utils-5.2.4/debian/rules xz-utils-5.2.4/debian/rules
--- xz-utils-5.2.4/debian/rules	2019-01-28 01:07:43.000000000 +0000
+++ xz-utils-5.2.4/debian/rules	2020-04-09 14:11:01.000000000 +0100
@@ -1,10 +1,10 @@
 #!/usr/bin/make -f
 
-build clean install binary-arch binary-indep binary:
+%:
 	+dh $@ --parallel $(opt_no_act)
 
 # Runs tests, too, if and only if nocheck is unset (see below).
-build-arch:: build-plain build-static build-small
+build-arch: build-plain build-static build-small
 
 build-indep: debian/normal-build/Makefile
 	cd debian/normal-build && doxygen Doxyfile
@@ -133,9 +133,9 @@
 endif
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-build-arch:: debian/test-plain-stamp
-build-arch:: debian/test-static-stamp
-build-arch:: debian/test-xzdec-stamp
+build-arch: debian/test-plain-stamp
+build-arch: debian/test-static-stamp
+build-arch: debian/test-xzdec-stamp
 endif
 
 # Build a tarball with the latest upstream version.

Reply via email to