Public bug reported:

Binary package hint: python-minimal

This report concerns python-minimal 2.5.2-1ubuntu1 in Intrepid.

I have a Debian package source tree. The debian/control file has the
following layout:

----begin----
<blank line>
Source:
Section:
Priority:
Maintainer:
Build-Depends:
Standards-Version:
<blank line>
Package:
Architecture:
Depends:
Provides:
Conflicts:
Replaces:
Description:
<desc lines>
----end----

A debian/pyversions file is also present.

When I run "pyversions -r" inside the tree, I get

$ pyversions -r
pyversions: not a control file: debian/control, $

(Note how the error message is screwy---it ends with a comma, and no
newline.)

If I delete the initial blank line, I get the proper result:

$ pyversions -r
pyversions: missing XS-Python-Version in control file, fall back to 
debian/pyversions
python2.4 python2.5
$

The pyversions script should not be confused by an initial blank line
(or lines), given that the dpkg tools seem to be fine with same. (In
other words, the pyversions script should not be the more restrictive of
the two.)

** Affects: python-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Initial blank line in debian/control confuses "pyversions -r"
https://bugs.launchpad.net/bugs/328929
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to