Contains /usr/share/info/dir.old.gz if rebuilt on current sid

Bug #6768 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
texinfo (Debian)
Fix Released
Unknown
texinfo (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #218976
http://bugs.debian.org/218976

Revision history for this message
In , Josip Rodin (joy-srce) wrote : Re: Bug#218976: Contains /usr/share/info/dir.gz if rebuilt on current sid

On Mon, Nov 03, 2003 at 06:03:37PM +0100, Andreas Metzler wrote:
> Package: texinfo
> Version: 4.6-1
> Severity: important
> Tags: patch
>
> If rebuilt with current dpkg which sends "install-info --version" to
> stdout the package will contain /usr/share/info/dir.gz. This is due to
> an automake bug which is fixed in 1.7.8-1.
>
> @if (install-info --version && \
> - install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
> + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \

To be precise, the 2>&1 part is not necessary with current dpkg, only the
sed command that does head -1 :)

I actually have a partial fix for this in the rules file

find $(texinfo) -type f -name dir -or -name install-info* | xargs rm -f

It's been there since the beginning of time...

--
     2. That which causes joy or happiness.

Revision history for this message
In , Andreas Metzler (ametzler-downhill) wrote :

On Mon, Nov 03, 2003 at 11:14:47PM +0100, Josip Rodin wrote:
> On Mon, Nov 03, 2003 at 06:03:37PM +0100, Andreas Metzler wrote:
> > Package: texinfo
> > Version: 4.6-1
> > Severity: important
> > Tags: patch
> >
> > If rebuilt with current dpkg which sends "install-info --version" to
> > stdout the package will contain /usr/share/info/dir.gz. This is due to
> > an automake bug which is fixed in 1.7.8-1.
> >
> > @if (install-info --version && \
> > - install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
> > + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \

> To be precise, the 2>&1 part is not necessary with current dpkg,

The 2>&1 is actually never needed, as install-info from old dpkg
outputs to stderr, but imho without it is a lot less readable and it
is the version used in recent automake, which is the main reason I
used it.

> only the sed command that does head -1 :)

"head -n 1", otherwise the coreutils maintainer will beat you with
stick ;-)

> I actually have a partial fix for this in the rules file

> find $(texinfo) -type f -name dir -or -name install-info* | xargs rm -f

> It's been there since the beginning of time...

Gotcha nevertheless. :-)

BTW I am now at j, iirc 190/340 packages checked. However I am sure I
have missed some instances, as I did not do two-level unpacking needed
for checking dbs-packages (Thanks to dpatch an cdbs their number is
small today anyway)
             cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

Revision history for this message
In , Andreas Metzler (ametzler-logic) wrote : Re: Raising severity of Contains /usr/share/info/dir.gz if rebuilt on current sid"-bugs.

retitle 218976 Contains /usr/share/info/dir.old.gz if rebuilt on current sid
thanks
On Wed, Mar 17, 2004 at 12:20:08PM +0100, Josip Rodin wrote:
> On Wed, Mar 17, 2004 at 10:45:56AM +0100, Andreas Metzler wrote:
> > I.e. any of these package has a RC bug if it is recompieled without
> > fixing this bug.

> > #218976 texinfo

> The above assertion is incorrect in that case, as evidenced in the
> bug log. :)

texinfo indeed would not contain /usr/share/info/dir.gz but it would
contain /usr/share/info/dir.old.gz which would be a RC, afaik.
             cu andreas

Revision history for this message
In , Andreas Metzler (ametzler-logic) wrote :

#Please consult
# http://lists.debian.org/debian-devel/2004/debian-devel-200403/msg01170.html
severity 218478 serious
severity 218479 serious
severity 218483 serious
severity 218941 serious
severity 218946 serious
severity 218964 serious
severity 218976 serious
severity 218978 serious
severity 219599 serious
severity 219609 serious
severity 219612 serious
severity 219988 serious
severity 219990 serious
severity 219991 serious
severity 219994 serious
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #218976
http://bugs.debian.org/218976

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 3 Nov 2003 18:03:37 +0100
From: Andreas Metzler <email address hidden>
To: <email address hidden>
Subject: Contains /usr/share/info/dir.gz if rebuilt on current sid

Package: texinfo
Version: 4.6-1
Severity: important
Tags: patch

