Source: binutils
Version: 2.29.1-4
Tags: patch
User: [email protected]
Usertags: rebootstrap

Trying to build cross binutils for i386 (either via CROSS_ARCHS_ or via
TARGET) fails, because it creates symlinks for i586 and
i586-kfreebsd-gnu-gold happens to be a dead symlink. When dpkg-shlibdeps
notices, the build aborts.

Since we no longer use these symlinks, I think it would be best to
simply remove them. That's what the attached patch does.

Helmut
--- a/debian/rules
+++ b/debian/rules
@@ -864,14 +864,6 @@
 	  ln -sf ../../bin/$(CROSS_GNU_TYPE)-$$(basename $$i) $$i; \
 	done
 
-# temporary i586-* symlinks for stretch/sid
-	compat=$$(echo $(CROSS_GNU_TYPE) | sed 's/i686/i586/'); \
-	case "$(CROSS_GNU_TYPE)" in i686-*) \
-	  for i in $(programs); do \
-	    ln -sf $(CROSS_GNU_TYPE)-$$i $(D_CROSS)/$(PF)/bin/$$compat-$$i; \
-	    ln -sf $(CROSS_GNU_TYPE)-$$i.1.gz $(D_CROSS)/$(PF)/share/man/man1/$$compat-$$i.1.gz; \
-	  done; \
-	esac
 	touch $@
 
 ###############################################################################

Reply via email to