Are there any plans to backport this fix?
I would highly appreciate if it would get at least backported to Precise...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-pkg-tools in Ubuntu.
https://bugs.launchpad.net/bugs/953392

Title:
  File /usr/share/gnome-pkg-tools/control.header contains one blank line
  to much at the end - Please remove it

Status in “gnome-pkg-tools” package in Ubuntu:
  Fix Released
Status in “gnome-pkg-tools” package in Debian:
  Unknown

Bug description:
  Hi everyone,

  I've noticed that the file /usr/share/gnome-pkg-tools/control.header
  contains one blank line to much at the end of the file. Please remove
  it because it produces non standard control files.

  Example from the package mutter:
  File debian/control.in:
  -------------------------------------------------
  Source: mutter
  Section: x11
  ....
  -------------------------------------------------

  File debian/control:
  -------------------------------------------------
  # This file is autogenerated. DO NOT EDIT!
  # 
  # Modifications should be made to debian/control.in instead.
  # This file is regenerated automatically in the clean target.

  Source: mutter
  Section: x11
  ...
  -------------------------------------------------

  This extra blank line causes issues with tools like pbuilder
  (automatic installation of build dependencies doesn't work). Because
  of the blank line the Source paragraph is no longer the first
  paragraph in the file. The first paragraph then only consists of
  comments and thus pbuilder-satisfydepends can't determine the build
  dependencies which yields a build failure because of missing build
  dependencies...

  References:
  
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-sourcecontrolfiles
  Quote: "The first paragraph of the control file contains information about 
the source package in general. The subsequent sets each describe a binary 
package that the source tree builds."

  https://answers.launchpad.net/launchpad/+question/151535
  Quote: "The problem is the blank line in your debian/control file separating 
the commented out block and the initial "Source: gnome-orca" paragraph. A very 
strict reading of the Debian Policy Manual says this is invalid: you have an 
empty initial paragraph, and the Source paragraph as the second paragraph. Some 
tools may be more tolerant and skip the initial empty paragraph, however 
pbuilder-satisfydepends does not."

  
  Please fix this little issue asap because it blocks automatic builds with 
pbuilder for certain Gnome packages.
  This issue is present in all package versions from Lucid up to Precise. 
Please also note that not all editors show the additional blank line. You could 
use a hex editor to get rid of the last 0a in the file.

  $ xxd /usr/share/gnome-pkg-tools/control.header
  ...
  00000a0: 2074 6172 6765 742e 0a0a                  target...

  
  Best,

  Michael

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-pkg-tools/+bug/953392/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to