Bug#799702: ed: ships /usr/share/info/dir.gz on arm64
As part of cambridge bsp we have investigated this bug. The suggested patch does not actuly fix the bug (the -B option still includes /usr/share/info/dir.gz) // info and is not just limited to arm64 Problem was caused by build rules missing build-arch target, and therefore not applying patched during autobuilder builds. JMW has uploaded fix. /Andy signature.asc Description: OpenPGP digital signature
Bug#799702: ed: ships /usr/share/info/dir.gz on arm64
Here is a patch (in simple quilt format, needs to be dpatch-ed). Important note: Don't ask me why, but apparently you need "dpkg-buildpackage -B" to reproduce this bug. (I was trying "dpkg-buildpackage" alone and it was not enough). Thanks. From: Santiago Vila Subject: Do not run install-info, no matter what --- a/Makefile.in +++ b/Makefile.in @@ -65,7 +65,7 @@ install-info : if [ ! -d "$(DESTDIR)$(infodir)" ] ; then $(INSTALL_DIR) "$(DESTDIR)$(infodir)" ; fi $(INSTALL_DATA) $(VPATH)/doc/$(pkgname).info "$(DESTDIR)$(infodir)/$(program_prefix)$(pkgname).info" - -install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$(program_prefix)$(pkgname).info" + # -install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$(program_prefix)$(pkgname).info" install-man : if [ ! -d "$(DESTDIR)$(mandir)/man1" ] ; then $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" ; fi
Bug#799702: ed: ships /usr/share/info/dir.gz on arm64
Package: ed Version: 1.10-2 Severity: serious Justification: makes unrelated software on the system break Hello, according to https://packages.debian.org/jessie/arm64/ed/filelist the ed package ships a file /usr/share/info/dir.gz on arm64. Installing this package overwrites the index of installed info pages making these inaccessible. The problem occurs iff the building host has install-info installed. The arm64 buildlog[1] has: install -m 644 ./doc/ed.info "/«PKGBUILDDIR»/debian/ed/usr/share/info/ed.info" install-info --info-dir="/«PKGBUILDDIR»/debian/ed/usr/share/info" "/«PKGBUILDDIR»/debian/ed/usr/share/info/ed.info" .. While e.g. on armhf[2] these lines are followed by /bin/sh: 1: install-info: not found make[1]: [install-info] Error 127 (ignored) they are not on arm64. Best regards Uwe [1] https://buildd.debian.org/status/fetch.php?pkg=ed&arch=arm64&ver=1.10-2&stamp=1408299578 [2] https://buildd.debian.org/status/fetch.php?pkg=ed&arch=armhf&ver=1.10-2&stamp=1393365738