Your message dated Tue, 07 Nov 2006 16:19:05 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#395954: fixed in blitz++ 1:0.9-1.1
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: debhelper
Version: 5.0.40a
Severity: important
Tags: patch

As detailed in Bug 337215, the patch to dh_installinfo
(autoscript/postinst-info, actually) has introduced an even worse situation:
new packages being built with dh_installinfo are corrupting the dir file by
introducing a new section each time a package is installed.  For instance, I
have 25 packages installed on my system which use the \Q....\E markers in their
--section strings.  Manual intervention is required to rearrange the dir files.

Attached is a patch to revert the previous patch and escape the '+' characters
in the section regex.  I believe this is the only special character in extended
regex which isn't disallowed in filenames.

While I was in there, I fixed another problem: the regex IMO should match only
the beginning of an existing section name string.  Right now, it matches 
anywhere, so an entry intended for the section "Programming" gets added to
"GNU programming tools".  I prepended a '^' to fix that.

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.21-kbk
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages debhelper depends on:
ii  binutils                      2.17-3     The GNU assembler, linker and bina
ii  coreutils                     5.97-5.1   The GNU core utilities
ii  dpkg-dev                      1.13.24    package building tools for Debian
ii  file                          4.17-4     Determines file type using "magic"
ii  html2text                     1.3.2a-3   An advanced HTML to text converter
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.7      manage translated Debconf template

debhelper recommends no packages.

-- no debconf information
--- dh_installinfo.original     2006-06-02 14:04:02.000000000 -0400
+++ dh_installinfo      2006-10-26 15:00:24.000000000 -0400
@@ -92,6 +92,7 @@
                if ($file !~ /-\d+$/ && ! $dh{NOSCRIPTS}) {
                        # Figure out what section this file goes in.
                        my $section='';
+                       my $section_rx='';
                        open (IN, "<$file") || die "$file: $!";
                        while (<IN>) {
                                if (/INFO-DIR-SECTION\s+(.*)/) {
@@ -107,8 +108,10 @@
                                $section=~s:/:\\/:g; # allow / in section.
                                $section=~s/\&/\\&/g; # escape sed specials
                                $section=~s/(\\[0-9])/\\\\$1/g; # more sed 
specials
+                               $section_rx = "^" . $section; # align to start
+                               $section_rx=~s/\+/\\\\+/g; # allow + in regex
                                autoscript($package,"postinst","postinst-info",
-                                       "s/#SECTION#/$section/g;s:#FILE#:$fn:");
+                                       
"s/#SECTION_RX#/$section_rx/g;s/#SECTION#/$section/g;s:#FILE#:$fn:");
                        }
                        else {
                                
autoscript($package,"postinst","postinst-info-nosection",
--- autoscripts/postinst-info.original  2006-03-12 23:36:53.000000000 -0500
+++ autoscripts/postinst-info   2006-10-26 13:42:23.000000000 -0400
@@ -1,3 +1,3 @@
 if [ "$1" = "configure" ]; then
-       install-info --quiet --section "\Q#SECTION#\E" "#SECTION#" #FILE#
+       install-info --quiet --section "#SECTION_RX#" "#SECTION#" #FILE#
 fi

--- End Message ---
--- Begin Message ---
Source: blitz++
Source-Version: 1:0.9-1.1

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

blitz++_0.9-1.1.diff.gz
  to pool/main/b/blitz++/blitz++_0.9-1.1.diff.gz
blitz++_0.9-1.1.dsc
  to pool/main/b/blitz++/blitz++_0.9-1.1.dsc
blitz++_0.9-1.1_i386.deb
  to pool/main/b/blitz++/blitz++_0.9-1.1_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated blitz++ 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.7
Date: Tue,  7 Nov 2006 17:11:11 -0500
Source: blitz++
Binary: blitz++
Architecture: source i386
Version: 1:0.9-1.1
Distribution: unstable
Urgency: low
Maintainer: Konstantinos Margaritis <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 blitz++    - C++ template class library for scientific computing
Closes: 395954
Changes: 
 blitz++ (1:0.9-1.1) unstable; urgency=low
 .
   * NMU
   * Build-Depend on debhelper 5.0.41, which stops passing section info to
     install-info.
   * Fixes install-info crash on some (but not all) installs of blitz++.
     Closes: #395954
     The exact crash circumstances seem dependant on the other info dir file
     content.
Files: 
 88abae62fc6365316a644275fc522e54 666 devel extra blitz++_0.9-1.1.dsc
 4e4d7149cdcd14b7d523a39cd9c59320 148218 devel extra blitz++_0.9-1.1.diff.gz
 5c3c79df5b084ce0e0400a1c48c8684e 1527664 devel extra blitz++_0.9-1.1_i386.deb

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

iD8DBQFFUQj82tp5zXiKP0wRAq2rAJ9kGxMUfu0ArbvH+idCzsaTyXYp1wCePILu
3xwa5AUF89e6CvEma6LoF1k=
=GHee
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to