Source: binutils Version: 2.27-8 Severity: wishlist Tags: patch User: [email protected] Usertags: rebootstrap
Hi Matthias, as promised I am working on adding dependency cross translation for binutils and I am mostly finished with an initial proof of concept and am sorting out the remaining issues. While working on that, I tried to take care not to break any build variant of binutils and noticed that targeted cross binutils builds (i.e. writing a particular target to debian/target) are broken in sid already. The rule for generating debian/control does not interpolate all variables and thus debian/control is not parseable. I think that the targeted cross binutils variant is still relevant as the in-archive cross binutils cannot cover new architectures (e.g. nios2, arm64ilp32 or just hurd-i386). Can you apply the patch such that I can test this along with the other variants? Thank you Helmut
--- a/rules +++ b/rules @@ -432,6 +432,8 @@ ifneq (,$(TARGET)) sed "s/@dpkg_dev@/$(DPKG_DEV)/;/^$$/ q" < debian/control.in > debian/control sed -e "s/@target@/$$(echo -n $(TARGET) | sed s/_/-/g)/" \ + -e "s/@host_archs@/any/" \ + -e 's/@binutils_alt_triplet@//' \ < debian/control.cross.in >> debian/control else sed -e 's/@dpkg_dev@/$(DPKG_DEV)/' \

