Your message dated Wed, 23 May 2012 10:02:43 +0000
with message-id <[email protected]>
and subject line Bug#662852: fixed in libconfig-augeas-perl 0.903-1
has caused the Debian Bug report #662852,
regarding libconfig-augeas-perl: Wrong version compare between installed and 
required augeas version causes empty package
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
662852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662852
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libconfig-augeas-perl
Version: 0.902-1
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch

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



*** /tmp/tmpJbaQ_x/bug_body
In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/version-parse.patch: (LP: #935221) Use version->parse to compare
    installed augeas version to required minimum. 

Without the patch applied, the version check doesn't recognize 0.10.0 as 
greater than the required 0.9.0 version, as seen in the buildlog here:

https://launchpadlibrarian.net/87294645/buildlog_ubuntu-precise-i386.libconfig-augeas-perl_0.902-1_BUILDING.txt.gz

dh build
   dh_testdir
   dh_auto_configure
***
*** 'pkg-config' did find augeas version 0.10.0 but 
*** version 0.9.0 minimum is required
***
   dh_auto_build
   dh_auto_test

This causes the package to be empty.

Note that this isn't a problem in Debian yet, which hasn't updated to augeas 
0.10.0.

See this snippet:

andreas@anubis:~/t$ cat test.pl
use version;

$version1 = "0.9.0";
$version2 = "0.10.0";

print "Using version->parse\n";
if (version->parse($version1) > version->parse($version2))
{
print "$version1 is greater than $version2\n";
}
else
{
print "$version1 is less than $version2\n";
}

print "Using >\n";
if ($version1 gt $version2)
{
print "$version1 is greater than $version2\n";
}
else
{
print "$version1 is less than $version2\n";
}
andreas@anubis:~/t$ perl test.pl
Using version->parse
0.9.0 is less than 0.10.0
Using gt
0.9.0 is greater than 0.10.0
andreas@anubis:~/t$

See also https://bugs.launchpad.net/bugs/935221

Thanks for considering the patch.

Cheers,

  Andreas

- -- System Information:
Debian Release: wheezy/sid
  APT prefers precise
  APT policy: (800, 'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-17-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

iQIcBAEBAgAGBQJPVmxlAAoJEGHzRCZ03mYkGngQAJnFcD9rxOqLloVdyxONuY7p
0ADdtzFVUFzCdKFT5D6nKm67vSlQrbO/M1ERU3kxSwrwsrDa3q6Mw5+aW+191quh
AVmR+g2bqKfl9VlfIj7d2ZhjE6oFkkimymSV6zaS56B5Uz5JLO2G7b9kvOGLZEnX
l8DtSSowbjwcSsIOViITyZ15gP6RJ2j81jcybYXJhtL5w7EUONb9FjYhOEMyydHX
KWXkAh4/Ob1FoCah6EDsifOCJQtIfD+HxYFOtk4r0oiUeQfOkXoyBFAIlLodbxBR
IHp62ElJ1rxuu6DgcFl+p5k8j2fkOI7q8Cg5rD5JoyLjELZO5Lwm8RIxyky5UbGa
XpYqC6EL1onSMPQBbM5UP+faoefBqPEO2OvacvRC/XMkiR9XJsTSYWPtlf4gSfot
+b/16akx6ctOGOfWKUduq/UOtUcnkTCPK5xDTamJR8BldH2zmxa62Xo1uW4gYzgY
fIfUb3KIs2J+BclTLBfEdhPsE3UNUKsRdiYYTlMnyBmbfbAC1b/pGD6xhceZ1nJY
QCgNXwth4b4+0mxx6lWH/5oG6hxM1xYElhg7ZHQH8Hp80UzzJTHO98/0+G30AYSw
fsro0OnfrPs/PncnpY/OT96Hx2/6KOirjcopv3O31yl91Iq6H2Dgb3IfV7kr0pLq
8+woCirZtssu2GuGol+z
=+OY2
-----END PGP SIGNATURE-----
diff -Nru libconfig-augeas-perl-0.902/debian/patches/series libconfig-augeas-perl-0.902/debian/patches/series
--- libconfig-augeas-perl-0.902/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libconfig-augeas-perl-0.902/debian/patches/series	2012-03-06 20:44:42.000000000 +0100
@@ -0,0 +1 @@
+version_compare.patch
diff -Nru libconfig-augeas-perl-0.902/debian/patches/version_compare.patch libconfig-augeas-perl-0.902/debian/patches/version_compare.patch
--- libconfig-augeas-perl-0.902/debian/patches/version_compare.patch	1970-01-01 01:00:00.000000000 +0100
+++ libconfig-augeas-perl-0.902/debian/patches/version_compare.patch	2012-03-06 20:45:23.000000000 +0100
@@ -0,0 +1,26 @@
+Description: Use version->parse to compare installed augeas version to required minimum.
+Author: Andreas Moog <[email protected]>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/935221
+
+Index: libconfig-augeas-perl-0.902/Build.PL
+===================================================================
+--- libconfig-augeas-perl-0.902.orig/Build.PL	2012-03-06 20:44:42.000000000 +0100
++++ libconfig-augeas-perl-0.902/Build.PL	2012-03-06 20:45:21.546588115 +0100
+@@ -18,6 +18,8 @@
+ 
+ use Module::Build;
+ 
++use version;
++
+ use warnings FATAL => qw(all) ;
+ use strict ;
+ 
+@@ -57,7 +59,7 @@
+ 
+ my $min_version = '0.9.0' ;
+ 
+-if (   not defined $aug_version or ( $aug_version lt $min_version)) {
++if (   not defined $aug_version or ( version->parse($aug_version) lt version->parse($min_version))) {
+     warn << "EOW2" ;
+ ***
+ *** 'pkg-config' did find augeas version $aug_version but 

--- End Message ---
--- Begin Message ---
Source: libconfig-augeas-perl
Source-Version: 0.903-1

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

libconfig-augeas-perl_0.903-1.debian.tar.gz
  to main/libc/libconfig-augeas-perl/libconfig-augeas-perl_0.903-1.debian.tar.gz
libconfig-augeas-perl_0.903-1.dsc
  to main/libc/libconfig-augeas-perl/libconfig-augeas-perl_0.903-1.dsc
libconfig-augeas-perl_0.903-1_amd64.deb
  to main/libc/libconfig-augeas-perl/libconfig-augeas-perl_0.903-1_amd64.deb
libconfig-augeas-perl_0.903.orig.tar.gz
  to main/libc/libconfig-augeas-perl/libconfig-augeas-perl_0.903.orig.tar.gz



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Dumont <[email protected]> (supplier of updated libconfig-augeas-perl 
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 [email protected])


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

Format: 1.8
Date: Wed, 23 May 2012 11:39:18 +0200
Source: libconfig-augeas-perl
Binary: libconfig-augeas-perl
Architecture: source amd64
Version: 0.903-1
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Dominique Dumont <[email protected]>
Description: 
 libconfig-augeas-perl - module for manipulating configuration files through 
Augeas
Closes: 662852
Changes: 
 libconfig-augeas-perl (0.903-1) unstable; urgency=low
 .
   * new upstream version (Closes: 662852)
   * copyright: updated my e-mail and (c) years
   * control:
     * updated standards-version
     * BD on libaugeas-dev (>= 0.10.0)
   * compat: bunped to 9 to enable hardening flags as suggested by
     lintian and http://wiki.debian.org/Hardening
Checksums-Sha1: 
 115a30e2701d51a9f8c218361b0f3b7048b6316e 2198 libconfig-augeas-perl_0.903-1.dsc
 ec6e0f328e7922ce952bfb8ef4a89f1e9ac4d836 64426 
libconfig-augeas-perl_0.903.orig.tar.gz
 7542a5dfff7bebd455538093ddc849b65a9891da 3177 
libconfig-augeas-perl_0.903-1.debian.tar.gz
 9a1c949bd5fa032302b04fd26b625f0a5ffc45cb 29198 
libconfig-augeas-perl_0.903-1_amd64.deb
Checksums-Sha256: 
 f2366afeb09e16543278e09c9700d014e3af14e7d52a5f0228a9d0530d55b2b6 2198 
libconfig-augeas-perl_0.903-1.dsc
 4c0debb8f823f17cdbd9ca7630de4432eaf4af34569a345cd42518fe474adf6c 64426 
libconfig-augeas-perl_0.903.orig.tar.gz
 f4f55640e11937a2b959156477f7367b103e0208b6015d3db4b35f99420bffdb 3177 
libconfig-augeas-perl_0.903-1.debian.tar.gz
 19411280e0d1f62cf04d0d6a66b6c455ccfe9ee126356fccf34b0112e77d30e0 29198 
libconfig-augeas-perl_0.903-1_amd64.deb
Files: 
 60948b00dd0f78cdb51349075533d185 2198 perl optional 
libconfig-augeas-perl_0.903-1.dsc
 fa01f4b14610bbde143364a2e0104b32 64426 perl optional 
libconfig-augeas-perl_0.903.orig.tar.gz
 e8ef6885545b3ce27ed9c705cc33c89e 3177 perl optional 
libconfig-augeas-perl_0.903-1.debian.tar.gz
 0f88ec4c3853be31ab43101d1a697d28 29198 perl optional 
libconfig-augeas-perl_0.903-1_amd64.deb

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

iQIcBAEBAgAGBQJPvLFDAAoJEMMfT9lJqytsAaUP/1O8JNS52oEVsQIHp7M9oV/V
Sr1MpJ2QI6uJbC4A22v4Ea+jraH2pK2GM97qRUSWig5bNaMBOJSlz+dCPK7ClN6A
xWMLiOJ1Zuk/HDBQulxhpbawL8xhh7DdAFB7n1UwLmzjQ9p56f+d4Q5Fa2L2EZi3
tIbZ47UO8qCwS/9hR/Y6m0w/4Oxx/CsVU0xpbRyyKAcUsTCINWGgkqSyYe1nLeuH
JsbfDPigh8tGBjSMCrPbp0sD0XepAbHbZy7CSvbFoaADY7BhfGhajKqW+DspaOAE
RQzsoPxfUzyIHX7vPNaV+cD/KQrQqDTqKwdjO7kQJTu0QZ9xDti0X45sphFn1hJG
BmqzEz2uZGHlo7xfBb/SY2TgwvKOUCsFuSvF9Um+q33yN2MVdUxgPiwEBiAuGosz
PxMJ74an9zJetQZ0+FJoB/2XTpPn5wtxcaPlru1dI89DRVjWcOniMsKXVVXebkK2
4RAYoYt4l+1aDMVuvxclbTUbC97wvTvuB44b9GCoHEMJi+Fm71IzJozu+rICdqSi
tYS89X6G7g5I/tCrX+x53sZnTzFXkYiCaFv22voe+0DdBjKcr9bTrM2mLD/NVJ+y
OegRgIgXT49QAcJPHdd73eIMZfqb9GiyfqYeiduzi39VxrRxz+9/STqHa7mIimQ8
C9ADq2prlrMb9NS8tEdS
=yqbe
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to