| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| Date: | Mon, 16 Mar 2009 08:24:32 -0800 (PST) |
| From: | David Dyck <david DOT dyck AT fluke DOT com> |
| To: | "Lee D.Rothstein" <lee AT veritech DOT com> |
| cc: | Cygwin Tech List <cygwin AT cygwin DOT com> |
| Subject: | Re: Problem with 575 man pages -- ( libncurses-devel-5.7-4 problem? ) |
| In-Reply-To: | <49BDE52A.80100@veritech.com> |
| Message-ID: | <Pine.LNX.4.62.0903160742170.10747@dd.tc.fluke.com> |
| References: | <49BDE52A DOT 80100 AT veritech DOT com> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Sun, 15 Mar 2009 at 22:35 -0700, lee@... wrote:
> A large number (575) of 'man' pages, that reference other man pages using a
> '.so' (source include) reference, fail to work because the plain text files
> have the '.gz' extension appended without actually being gzipped. Could
> this be due to a mishap in or with the 'cygport' package?
>
> Each reference appears to be okay (I've only tested a handful), iff you
> remove the '.gz' extension.
I see a similar list (only 574 :-) if I execute the following commands
$ cd /usr/share/man/man3
$ file *.gz | perl -ne 's/^[^:]*:\s*//; print unless /gzip compressed data/' | sort | uniq -c
574 ASCII troff or preprocessor input text
The error message I see
$ man wtimeout
gzip: /usr/share/man/man3/wtimeout.3x.gz: not in gzip format
fgets: No such file or directory
Error reading man page /usr/share/man/man3/wtimeout.3x.gz
No manual entry for wtimeout
If I examine where the files come from
$ cd /usr/share/man/man3
$ file *.gz | perl -ne 's/^([^:]*)://; my $f=$1; unless ( /gzip compressed data/ ) { my $cmd = "cygcheck -f $ENV{PWD}/$f"; print "$f - ".`$cmd`; } '
I see they all come from one package "libncurses-devel-5.7-4"
To verify this a quick look at the man3 pages that are installed from libncurses-devel
reveals the same 574 .gz files that aren't really compressed.
(I needed the dos2unix because the output of the cygcheck/grep pipe had \015 at the end of the lines,
which caused xargs to choke)
$ cygcheck -l libncurses-devel | grep 'man3.*gz' | dos2unix | xargs file | perl -ne 's/^[^:]*:\s*//; print unless /gzip compressed data/' | sort | uniq -c
574 ASCII troff or preprocessor input text
So, at least many of your 575 files that are incorrectly named as .gz files
are from one package. Perhaps this will bring you closer to a solution.
David
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |