Received: from spf3.us4.outblaze.com (spf3.us4.outblaze.com [205.158.62.25]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iB16PCOv005959 for ; Wed, 1 Dec 2004 06:25:15 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf3.us4.outblaze.com (Postfix) with ESMTP id C2BE253878 for ; Wed, 1 Dec 2004 06:23:46 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZO3P-0000XL-9z for migo@homemail.com; Wed, 01 Dec 2004 01:33:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CZO2r-0000SW-Bj for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 01:32:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CZO2q-0000S5-Ae for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 01:32:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZO2q-0000RX-5V for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 01:32:56 -0500 Received: from [129.255.60.186] (helo=ct.radiology.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CZNtD-0007co-04 for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 01:22:59 -0500 Received: from [192.168.1.11] (12-217-241-0.client.mchsi.com [12.217.241.0]) by ct.radiology.uiowa.edu (8.11.6/8.11.6) with ESMTP id iB16Mu315506; Wed, 1 Dec 2004 00:22:56 -0600 Message-ID: <41AD6338.6040408@arbash-meinel.com> Date: Wed, 01 Dec 2004 00:22:48 -0600 From: John A Meinel User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Page Subject: Re: [Gnu-arch-users] building arch on cygwin (was: darcs vs tla) References: <001a01c4d767$88755250$6501a8c0@Asus> In-Reply-To: <001a01c4d767$88755250$6501a8c0@Asus> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Cc: gnu-arch-users@gnu.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1221056952==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 3759 Lines: 114 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1221056952== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0E9838D5F65AC4F19CB60768" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0E9838D5F65AC4F19CB60768 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Bill Page wrote: > John A Meinel, et al. > > Following the recipe below I did successfully build tla on > Cygwin from the listed archives as of 30 November, but in > addition to the unit-unidata test failure below, I am seeing > numerous other test failures: > > In hackerlab/tests/fs-tests/unit-file-names.sh > home... > expand... > > In tla/tests/test-my-id.sh > > Setting my-id: Jane Doe > mkdir: cannot create directory `+': File exists > This is actually a bug in the scripts themselves. It turns out that cygwin's /bin/sh is actually ash, not bash. So it doesn't support the syntax of $(($x + 1)) . Instead of giving you 2 it gives 1 + 1. My workaround was to close all cygwin shells, and then delete c:\cygwin\bin\sh.exe and copy c:\cygwin\bash.exe to sh.exe. The other workaround would be to figure out how to do addition in pure POSIX shell, or go around and make sure all the scripts reference /bin/bash instead of /bin/sh. This should probably be registered as a bug, but I'm not sure what the "correct" solution is. > (At this point I stopped trying to continue running the tests > by commenting out failures.) > > In spite of these test failures, tla does seem to be quite > functional in my simple manual tests. Are the test failures > above special cases that do not often occur in practice? > Should I just ignore these failures? Or is there work in > progress to address them? > It's a bug in the script, not in the binary. > Also, I notice that the reference to a "binary version available > at http://ct.radiology.uiowa.edu/~jfmeinel/archives" at > http://wiki.gnuarch.org/moin.cgi/Native_20WIN32_20Support > is apparently out of date since I no longer find the referenced > files there. If I recall correctly, I did download an executable > cygwin tla from that location on 19 November. I have been using > it successfully from the last 10 days. Is a new binary now > available somewhere else? > I forgot to update the wiki. The correct page is: http://ct.radiology.uiowa.edu/~jfmeinel/tla-short-path/ There should be the latest version of the binary there. I'm using it myself, so I'm pretty sure it is good. > Regards, > Bill Page. > Thanks for evaluating it. Sorry all the ends aren't as polished as they could be, if you have any suggestions I'm listening. (Especially if the suggestions come in patch form :) John =:-> --------------enig0E9838D5F65AC4F19CB60768 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBrWM7JdeBCYSNAAMRAqbLAJ95L5vzedne9tVPTaKJ4796mcwgPgCguGA3 ON2vfA7m6IQsgY4/ZgZMW7o= =2k3h -----END PGP SIGNATURE----- --------------enig0E9838D5F65AC4F19CB60768-- --===============1221056952== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============1221056952==--