GNU bug report logs - #19735
25.0.50; regression: contrary to documentation etags does not work with compressed files any more; did work in emacs 24.4

Previous Next

Package: emacs;

Reported by: Gregor Zattler <grfz <at> gmx.de>

Date: Fri, 30 Jan 2015 17:52:02 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19735: closed (25.0.50; regression: contrary to documentation
 etags does not work with compressed files any more; did work in emacs
 24.4)
Date: Thu, 19 Feb 2015 16:17:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 19 Feb 2015 18:17:04 +0200
with message-id <83twyh3mgv.fsf <at> gnu.org>
and subject line Re: bug#19735: 25.0.50; regression: contrary to documentation etags does not work with	compressed files any more; did work in emacs 24.4
has caused the debbugs.gnu.org bug report #19735,
regarding 25.0.50; regression: contrary to documentation etags does not work with compressed files any more; did work in emacs 24.4
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
19735: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19735
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Gregor Zattler <grfz <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50;
 regression: contrary to documentation etags does not work with
 compressed files any more; did work in emacs 24.4
Date: Fri, 30 Jan 2015 18:51:25 +0100
Dear emacs developers,

etags from emacs24 in debian jessie:
GNU Emacs 24.4.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll
bars) of 2014-12-19 on brahms, modified by Debian

is able to work with e.g.
/usr/share/emacs/24.4/lisp/dired-aux.el.gz

while ~/src/emacs/lib-src/etags build from recent source is not:

$ ~/src/emacs/lib-src/etags /usr/share/emacs/24.4/lisp/dired-aux.el.gz
/usr/share/emacs/24.4/lisp/dired-aux.el.gz: Invalid argument

I did a git bisect on the emacs repository, this is the result:

first bad commit: [ba1ed52f0c2c7fd15fe1feadabfd0af88e19b4c3] Use binary-io module, O_BINARY, and „b“ flag.

There is already bug #2807: „etags can't access .el.gz files“
from 2009 which was confirmed and discussed but seemingly not
resolved in 2011.  bug #2807 describes that etags worked on the
compressed files but later it was not possible to use the TAGS
file.  The bug I file is about building the TAGS file.

Thanks for your attention, Gregor


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregor Zattler <grfz <at> gmx.de>
Cc: 19735-done <at> debbugs.gnu.org
Subject: Re: bug#19735: 25.0.50;
 regression: contrary to documentation etags does not work
 with	compressed files any more; did work in emacs 24.4
Date: Thu, 19 Feb 2015 18:17:04 +0200
> From: Gregor Zattler <grfz <at> gmx.de>
> Date: Fri, 30 Jan 2015 18:51:25 +0100
> 
> etags from emacs24 in debian jessie:
> GNU Emacs 24.4.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll
> bars) of 2014-12-19 on brahms, modified by Debian
> 
> is able to work with e.g.
> /usr/share/emacs/24.4/lisp/dired-aux.el.gz
> 
> while ~/src/emacs/lib-src/etags build from recent source is not:
> 
> $ ~/src/emacs/lib-src/etags /usr/share/emacs/24.4/lisp/dired-aux.el.gz
> /usr/share/emacs/24.4/lisp/dired-aux.el.gz: Invalid argument
> 
> I did a git bisect on the emacs repository, this is the result:
> 
> first bad commit: [ba1ed52f0c2c7fd15fe1feadabfd0af88e19b4c3] Use binary-io module, O_BINARY, and „b“ flag.

Amazingly enough, the "b" flag in 'popen' is not supported on
GNU/Linux, at least some of its versions.

Fixed in commit d10c3ed.

Thanks.


This bug report was last modified 10 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.