[Bug 1381898] [NEW] wrap-and-sort eats package stanzas

Harald Sitter sitter.harald at gmail.com
Thu Oct 16 06:35:38 UTC 2014


Public bug reported:

When two package stanzas in debian/control are divided by a whitespace-
line rather than an empty line

i.e. "\n \n" instead of "\n\n"

wrap-and-sort fails to parse the control file and instead swallows one
of the packages.

It should:
a) not fail to parse that to begin with, since dpkg itself accepts this just fine
b) not remove duplicated fields in a stanza but error out refusing to do the sort at all
b-1) alternatively the tool should be renamed to wrap-and-sort-and-cleanup

Also see https://lists.ubuntu.com/archives/kubuntu-
devel/2014-September/008753.html

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: devscripts 2.14.6 [modified: usr/bin/wrap-and-sort]
ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
Uname: Linux 3.16.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu6
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Oct 16 08:29:01 2014
InstallationDate: Installed on 2013-10-29 (351 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: devscripts
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: devscripts (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug utopic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/1381898

Title:
  wrap-and-sort eats package stanzas

Status in “devscripts” package in Ubuntu:
  Confirmed

Bug description:
  When two package stanzas in debian/control are divided by a
  whitespace-line rather than an empty line

  i.e. "\n \n" instead of "\n\n"

  wrap-and-sort fails to parse the control file and instead swallows one
  of the packages.

  It should:
  a) not fail to parse that to begin with, since dpkg itself accepts this just fine
  b) not remove duplicated fields in a stanza but error out refusing to do the sort at all
  b-1) alternatively the tool should be renamed to wrap-and-sort-and-cleanup

  Also see https://lists.ubuntu.com/archives/kubuntu-
  devel/2014-September/008753.html

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: devscripts 2.14.6 [modified: usr/bin/wrap-and-sort]
  ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
  Uname: Linux 3.16.0-22-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.7-0ubuntu6
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Thu Oct 16 08:29:01 2014
  InstallationDate: Installed on 2013-10-29 (351 days ago)
  InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  SourcePackage: devscripts
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1381898/+subscriptions



More information about the foundations-bugs mailing list