Bug#751260: devscripts: wrap-and-sort does not handle comments in Build-Depends properly

Rohan Garg rohangarg at kubuntu.org
Wed Jun 11 14:03:06 UTC 2014


Package: devscripts
Version: 2.14.1
Severity: normal

Dear Maintainer,

Running wrap-and-sort on a control file of a package that had the first
build dep commented out completely deletes the build-deps of the package.

Testcase :

Snippet from a control file -

....
Build-Depends:
# kde-sc-dev-latest (>= 4:4.10.2),
 cmake, debhelper (>= 7.3.16), pkg-kde-tools (>= 0.12),
....

Running wrap-and-sort on a control file with such a snippet will delete
everything from the Build Depends

-- Package-specific info:

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

--- ~/.devscripts ---
DEBSIGN_KEYID=F2672094

-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty-proposed'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-30-generic (SMP w/8 CPU cores)
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.17.5ubuntu5.3
ii  libc6        2.19-0ubuntu6
ii  perl         5.18.2-2ubuntu1
ii  python3      3.4.0-0ubuntu2
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  at                        3.1.14-1ubuntu1
ii  curl                      7.35.0-1ubuntu2
ii  dctrl-tools               2.23ubuntu1
ii  dput                      0.9.6.4ubuntu1
ii  fakeroot                  1.20-3ubuntu2
ii  gnupg                     1.4.16-1ubuntu2
ii  libdistro-info-perl       0.12
ii  libencode-locale-perl     1.03-1
ii  libjson-perl              2.61-1
ii  libparse-debcontrol-perl  2.005-4
ii  liburi-perl               1.60-1
ii  libwww-perl               6.05-2
ii  lintian                   2.5.22ubuntu1
ii  man-db                    2.6.7.1-1
ii  patch                     2.7.1-4ubuntu1
ii  patchutils                0.3.2-3
ii  python3-debian            0.1.21+nmu2ubuntu2
ii  python3-magic             1:5.14-2ubuntu3
ii  sensible-utils            0.0.9
ii  strace                    4.8-1ubuntu5
ii  unzip                     6.0-9ubuntu1
ii  wdiff                     1.2.1-2
ii  wget                      1.15-1ubuntu1
ii  xz-utils                  5.1.1alpha+20120614-2ubuntu2

Versions of packages devscripts suggests:
pn  bsd-mailx | mailx            <none>
ii  build-essential              11.6ubuntu6
pn  cvs-buildpackage             <none>
ii  debian-keyring               2014.03.03
pn  devscripts-el                <none>
pn  equivs                       <none>
pn  gnuplot                      <none>
ii  gpgv                         1.4.16-1ubuntu2
ii  libauthen-sasl-perl          2.1500-1
ii  libfile-desktopentry-perl    0.07-1
ii  liblwp-protocol-https-perl   6.04-2
ii  libnet-smtp-ssl-perl         1.01-3
pn  libsoap-lite-perl            <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-1
pn  libyaml-syck-perl            <none>
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:6.6p1-2ubuntu2
pn  svn-buildpackage             <none>
pn  w3m                          <none>

-- no debconf information



More information about the devscripts-devel mailing list