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

Bug#179192: marked as done ([INSTALL-INFO] dpkg: patch for install-info related bugs)



Your message dated Sun, 25 Apr 2004 14:17:03 -0400
with message-id <E1BHoBb-0002aI-00@newraff.debian.org>
and subject line Bug#179192: fixed in dpkg 1.10.21
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)

--------------------------------------
Received: (at bugs) by bugs.debian.org; 31 Jan 2003 12:42:07 +0000
>From cristian.ionescu-idbohrn@axis.com Fri Jan 31 06:42:06 2003
Return-path: <cristian.ionescu-idbohrn@axis.com>
Received: from krynn.axis.se [193.13.178.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18eaUg-0005am-00; Fri, 31 Jan 2003 06:42:06 -0600
Received: from cicero.axis.se (cicero.axis.se [10.13.1.40])
	by krynn.axis.se (8.12.3/8.12.3/Debian -4) with ESMTP id h0VCfY2r019408
	for <bugs@bugs.debian.org>; Fri, 31 Jan 2003 13:41:34 +0100
Date: Fri, 31 Jan 2003 13:41:34 +0100 (CET)
From: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Reply-To: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
To: bugs@bugs.debian.org
Subject: dpkg: patch for install-info related bugs
Message-ID: <0301311338290.0@somehost.domain.com>
Organisation: Axis Communications AB <http://www.axis.com>
X-Sender: donaldduck@somehost.domain.com
X-Sucks: micro$oft
X-User-Tracking: sucks
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: bugs@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: dpkg
Version: 1.9.21
Severity: important
Tags: patch

Please observe. This bug is filed against the woody-script-version.
The sid version of the install-info script includes modifications which
indicate _some_ bug fixes address the problems described below.

This simple patch should pinpoint and possibly cure some problems
which make install-info a _show stopper_ under certain conditions. One
of the bugs is over 6 years old :(

I tagged this bug 'important'. Should have been 'grave', but it would
be unfare to tag it as a 'grave' dpkg bug just because of
install-info.

The patch addresses bugs #2531, #3410, #160761, possibly others.

I also think it's _very unfortunate_ the Debian distributed
install-info perl script _does not_ emulate all the options the GNU
install-info provides (se option --dir-file in the patch).

It would be very interesting to find out _why_ a perl script is used
instead of GNU install-info. Please enlighten us!

Here's the patch:

--------------------------------------------------------------------------
--- install-info.pl.orig        Sat Feb  2 19:47:33 2002
+++ install-info.pl     Fri Jan 31 13:07:02 2003
@@ -19,7 +19,7 @@ usage: install-info [--version] [--help]
              [--section regexp title] [--infodir=xxx] [--align=nnn]
              [--calign=nnn] [--quiet] [--menuentry=xxx] [--info-dir=xxx]
              [--keep-old] [--description=xxx] [--test]
-             [--remove | --remove-exactly ]
+             [--remove | --remove-exactly ] [--dir-file]
              [--]
              filename
 END
@@ -87,6 +87,8 @@ while ($ARGV[0] =~ m/^--/) {
         $infodir=$';
     } elsif (m/^--description=/) {
         $description=$';
+    } elsif (m/^--dir-file=/) { # for compatibility with GNU install-info
+        $infodir=$';
     } else {
         print STDERR "$name: unknown option \`$_'\n"; &usage; exit 1;
     }
@@ -241,6 +243,9 @@ $name: unable to determine description f
     }
 }

