Source: binutils
Version: 2.29.1-3
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Hi Matthias,

Thank you for reinstating TARGET= support in the -3 upload.

Unfortunately, you removed two lines too much. The assignments of
p_cross and d_cross are now missing. The respective variables default to
empty and that causes the TARGET= build to try to remove /usr/share/man.

The attached patch reinstates those two variables. After applying it,
TARGET= builds work again.

Helmut
diff --minimal -Nru binutils-2.29.1/debian/changelog 
binutils-2.29.1/debian/changelog
--- binutils-2.29.1/debian/changelog    2017-09-23 14:00:50.000000000 +0200
+++ binutils-2.29.1/debian/changelog    2017-09-24 21:25:37.000000000 +0200
@@ -1,3 +1,10 @@
+binutils (2.29.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix TARGET= builds. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 24 Sep 2017 21:25:37 +0200
+
 binutils (2.29.1-3) unstable; urgency=medium
 
   * Update, taken from the 2.29 branch 20170923.
diff --minimal -Nru binutils-2.29.1/debian/rules binutils-2.29.1/debian/rules
--- binutils-2.29.1/debian/rules        2017-09-23 14:00:50.000000000 +0200
+++ binutils-2.29.1/debian/rules        2017-09-24 21:25:37.000000000 +0200
@@ -54,6 +54,8 @@
 p_hst = $(p_bin)-for-host
 p_bld = $(p_bin)-for-build
 
+p_cross = $(p_bin)-$(subst _,-,$(TARGET))
+
 # version used for p_bld/p_hst dependencies
 min_ver = 2.29-6
 
@@ -87,6 +89,8 @@
 d_hst = debian/$(p_hst)
 d_bld = debian/$(p_bld)
 
+d_cross = debian/$(p_cross)
+
 install_dir    = install -d -m 755
 install_file   = install -m 644
 install_script = install -m 755

Reply via email to