On Sat, Feb 10, 2018 at 07:20:51PM +0800, Boyuan Yang wrote:
> As described in
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366#61 , Current
> version
> of zssh in Debian Stretch (on amd64 architecture, versioned
> 1.5c.debian.1-3.2+b4) suffers from
> RC bug #769366. I had little idea why this happened because a
> no-change rebuild on Debian
> Stretch would make zssh fully functional.
> How does a rebuild solve it? I have no idea currently: It Just Works™.
> I could have digged into
> the problem but the time to be spent would not be efficient when a
> simple rebuild solves it.
> I think those described above should make a stretch-pu for zssh reasonable.

What actually fixed zssh in 1.5c.debian.1-4 is the following:
  * Bump debhelper compat to v10.

After looking at the #388036 fix I tried v9 instead,
and as expected this gave me a broken package,

An actual fix would be something like:

diff -Nru zssh-1.5c.debian.1/debian/control zssh-1.5c.debian.1/debian/control
--- zssh-1.5c.debian.1/debian/control   2014-07-21 11:30:52.000000000 +0300
+++ zssh-1.5c.debian.1/debian/control   2018-03-12 22:33:59.000000000 +0200
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Ben Wong <b...@wongs.net>
-Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libncurses5-dev, 
libreadline-dev, autoconf, quilt
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libncurses5-dev, 
libreadline-dev, autoconf, quilt, dh-autoreconf
 Standards-Version: 3.7.2
 Package: zssh
diff -Nru zssh-1.5c.debian.1/debian/rules zssh-1.5c.debian.1/debian/rules
--- zssh-1.5c.debian.1/debian/rules     2014-07-21 11:27:39.000000000 +0300
+++ zssh-1.5c.debian.1/debian/rules     2018-03-12 22:08:24.000000000 +0200
@@ -2,6 +2,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk

> Regards,
> Boyuan Yang



       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to