+# FIXME: the fact that "$infodir/dir" does not exis should not cause
+#       the script failure. A minimal "$infodir/dir" should be created.
+#       Problems related to bugs #2531, #3410, possibly others.
 if (!$nowrite && !link("$infodir/dir","$infodir/dir.lock")) {
     die "$name: failed to lock dir for editing! $!\n".
         ($! =~ m/exists/i ? "try deleting $infodir/dir.lock ?\n" : '');
@@ -250,7 +255,9 @@ open(OLD,"$infodir/dir") || &ulquit("ope
 @work= <OLD>;
 eof(OLD) || &ulquit("read $infodir/dir: $!");
 close(OLD) || &ulquit("close $infodir/dir after read: $!");
-while ($work[$#work] !~ m/\S/) { $#work--; }
+
+# Problems related to bugs #2531, #3410, #160761, possibly others
+while (($#work >= 0) && ($work[$#work] !~ m/\S/)) { $#work--; }

 while (@work) {
     $_= shift(@work);
--------------------------------------------------------------------------


Cheers,
Cristian

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux my-box 2.4.20-686 #1 Mon Jan 13 12:59:29 EST 2003 i686
Locale: LANG=C, LC_CTYPE=

Versions of packages dpkg depends on:
ii  libc6                  2.2.5-11.2        GNU C Library: Shared libraries an
ii  libncurses5            5.2.20020112a-7   Shared libraries for terminal hand
ii  libstdc++2.10-glibc2.2 1:2.95.4-11woody1 The GNU stdc++ library

---------------------------------------
Received: (at 179192-close) by bugs.debian.org; 25 Apr 2004 18:23:14 +0000
>From katie@ftp-master.debian.org Sun Apr 25 11:23:14 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHoHZ-0004lQ-00; Sun, 25 Apr 2004 11:23:13 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BHoBb-0002aI-00; Sun, 25 Apr 2004 14:17:03 -0400
From: Scott James Remnant <scott@netsplit.com>
To: 179192-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#179192: fixed in dpkg 1.10.21
Message-Id: <E1BHoBb-0002aI-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 25 Apr 2004 14:17:03 -0400
Delivered-To: 179192-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 18

Source: dpkg
Source-Version: 1.10.21

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

dpkg-dev_1.10.21_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.10.21_all.deb
dpkg-doc_1.10.21_all.deb
  to pool/main/d/dpkg/dpkg-doc_1.10.21_all.deb
dpkg_1.10.21.dsc
  to pool/main/d/dpkg/dpkg_1.10.21.dsc
dpkg_1.10.21.tar.gz
  to pool/main/d/dpkg/dpkg_1.10.21.tar.gz
dpkg_1.10.21_i386.deb
  to pool/main/d/dpkg/dpkg_1.10.21_i386.deb
dselect_1.10.21_i386.deb
  to pool/main/d/dpkg/dselect_1.10.21_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 179192@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott James Remnant <scott@netsplit.com> (supplier of updated dpkg 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, 25 Apr 2004 18:55:10 +0100
Source: dpkg
Binary: dpkg-doc dpkg dselect dpkg-dev dpkg-static
Architecture: source all i386
Version: 1.10.21
Distribution: unstable
Urgency: low
Maintainer: Dpkg Development <debian-dpkg@lists.debian.org>
Changed-By: Scott James Remnant <scott@netsplit.com>
Description: 
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
 dselect    - a user tool to manage Debian packages
Closes: 10879 33046 47267 90623 98210 102094 109669 109691 115352 120970 124225 146167 151799 155456 158916 160761 161156 166052 171489 174973 174978 179192 187952 200701 200763 204275 207758 214699 219210 220776 225086 233614 237589 237624 237864 239000 240081 241503 242870 243191 244098 244316
Changes: 
 dpkg (1.10.21) unstable; urgency=low
 .
   * Fix incorrect linked list node removal code that caused every second
     shared or diverted conffile to be deleted by dpkg.
     Closes: #10879, #33046, #47267, #90623, #98210, #109691, #146167.
     Closes: #155456, #204275.
   * Call mknod with the required device type.  Closes: #158916.
   * Correct the default query output format to be consistent with
     what the underlying library expects.  Closes: #174973.
   * Fix missing NULL-termination in dpkg-query -W display of dependency
     fields.  Closes: #174978
   * Strip output from md5sum(1) after the first whitespace character.
     Closes: #200763.
   * Output a warning if we cannot open a configuration file instead of
     treating it as a fatal error, in case our home directory is not readable
     by root.  Closes: #200701.
   * Set LC_ALL to C before spawning off dpkg --search, to avoid searching
     on localized strings.  Closes: #244316.
   * Don't require argument for start-stop-daemon -V.  Closes: #237589.
   * Correct use of @ARGV within dpkg-scanpackages, allowing -u to work
     once again.  Closes: #225086, #241503.
   * Make sure file permissions passed to dpkg-statoverride are numeric.
     Closes: #161156.
   * Correctly break out of the loop in install-info.
     Closes: #124225, #160761.
   * Add --dir-file option to install-info for GNU install-info
     compatibility.  Closes: #179192
   * Refer to debian-policy in dpkg-doc's description instead of the
     non-existant packaging-manual.  Closes: #120970.
   * Remove incorrect mention of build-essential from dpkg-checkbuilddeps
     manpage.  Closes: #219210.
   * Add a note about diverting shared libraries to the dpkg-divert
     manpage.  Closes: #214699.
   * Updated Translations:
     - Brazilian Portugese (Andre Luis Lopes).  Closes: #237864.
     - Catalan (Jordi Mallach).
     - Danish (Claus Hindsgaul).  Closes: #237624.
     - Dutch (Pieter-Paul Spiertz, Bart Cornelis, Erwin).
       Closes: #102094, #151799, #207758.
     - French (Sam Hocevar).  Closes: #243191.
     - German (Florian Ernst).  Closes: #109669, #115352, #187952, #244098.
     - Japanese manpages (KISE Hiroshi).  Closes: #220776.
     - Polish (Bartosz Fenski).  Closes: #242870.
     - Spanish (Javier Fernández-Sanguino Peña).  Closes: #166052.
     - Swedish (Peter Karlsson).
   * New Translations:
     - Japanese dpkg-source manpage (KISE Hiroshi).  Closes: #239000.
     - Norwegian Nynorsk (Gaute Hvoslef Kvalnes).  Closes: #233614.
     - Portguese (Miguel Figueiredo).  Closes: #240081.
     - Spanish dpkg-source manpage (Ruben Porras).  Closes: #171489.
Files: 
 3c0ee1d26bd55362b92eee8e6255aee0 798 base required dpkg_1.10.21.dsc
 a9f6c43891db74d727beab7dfc0ee663 1682647 base required dpkg_1.10.21.tar.gz
 e492251ba4cf345982782b7880056e1f 1220962 base required dpkg_1.10.21_i386.deb
 132ac9df0f3dd8fd8b7adbf409f8ed3e 105530 base required dselect_1.10.21_i386.deb
 48e0a00caea19997c46ad2d7539b2731 137490 utils standard dpkg-dev_1.10.21_all.deb
 794381a64e07416e48af7d6bb4ae52d0 10620 doc optional dpkg-doc_1.10.21_all.deb

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

iD8DBQFAi/2fIexP3IStZ2wRAn8pAJ9/rxk0uozGIQta1eA1i+IQZIQx9QCgpA1B
Hn7++hlhNM0b38XnzfCRzhg=
=GiSq
-----END PGP SIGNATURE-----



Reply to: