Bug#695975: should have different release_pattern on wheezy

Yaroslav Halchenko debian at onerussian.com
Sat Dec 15 03:29:14 UTC 2012


Package: devscripts
Version: 2.12.6
Severity: normal
File: /usr/bin/build-rdeps
Tags: patch, wheezy

build-rdeps is not useful out of the box on wheezy system since it would only provide a confusing message like:

    build-rdeps: unable to find sources files.
    Did you forget to run apt-get update (or add --update to this command)?

that is because of

    $> grep release_pattern /usr/bin/build-rdeps
    my $release_pattern = '(.*_dists_(sid|unstable))_(?:In)*Release$';

which hard-coded the names.  As a quick resolution geared toward wheezy it
could be patched to become (wheezy|stable) (consider this a patch ;) ),
but imho in the long run it should use 

    lsb_release -rc 

output to determine possible choices for the default regexp expression.

-- Package-specific info:

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

--- ~/.devscripts ---
DEBSIGN_KEYID=75C024C8
DEBUILD_ROOTCMD=fakeroot
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn"
DEBUILD_LINTIAN=yes
DSCVERIFY_KEYRINGS=~/.gnupg/pubring.gpg
USCAN_SYMLINK=no
USCAN_DESTDIR=~/deb/tarballs
USCAN_SYMLINK=rename

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  dpkg-dev  1.16.9
ii  libc6     2.13-33
ii  perl      5.14.2-12
ii  python    2.7.3-3

Versions of packages devscripts recommends:
ii  at                        3.1.13-2
ii  curl                      7.26.0-1
ii  dctrl-tools               2.22.2
ii  debian-keyring            2012.06.01
ii  dput                      0.9.6.3
ii  dupload                   2.7.0
ii  equivs                    2.0.9
ii  fakeroot                  1.18.4-2
ii  gnupg                     1.4.12-4+b1
ii  libcrypt-ssleay-perl      0.58-1
ii  libdistro-info-perl       0.10
ii  libjson-perl              2.53-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.10.3
ii  man-db                    2.6.2-1
ii  patch                     2.6.1-3
ii  patchutils                0.3.2-1.1
ii  python-debian             0.1.21
pn  python-magic              <none>
ii  sensible-utils            0.0.7
ii  strace                    4.5.20-2.3
ii  unzip                     6.0-7
ii  wdiff                     1.1.2-1
ii  wget                      1.13.4-3
ii  xz-utils                  5.1.1alpha+20120614-1

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>
ii  gnuplot                      4.6.0-8
ii  libauthen-sasl-perl          2.1500-1
ii  libfile-desktopentry-perl    0.04-3
ii  libnet-smtp-ssl-perl         1.01-3
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
ii  openssh-client [ssh-client]  1:6.0p1-3
ii  svn-buildpackage             0.8.5
ii  w3m                          0.5.3-8

-- no debconf information



More information about the devscripts-devel mailing list