delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/27/11:19:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_44,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49CCFC95.6060609@cwilson.fastmail.fm>
Date: Fri, 27 Mar 2009 12:19:33 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Bug in cygport __postinst
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I stated here:
http://cygwin.com/ml/cygwin/2009-03/msg00576.html
that the "Problem with 575 man pages" reported here:
http://cygwin.com/ml/cygwin/2009-03/msg00536.html
was not actually a cygport issue.  I was wrong.  It is a problem with
cygport.

Here's what the man3/ directory looks like just after the src_install()
procedure finished, but before __postinst (removed owner info for width)

...       (sz)   date+time
lrwxrwxrwx 15   Mar 27 00:22 wunctrl.3x.gz -> curs_util.3x.gz
lrwxrwxrwx 17   Mar 27 00:20 wvline.3x.gz -> curs_border.3x.gz
lrwxrwxrwx 21   Mar 27 00:21 wvline_set.3x.gz -> curs_border_set.3x.gz

Here's what it looks like after __postinst:

...       (sz)   date+time
-rw-r--r-- 20   Mar 27 00:30 wunctrl.3x.gz
-rw-r--r-- 22   Mar 27 00:30 wvline.3x.gz
-rw-r--r-- 26   Mar 27 00:30 wvline_set.3x.gz

And...
$ zcat wunctrl.3x.gz
gzip: wunctrl.3x.gz: not in gzip format

$ cat wunctrl.3x.gz
.so curs_util.3x.gz

It looks like the fact that ncurses' install procedure already gzipped
the "real" manpages, and named the symlinks with a trailing .gz,
confuses cygport's __postinst procedure a bit.  I've worked around it in
the latest ncurses release(s), but just wanted to re-report the issue.

--
Chuck

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019