If rebuilt with current dpkg which sends "install-info --version" to
stdout the package will contain /usr/share/info/dir.gz. This is due to
an automake bug which is fixed in 1.7.8-1.

See Bug #214769 for details.

You can either run a fixed version of automake on your sourcecode to
regenerated correct Makefile.ins or use this patch:
----------------
--- doc/Makefile.in.orig 2003-10-31 16:52:29.000000000 +0100
+++ doc/Makefile.in 2003-10-31 16:53:09.000000000 +0100
@@ -217,7 +217,7 @@
 uninstall-info-am:
  $(PRE_UNINSTALL)
  @if (install-info --version && \
- install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
+ install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
    list='$(INFO_DEPS)'; \
    for file in $$list; do \
      relfile=`echo "$$file" | sed 's|^.*/||'`; \
@@ -416,7 +416,7 @@
  done
  @$(POST_INSTALL)
  @if (install-info --version && \
- install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
+ install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
    list='$(INFO_DEPS)'; \
    for file in $$list; do \
      relfile=`echo "$$file" | sed 's|^.*/||'`; \
----------------

               cu andreas

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 3 Nov 2003 23:14:47 +0100
From: Josip Rodin <email address hidden>
To: Andreas Metzler <email address hidden>, <email address hidden>
Subject: Re: Bug#218976: Contains /usr/share/info/dir.gz if rebuilt on current
 sid

On Mon, Nov 03, 2003 at 06:03:37PM +0100, Andreas Metzler wrote:
> Package: texinfo
> Version: 4.6-1
> Severity: important
> Tags: patch
>
> If rebuilt with current dpkg which sends "install-info --version" to
> stdout the package will contain /usr/share/info/dir.gz. This is due to
> an automake bug which is fixed in 1.7.8-1.
>
> @if (install-info --version && \
> - install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
> + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \

To be precise, the 2>&1 part is not necessary with current dpkg, only the
sed command that does head -1 :)

I actually have a partial fix for this in the rules file

find $(texinfo) -type f -name dir -or -name install-info* | xargs rm -f

It's been there since the beginning of time...

--
     2. That which causes joy or happiness.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 3 Nov 2003 23:42:01 +0100
From: Andreas Metzler <email address hidden>
To: <email address hidden>
Subject: Re: Bug#218976: Contains /usr/share/info/dir.gz if rebuilt on current
 sid

On Mon, Nov 03, 2003 at 11:14:47PM +0100, Josip Rodin wrote:
> On Mon, Nov 03, 2003 at 06:03:37PM +0100, Andreas Metzler wrote:
> > Package: texinfo
> > Version: 4.6-1
> > Severity: important
> > Tags: patch
> >
> > If rebuilt with current dpkg which sends "install-info --version" to
> > stdout the package will contain /usr/share/info/dir.gz. This is due to
> > an automake bug which is fixed in 1.7.8-1.
> >
> > @if (install-info --version && \
> > - install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
> > + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \

> To be precise, the 2>&1 part is not necessary with current dpkg,

The 2>&1 is actually never needed, as install-info from old dpkg
outputs to stderr, but imho without it is a lot less readable and it
is the version used in recent automake, which is the main reason I
used it.

> only the sed command that does head -1 :)

"head -n 1", otherwise the coreutils maintainer will beat you with
stick ;-)

> I actually have a partial fix for this in the rules file

> find $(texinfo) -type f -name dir -or -name install-info* | xargs rm -f

> It's been there since the beginning of time...

Gotcha nevertheless. :-)

BTW I am now at j, iirc 190/340 packages checked. However I am sure I
have missed some instances, as I did not do two-level unpacking needed
for checking dbs-packages (Thanks to dpatch an cdbs their number is
small today anyway)
             cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 17 Mar 2004 12:37:26 +0100
From: Andreas Metzler <email address hidden>
To: <email address hidden>
Subject: Re: Raising severity of Contains /usr/share/info/dir.gz if rebuilt on
 current sid"-bugs.

retitle 218976 Contains /usr/share/info/dir.old.gz if rebuilt on current sid
thanks
On Wed, Mar 17, 2004 at 12:20:08PM +0100, Josip Rodin wrote:
> On Wed, Mar 17, 2004 at 10:45:56AM +0100, Andreas Metzler wrote:
> > I.e. any of these package has a RC bug if it is recompieled without
> > fixing this bug.

