Bug#696631: libconfig-model-dpkg-perl: '+' is allowed in package names

Salvatore Bonaccorso carnil at debian.org
Wed Dec 26 22:45:24 UTC 2012


Control: tags -1 + confirmed

Hi Stephen

On Mon, Dec 24, 2012 at 02:30:23PM +0100, Stephen Kitt wrote:
> Dear Maintainer,
> 
> When running "cme check dpkg" in the gcc-mingw-w64 source, I get
> failures related to the use of '+' in a package name:
> 
> Warning in 'control binary:"gcc-mingw-w64" Recommends:0' value 'g++-mingw-w64': package g is unknown. Check for typos if not a virtual package.
> Configuration item 'control binary:"gcc-mingw-w64" Recommends:0' has a wrong value:
> 	dependency 'g++-mingw-w64' does not match grammar
> 
> As far as I'm aware this package name is perfectly legal.
> Unfortunately my perl-fu doesn't extend far enough to fix this...

This is correct[1]. According to Debian policy "5.6.1 Source", package
names must consist only of lower case letters (a-z), digits (0-9),
plus (+) and minus (-) signs, and periods (.). They must be at least
two characters long and must start with an alphanumeric character.

 [1]: http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source

I have commited a tentative fix for this to our git repo, but would be
good if Dominique Dumont can have a look at it before releasing.

p.s.: During playing around with gcc-mingw-w64 noticed there is also
missing support for Built-Using field. Reported this as #696768[2].

 [2]: http://bugs.debian.org/696768

Regards,
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20121226/2e85d396/attachment.pgp>


More information about the pkg-perl-maintainers mailing list