Your message dated Fri, 12 Jan 2018 18:06:33 +0900
with message-id <20180112090633.ga4...@goofy.tc4.so-net.ne.jp>
and subject line uscan: repacksuffix does not ajust version passed to uupdate
has caused the Debian Bug report #796986,
regarding uscan: repacksuffix does not ajust version passed to uupdate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
796986: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796986
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: devscripts
Version: 2.15.3
Severity: normal
Tags: patch

Although mk-origtargz add suffix to the generated tarball, uscan does
not adjust the version passed to uupdate.

I think it is desiarable to apply attached patch.

This patch is against git HEAD (so version 2.15.8 is affected).

FYI: Although it is not documented and it has no practical use as of
now, the current uscan code allows us to write multiple entries after
the "version=3" line to download source files with some problem.  With
relatively minor patch, this can be made to download secondary tarballs
properly for multi-tarball source files. ... it is working here.  Let me
do some code polishing ... 

Osamu


-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -us -uc"
DEBUILD_LINTIAN_OPTS="-i -I --show-overrides"
DEBSIGN_KEYID="1DD8D791"

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable'), (99, 'testing'), (98, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages devscripts depends on:
ii  dpkg-dev     1.17.25
ii  libc6        2.19-18
ii  perl         5.20.2-3+deb8u1
ii  python3      3.4.2-2
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  at                          3.1.16-1
ii  curl                        7.38.0-4+deb8u2
ii  dctrl-tools                 2.23
ii  debian-keyring              2015.04.10
ii  dput                        0.9.6.4
ii  equivs                      2.0.9
ii  fakeroot                    1.20.2-1
ii  file                        1:5.22+15-2
ii  gnupg                       1.4.18-7
ii  libdistro-info-perl         0.14
ii  libencode-locale-perl       1.03-1
ii  libjson-perl                2.61-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libparse-debcontrol-perl    2.005-4
ii  libsoap-lite-perl           1.11-1
ii  liburi-perl                 1.64-1
ii  libwww-perl                 6.08-1
ii  lintian                     2.5.35~bpo8+1
ii  man-db                      2.7.0.2-5
ii  patch                       2.7.5-1
ii  patchutils                  0.3.3-1
ii  python3-debian              0.1.27
ii  python3-magic               1:5.22+15-2
ii  sensible-utils              0.0.9
ii  strace                      4.9-2
ii  unzip                       6.0-16
ii  wdiff                       1.2.2-1
ii  wget                        1.16-1
ii  xz-utils                    5.1.1alpha+20120614-2+b3

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20141216cvs-2
ii  build-essential              11.7
pn  cvs-buildpackage             <none>
pn  debbindiff                   <none>
pn  devscripts-el                <none>
pn  gnuplot                      <none>
ii  gpgv                         1.4.18-7
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.07-1
ii  libnet-smtp-ssl-perl         1.01-3
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
ii  libyaml-syck-perl            1.27-2+b2
ii  mutt                         1.5.23-3
ii  openssh-client [ssh-client]  1:6.7p1-5
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-19

-- no debconf information
>From 09d41dc3674ff428a36caa48b2c1f0ad9d1889f9 Mon Sep 17 00:00:00 2001
From: Osamu Aoki <os...@debian.org>
Date: Wed, 26 Aug 2015 09:31:40 +0000
Subject: [PATCH 2/2] repacksuffix needs to be taken care

---
 scripts/uscan.pl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 33f3ad4..ef21e2c 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1522,6 +1522,11 @@ EOF
 	$target = basename($path);
     }
 
+    if (defined $options{'repacksuffix'}) {
+	# assume it was repacked (if wasn't, remove opts=repacksuffix in watchfile)
+	$newversion = $newversion . $options{'repacksuffix'}
+    }
+
     if ($dehs) {
 	my $msg = "Successfully downloaded updated package $newfile_base\n";
 	if (defined $mk_origtargz_out) {
-- 
2.1.4


--- End Message ---
--- Begin Message ---
Version: 2.15.9

This bug report is a bit convoluted.

Patch discussed in
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796986#5
is rejected by James.

I agreed and wet to alternative path in
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796986#25
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796986#30
and proposed an alternative set of patches.

These are applied at
 585bed85 ("uscan: Fix version passed to uupdate", 2015-09-05)
and released as 2.15.9 on Mon, 05 Oct 2015 21:00:08 -0400.

So this bug should be closed.

Osamu

--- End Message ---
_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to