> > #218976 texinfo

> The above assertion is incorrect in that case, as evidenced in the
> bug log. :)

texinfo indeed would not contain /usr/share/info/dir.gz but it would
contain /usr/share/info/dir.old.gz which would be a RC, afaik.
             cu andreas

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 17 Mar 2004 18:11:56 +0100
From: Andreas Metzler <email address hidden>
To: <email address hidden>
Subject: Re: Raising severity of Contains /usr/share/info/dir.gz if rebuilt on
 current sid"-bugs.

#Please consult
# http://lists.debian.org/debian-devel/2004/debian-devel-200403/msg01170.html
severity 218478 serious
severity 218479 serious
severity 218483 serious
severity 218941 serious
severity 218946 serious
severity 218964 serious
severity 218976 serious
severity 218978 serious
severity 219599 serious
severity 219609 serious
severity 219612 serious
severity 219988 serious
severity 219990 serious
severity 219991 serious
severity 219994 serious
thanks

Revision history for this message
Matt Zimmerman (mdz) wrote :

Remove myself from all these CCs now that we have the warty-bugs mailing list

Revision history for this message
In , Matt Zimmerman (mdz) wrote : Re: texinfo: Contains /usr/share/info/dir.gz if rebuilt on current sid

This bug has been marked RC for a few months now; do you need assistance
with it? It seems easily fixed.

--
 - mdz

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 6 Jul 2004 12:10:01 -0700
From: Matt Zimmerman <email address hidden>
To: <email address hidden>
Subject: Re: texinfo: Contains /usr/share/info/dir.gz if rebuilt on current sid

This bug has been marked RC for a few months now; do you need assistance
with it? It seems easily fixed.

--
 - mdz

Revision history for this message
In , Josip Rodin (joy-srce) wrote : Re: Bug#218976: texinfo: Contains /usr/share/info/dir.gz if rebuilt on current sid

On Tue, Jul 06, 2004 at 12:10:01PM -0700, Matt Zimmerman wrote:
> This bug has been marked RC for a few months now; do you need assistance
> with it? It seems easily fixed.

Yeah, Colin Watson asked me about it a few days ago, too.
It's practically not RC, but I'll fix it with the next package release.

--
     2. That which causes joy or happiness.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 10 Jul 2004 18:45:42 +0200
From: Josip Rodin <email address hidden>
To: Matt Zimmerman <email address hidden>, <email address hidden>
Subject: Re: Bug#218976: texinfo: Contains /usr/share/info/dir.gz if rebuilt on current sid

On Tue, Jul 06, 2004 at 12:10:01PM -0700, Matt Zimmerman wrote:
> This bug has been marked RC for a few months now; do you need assistance
> with it? It seems easily fixed.

Yeah, Colin Watson asked me about it a few days ago, too.
It's practically not RC, but I'll fix it with the next package release.

--
     2. That which causes joy or happiness.

Revision history for this message
In , Josip Rodin (joy) wrote : Bug#218976: fixed in texinfo 4.7-1

Source: texinfo
Source-Version: 4.7-1

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

info_4.7-1_i386.deb
  to pool/main/t/texinfo/info_4.7-1_i386.deb
texinfo_4.7-1.diff.gz
  to pool/main/t/texinfo/texinfo_4.7-1.diff.gz
texinfo_4.7-1.dsc
  to pool/main/t/texinfo/texinfo_4.7-1.dsc
texinfo_4.7-1_i386.deb
  to pool/main/t/texinfo/texinfo_4.7-1_i386.deb
texinfo_4.7.orig.tar.gz
  to pool/main/t/texinfo/texinfo_4.7.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josip Rodin <email address hidden> (supplier of updated texinfo 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 address hidden>)

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

Format: 1.7
Date: Sat, 10 Jul 2004 19:02:24 +0200
Source: texinfo
Binary: texinfo info
Architecture: source i386
Version: 4.7-1
Distribution: unstable
Urgency: low
Maintainer: Josip Rodin <email address hidden>
Changed-By: Josip Rodin <email address hidden>
Description:
 info - Standalone GNU Info documentation browser
 texinfo - Documentation system for on-line information and printed output
