Bug in cygport __postinst

Charles Wilson cygwin@cwilson.fastmail.fm
Fri Mar 27 16:22:00 GMT 2009

I stated here:
that the "Problem with 575 man pages" reported here:
was not actually a cygport issue.  I was wrong.  It is a problem with

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

$ 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.


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/

More information about the Cygwin mailing list