[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#436180: marked as done ([general] wrong perl operator for a pattern match)



Your message dated Mon, 06 Aug 2007 03:17:03 +0000
with message-id <E1IHt5b-0004zw-G3@ries.debian.org>
and subject line Bug#436180: fixed in lintian 1.23.34
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lintian
Version: 1.23.33
Severity: normal
Tags: patch

Hi,

There's a wrong operator for a pattern match. Here's the error:

,----
|Now running lintian...
|Use of uninitialized value in pattern match (m//) at /usr/bin/lintian line 639.
|E: bmv_1.2-21_i386.changes: bad-distribution-in-changes-file UNRELEASED
|Finished running lintian.
`----

Attached a trivial patch which fixes it.

regards,
guillem
diff -Naur lintian-1.23.33.orig/frontend/lintian lintian-1.23.33/frontend/lintian
--- lintian-1.23.33.orig/frontend/lintian	2007-07-24 03:14:24.000000000 +0300
+++ lintian-1.23.33/frontend/lintian	2007-08-06 05:30:00.000000000 +0300
@@ -641,7 +641,7 @@
                        or ($data->{distribution} eq 'testing')
                        or ($data->{distribution} eq 'unstable')
                        or ($data->{distribution} eq 'experimental')
-		       or ($data->{distribution} eq /\w+-backports/)
+		       or ($data->{distribution} =~ /\w+-backports/)
                        or ($data->{distribution} =~ /\w+-proposed-updates/)
                        or ($data->{distribution} =~ /\w+-security/))
                ) {

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 1.23.34

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:

lintian_1.23.34.dsc
  to pool/main/l/lintian/lintian_1.23.34.dsc
lintian_1.23.34.tar.gz
  to pool/main/l/lintian/lintian_1.23.34.tar.gz
lintian_1.23.34_all.deb
  to pool/main/l/lintian/lintian_1.23.34_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 436180@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Russ Allbery <rra@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 05 Aug 2007 19:58:38 -0700
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.23.34
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Russ Allbery <rra@debian.org>
Description: 
 lintian    - Debian package checker
Closes: 436180
Changes: 
 lintian (1.23.34) unstable; urgency=low
 .
   The "brown paper operator" release.
 .
   * frontend/lintian:
     + [RA] Use =~ with regexes, not eq.  Thanks, Guillem Jover.
       (Closes: #436180)
Files: 
 cfb10a3fc2af4507b5ee4ff4b3d6dc40 803 devel optional lintian_1.23.34.dsc
 661534164aa1d8be4abcfca54362ecae 345275 devel optional lintian_1.23.34.tar.gz
 16d2beae7824d916d96d801ceb177e25 292664 devel optional lintian_1.23.34_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGtpEx+YXjQAr8dHYRAlP+AJ9SDv2LfgFDbVZX2YeGWycG2yOQYACfXa94
rkLIx2yHydlfbCqo+jgwnS8=
=alu5
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: