File /usr/share/gnome-pkg-tools/control.header contains one blank line to much at the end - Please remove it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-pkg-tools (Debian) |
Fix Released
|
Unknown
|
|||
gnome-pkg-tools (Ubuntu) |
Fix Released
|
High
|
Logan Rosen | ||
Precise |
Fix Released
|
High
|
Chris J Arges |
Bug Description
SRU Justification:
[Impact]
Gnome-pkg-tools produces non-standard control files. This is fixed in quantal, and is a simple removal of a blank line, thus backported easily to precise.
[Testcase]
See bug below.
[Regression Potential]
Minimal, this is a single removal of a blank line from control.header.
--
Hi everyone,
I've noticed that the file /usr/share/
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-
References:
http://
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:/
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-
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/
...
00000a0: 2074 6172 6765 742e 0a0a target...
Best,
Michael
Related branches
- Luke Yelavich (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 22 lines (+6/-1)2 files modifiedcontrol.header (+0/-1)
debian/changelog (+6/-0)
Changed in gnome-pkg-tools (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in gnome-pkg-tools (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Logan Rosen (logan) |
Changed in gnome-pkg-tools (Debian): | |
status: | Unknown → New |
Changed in gnome-pkg-tools (Debian): | |
status: | New → Fix Released |
This bug was fixed in the package gnome-pkg-tools - 0.19.3ubuntu2
---------------
gnome-pkg-tools (0.19.3ubuntu2) quantal; urgency=low
* Remove blank line at end of control.header. (LP: #953392)
-- Logan Rosen <email address hidden> Mon, 30 Jul 2012 03:54:42 -0400