cygport 0.3.9 bug

Yaakov (Cygwin Ports)
Sun May 4 20:52:00 GMT 2008

Hash: SHA256

Eric Blake wrote:
| I've reported this before against earlier versions [1], but the bug is
| still present in 0.3.9, and it breaks packaging of bash.  Basically,
| cygport should NOT ignore patches to aclocal.m4 in packages that do not
| use automake, since in that case, it is a hand-maintained file and not
| generated.

I'm sorry that I missed this before.

It's slightly more complicated than that, but here's a patch that should
handle most cases.  There are a handful of packages where the autotools
are listed in a subdirectory (tcl comes to mind), but such a case would
anyways require a DIFF_EXCLUDES.  I want to test this further to see if
any regressions arise before committing.

WRT your bash cygport, it would appear that you have rendered the
aclocal patch unnecessary by setting the AC_CACHE_VAL.

As for your other "hacks":
1) I would investigate further a bug (in soelim?) that prevents ".so"
from reading a compressed file unless it is on the first line.

FWIW,  on Gentoo, the offending section is removed entirely from
bash_builtins.1, but on Debian it is present and bash.1 is compressed.
sourceware also has a compressed bash.1, and builtins.1 (and all those
which .so it) works fine.

2) Parallel make should be possible with a patch from Gentoo:*checkout*/gentoo-x86/app-shells/bash/files/bash-3.2-parallel-build.patch

3) With the postinstall, perhaps you could rename it and installing it
manually, e.g.:

insinto /etc/postinstall

You would then have two postinstall scripts ( containing the
install-info command), *or* you could RESTRICT="postinst-info" as info
might not be set up (e.g. update-info-dir) on a fresh install.


Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla -

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: aclocal.patch
URL: <>
-------------- next part --------------
Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list