Bug#753619: devscripts: [uscan, mk-origtargz] filenamemangle is not supported upon repacks

Harlan Lieberman-Berg H.LiebermanBerg at gmail.com
Thu Jul 3 15:55:26 UTC 2014


Package: devscripts
Version: 2.14.5~bpo70+2
Severity: normal

Dear Maintainer,

It appears that there is an unexpected interaction between some of the different uscan options.  When you are repacking a file to use Files-Excluded, you need to add the +dfsg suffix.  mk-origtargz 
separately generates the filename off of the source package name and upstream version.  When using dversionmangle as recommended, this will not have +dfsg.

I've attached a watch file that contains this problem.

Sincerely,

Harlan Lieberman-Berg
~hlieberman

-- Package-specific info:

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

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev  1.16.12
ii  libc6     2.13-38
ii  perl      5.14.2-21+deb7u1
ii  python3   3.2.3-6

Versions of packages devscripts recommends:
ii  at                          3.1.13-2
ii  curl                        7.26.0-1+wheezy4
ii  dctrl-tools                 2.22.2
ii  debian-keyring              2013.04.21
ii  dput-ng [dput]              1.7~bpo70+1
ii  equivs                      2.0.9
ii  fakeroot                    1.18.4-2
ii  file                        1:5.17-1~bpo70+1
ii  gnupg                       1.4.12-7+deb7u2
ii  libdistro-info-perl         0.10
ii  libencode-locale-perl       1.03-1
ii  libjson-perl                2.53-1
ii  liblwp-protocol-https-perl  6.03-1
ii  libparse-debcontrol-perl    2.005-3
ii  libsoap-lite-perl           0.714-1
ii  liburi-perl                 1.60-1
ii  libwww-perl                 6.04-1
ii  lintian                     2.5.24~bpo70+1
ii  man-db                      2.6.2-1
ii  patch                       2.6.1-3
ii  patchutils                  0.3.2-1.1
ii  python3-debian              0.1.21+nmu2~bpo70+1
ii  python3-magic               1:5.17-1~bpo70+1
ii  sensible-utils              0.0.7
ii  strace                      4.5.20-2.3
ii  unzip                       6.0-8
ii  wdiff                       1.1.2-1
ii  wget                        1.13.4-3
ii  xz-utils                    5.1.1alpha+20120614-2

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20111106cvs-1
ii  build-essential              11.5
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
pn  gnuplot                      <none>
ii  gpgv                         1.4.12-7+deb7u2
ii  libauthen-sasl-perl          2.1500-1
pn  libfile-desktopentry-perl    <none>
pn  libnet-smtp-ssl-perl         <none>
ii  libterm-size-perl            0.207-1
ii  libtimedate-perl             1.2000-1
ii  libyaml-syck-perl            1.20-1
ii  mutt                         1.5.21-6.2+deb7u1
ii  openssh-client [ssh-client]  1:6.0p1-4
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-8

-- no debconf information
-------------- next part --------------
version=3
opts=dversionmangle=s/\+dfsg//,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/nanomsg-$1\+dfsg\.tar\.gz/ \
  https://github.com/nanomsg/nanomsg/tags .*/v?(\d\S*)\.tar\.gz


More information about the devscripts-devel mailing list