Closes: 218976 221726 243312
Changes:
 texinfo (4.7-1) unstable; urgency=low
 .
   * New upstream version, closes: #243312.
   * Ditched now redundant debian/infokey.1.
   * Would no longer install /usr/share/info/dir.*, closes: #218976.
   * Supports GNU/K(Free|Net)BSD due to a new set of config.*, closes: #221726.
Files:
 210669984eed0d872f3c8a1ce7877766 605 doc standard texinfo_4.7-1.dsc
 72a57e378efb9898c9e41ca839554dae 1979183 doc standard texinfo_4.7.orig.tar.gz
 eb645a28e33a392d2c8b9ffedf90a703 8920 doc standard texinfo_4.7-1.diff.gz
 41cb9a6a314ad0f9864ff7ecf236bb6f 847170 text standard texinfo_4.7-1_i386.deb
 916402817b2d979159b7e1852dc025e5 178534 doc important info_4.7-1_i386.deb

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

iD8DBQFA8CRrC1RHoiANFZYRAsmwAKDjw8IX+RRdUkMtwvOmExuRaMorfwCeNPB2
v5VUlyfpiATF/0lhOMX51QY=
=HX4m
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 10 Jul 2004 18:02:13 -0400
From: Josip Rodin <email address hidden>
To: <email address hidden>
Subject: Bug#218976: fixed in texinfo 4.7-1

Source: texinfo
Source-Version: 4.7-1

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

info_4.7-1_i386.deb
  to pool/main/t/texinfo/info_4.7-1_i386.deb
texinfo_4.7-1.diff.gz
  to pool/main/t/texinfo/texinfo_4.7-1.diff.gz
texinfo_4.7-1.dsc
  to pool/main/t/texinfo/texinfo_4.7-1.dsc
texinfo_4.7-1_i386.deb
  to pool/main/t/texinfo/texinfo_4.7-1_i386.deb
texinfo_4.7.orig.tar.gz
  to pool/main/t/texinfo/texinfo_4.7.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josip Rodin <email address hidden> (supplier of updated texinfo 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 address hidden>)

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

Format: 1.7
Date: Sat, 10 Jul 2004 19:02:24 +0200
Source: texinfo
Binary: texinfo info
Architecture: source i386
Version: 4.7-1
Distribution: unstable
Urgency: low
Maintainer: Josip Rodin <email address hidden>
Changed-By: Josip Rodin <email address hidden>
Description:
 info - Standalone GNU Info documentation browser
 texinfo - Documentation system for on-line information and printed output
Closes: 218976 221726 243312
Changes:
 texinfo (4.7-1) unstable; urgency=low
 .
   * New upstream version, closes: #243312.
   * Ditched now redundant debian/infokey.1.
   * Would no longer install /usr/share/info/dir.*, closes: #218976.
   * Supports GNU/K(Free|Net)BSD due to a new set of config.*, closes: #221726.
Files:
 210669984eed0d872f3c8a1ce7877766 605 doc standard texinfo_4.7-1.dsc
 72a57e378efb9898c9e41ca839554dae 1979183 doc standard texinfo_4.7.orig.tar.gz
 eb645a28e33a392d2c8b9ffedf90a703 8920 doc standard texinfo_4.7-1.diff.gz
 41cb9a6a314ad0f9864ff7ecf236bb6f 847170 text standard texinfo_4.7-1_i386.deb
 916402817b2d979159b7e1852dc025e5 178534 doc important info_4.7-1_i386.deb

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

iD8DBQFA8CRrC1RHoiANFZYRAsmwAKDjw8IX+RRdUkMtwvOmExuRaMorfwCeNPB2
v5VUlyfpiATF/0lhOMX51QY=
=HX4m
-----END PGP SIGNATURE-----

Revision history for this message
Matt Zimmerman (mdz) wrote :

Fixed in 4.6-1ubuntu1

Revision history for this message
Daniel Robitaille (robitaille) wrote :

Fixed in Debian with:

 texinfo (4.7-1) unstable; urgency=low

   * New upstream version, closes: #243312.
   * Ditched now redundant debian/infokey.1.
   * Would no longer install /usr/share/info/dir.*, closes: #218976.
   * Supports GNU/K(Free|Net)BSD due to a new set of config.*, closes: #221726.

 -- Josip Rodin <email address hidden> Sat, 10 Jul 2004 19:02:24 +0200

Changed in texinfo:
status: Unconfirmed → Fix Released
Changed in texinfo:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.