X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 	tests=AWL,BAYES_00,TVD_RCVD_IP
X-Spam-Check-By: sourceware.org
Date: Thu, 25 Feb 2010 07:47:56 -0800 (PST)
From: "Peter A. Castro" <doctor@fruitbat.org>
To: cygwin@cygwin.com
Subject: Re: [Packaging error] c3270/tcl3270/s3270/pr3287/x3270
In-Reply-To: <20100225115108.GM5683@calimero.vinschen.de>
Message-ID: <alpine.LNX.2.00.1002250744380.12757@gremlin.fruitbat.org>
References: <7zeikwb1zv.fsf@vzell-de.de.oracle.com>  <alpine.LNX.2.00.1002090729130.11673@gremlin.fruitbat.org>  <alpine.LNX.2.00.1002242038350.12757@gremlin.fruitbat.org> <20100225115108.GM5683@calimero.vinschen.de>
User-Agent: Alpine 2.00 (LNX 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, 25 Feb 2010, Corinna Vinschen wrote:

> On Feb 24 21:31, Peter A. Castro wrote:
>> On Tue, 9 Feb 2010, Peter A. Castro wrote:
>>
>>> On Mon, 8 Feb 2010, Dr. Volker Zell wrote:
>>>
>>>> Hi
>>>>
>>>> The binaries from the following packages are missing the .exe extension.
>>>>
>>>> c3270-3.3.4p7-2
>>>> pr3287-3.3.4p7-2
>>>> s3270-3.3.4p7-2
>>>> tcl3270-3.3.4p7-2
>>>
>>> Yikes!  Hmm...how strange.  Ok, I'll fix that.  Thanks for the catch!
>>
>> Ok, I've been investigating just how/why this happened and it seems
>> there's been a change in how some of the automagic executable suffix
>> munging is being done in Cygwin 1.7 versus 1.5.
>>
>> The makefile has this bit of script in it:
>>
>>   /usr/bin/install -c c3270 $DESTDIR/$BINDIR/c3270
>>
>> Under Cygwin 1.5, this creates "c3270.exe".
>> Under Cygwin 1.7, this created "c3270"  (no .exe).
>>
>> There's been no change in the makefile scripts between releases of these
>> packages, so this is apparently a change in behaviour in either
>> /usr/bin/install or Cygwin's magical filename resolver internals.
>>
>> Yes, I've already dug through the email archives and this has been
>> discussed before with really no good resolution.
>
> Add $(EXEXT) handling to configure and makefiles?

As I've said in other email, I'll feed back to the owner of the project
with some suggestions, but this really just underscores how un-unix-like
this environment is.  For the moment I have a convenient workaround.

> Corinna

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

