[Bug 76369] Re: zsh 4.3.x backport request

Chris Ross cross at revivesystems.com
Wed Dec 20 16:06:47 GMT 2006


With a couple of changes to the sources, applied after the sources were extracted and patched, before they were built, a "prevu" build of zsh 4.3.2-25 from feisty completed successfully.  The changes I needed to make to the source related to the build process, *not* the source of zsh.
I needed to revert a change (noted in the changelog) to debian/control to make it succeed in building zsh-dbg on dapper drake:
--- control     2006-12-19 00:51:52.000000000 -0500
+++ src/10135/zsh-4.3.2/debian/control  2006-12-19 00:45:49.000000000 -0500
@@ -76,7 +76,7 @@
 Architecture: any
 Section: devel
 Priority: extra
-Depends: zsh (= ${binary:Version})
+Depends: zsh (= ${Source_Version})
 Description: A shell with lots of features (debugging symbols)
  Zsh is a UNIX command interpreter (shell) usable as an
  interactive login shell and as a shell script command


And I also made a change to debian/rules because without this, it was trying to ldd the zsh-static binary.  I don't know why it would want to.  But, taking this line out made that not run, as zsh-beta didn't run it, and that causes it to succeed.  Perhaps the dapper drake ldd isn't as smart as the edgy one.  (*shrug*)

--- rules       2006-12-19 01:46:01.000000000 -0500
+++ src/21205/zsh-4.3.2/debian/rules    2006-12-19 01:42:49.000000000 -0500
@@ -291,7 +291,7 @@
        gzip -9f debian/tmp-static/usr/share/doc/$(package)-static/changelog.Debian
        cd debian/tmp-static && find * -type f  ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
 ifneq (zsh-beta,$(package))
-       dpkg-shlibdeps -Tdebian/$(package)-static.substvars -dDepends debian/tmp-static/bin/*
+#      dpkg-shlibdeps -Tdebian/$(package)-static.substvars -dDepends debian/tmp-static/bin/*
 endif
        dpkg-gencontrol -ldebian/changelog -isp -p$(package)-static -Tdebian/$(package)-static.substvars -Pdebian/tmp-static
        chown -R root.root debian/tmp-static


So, as noted, it backports just fine once a couple of the debian build process nits are fixed.  Someone who understands better what these points mean will have to decide if this is an issue, but in short, it backports fairly easily.

Please let me know when you can get this into the backport channel, as I
have numerous systems I'd like to get it installed on.  Thank you.

-- 
zsh 4.3.x backport request
https://launchpad.net/bugs/76369



More information about the ubuntu-backports mailing list