GNU bug report logs - #17802
Possible libtool bug in func_convert_core_msys_to_w32

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: "Franchuk Alex (Alex)" <afranchuk@HIDDEN>; dated Wed, 18 Jun 2014 16:53:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Jun 2014 22:11:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 18 18:11:51 2014
Received: from localhost ([127.0.0.1]:52218 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WxO58-0007uc-Tp
	for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 18:11:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47657)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <peda@HIDDEN>) id 1WxO56-0007uN-Id
 for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 18:11:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <peda@HIDDEN>) id 1WxO4v-0007un-Mi
 for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 18:11:43 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34188)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peda@HIDDEN>) id 1WxO4v-0007uU-Ju
 for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 18:11:37 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49227)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peda@HIDDEN>) id 1WxO4q-00020Z-1n
 for bug-libtool@HIDDEN; Wed, 18 Jun 2014 18:11:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <peda@HIDDEN>) id 1WxO4j-0007on-P4
 for bug-libtool@HIDDEN; Wed, 18 Jun 2014 18:11:31 -0400
Received: from mail.lysator.liu.se ([2001:6b0:17:f0a0::3]:42832)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peda@HIDDEN>) id 1WxO4j-0007na-H1
 for bug-libtool@HIDDEN; Wed, 18 Jun 2014 18:11:25 -0400
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
 by mail.lysator.liu.se (Postfix) with ESMTP id 705724006B
 for <bug-libtool@HIDDEN>; Thu, 19 Jun 2014 00:11:22 +0200 (CEST)
Received: from [192.168.0.68] (90-227-119-221-no95.business.telia.com
 [90.227.119.221])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by mail.lysator.liu.se (Postfix) with ESMTPSA id 4E4C44006A
 for <bug-libtool@HIDDEN>; Thu, 19 Jun 2014 00:11:22 +0200 (CEST)
Message-ID: <53A20E88.8090806@HIDDEN>
Date: Thu, 19 Jun 2014 00:11:20 +0200
From: Peter Rosin <peda@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: bug-libtool@HIDDEN
Subject: Re: bug#17802: Possible libtool bug in func_convert_core_msys_to_w32
References: <3862C5643B15B6468269546753EB2A920A54EB5B@HIDDEN>
In-Reply-To: <3862C5643B15B6468269546753EB2A920A54EB5B@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)

On 2014-06-18 17:30, Franchuk Alex (Alex) wrote:
> Hi,
> 
> I believe there is a bug in the function func_convert_core_msys_to_w32,
> as "cmd //c" opens a command prompt and then hangs on Windows 7,
> preventing the caller from going any further, whereas if you change this
> to "cmd /C", it works as intended. Not sure if older windows systems
> worked with //c, but Win7 definitely doesn't.

We're missing context. "cmd //c" is intended to be executed from MSYS
(function named ...msys_to_w32 remember) and the MSYS command line
parsing heuristic is supposed treat //c as if you really wanted to say /c.

And that works for me on Windows 7:

$ cmd //c type 'C:\MinGW\msys\1.0\bin\cmd'
#!/bin/sh
# Copyright (C) 2002, Earnie Boyd
#   mailto:do not feed the spammers
# This file is part of Minimal SYStem.
#   http://www.mingw.org/msys.shtml
# File: cmd

"$COMSPEC" "$@"
$ uname -s
MINGW32_NT-6.1


So, I'm wondering in what context your func_convert_core_msys_to_w32 is
running?

Cheers,
Peter




Information forwarded to bug-libtool@HIDDEN:
bug#17802; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Jun 2014 16:52:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 18 12:52:53 2014
Received: from localhost ([127.0.0.1]:51996 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WxJ6S-00083c-75
	for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 12:52:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46008)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <afranchuk@HIDDEN>) id 1WxIAC-0006Pb-Ib
 for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 11:52:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <afranchuk@HIDDEN>) id 1WxI9t-0001kA-Om
 for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 11:52:35 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,
 RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51581)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <afranchuk@HIDDEN>) id 1WxI9t-0001k6-Mm
 for submit <at> debbugs.gnu.org; Wed, 18 Jun 2014 11:52:21 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47258)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <afranchuk@HIDDEN>) id 1WxI9l-00032M-V7
 for bug-libtool@HIDDEN; Wed, 18 Jun 2014 11:52:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <afranchuk@HIDDEN>) id 1WxI9e-0001Zw-AT
 for bug-libtool@HIDDEN; Wed, 18 Jun 2014 11:52:13 -0400
Received: from mail.lgsinnovations.com ([164.109.49.210]:36781)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <afranchuk@HIDDEN>) id 1WxI9e-0001ZP-5k
 for bug-libtool@HIDDEN; Wed, 18 Jun 2014 11:52:06 -0400
Received: from BLTSXVS01.govsolutions.com ([10.102.191.138] RDNS failed) by
 mail.lgsinnovations.com with Microsoft SMTPSVC(6.0.3790.4675); 
 Wed, 18 Jun 2014 11:30:03 -0400
x-mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: Possible libtool bug in func_convert_core_msys_to_w32
Date: Wed, 18 Jun 2014 11:30:00 -0400
Message-ID: <3862C5643B15B6468269546753EB2A920A54EB5B@HIDDEN>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Possible libtool bug in func_convert_core_msys_to_w32
Thread-Index: Ac+LCdCcF66DbuvQRw2B/Pm4+Eq3MQ==
From: "Franchuk Alex (Alex)" <afranchuk@HIDDEN>
To: <bug-libtool@HIDDEN>
X-OriginalArrivalTime: 18 Jun 2014 15:30:03.0792 (UTC)
 FILETIME=[2CFFA900:01CF8B0A]
X-detected-operating-system: by eggs.gnu.org: Windows XP
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 18 Jun 2014 12:52:50 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hi,

I believe there is a bug in the function func_convert_core_msys_to_w32,
as "cmd //c" opens a command prompt and then hangs on Windows 7,
preventing the caller from going any further, whereas if you change this
to "cmd /C", it works as intended. Not sure if older windows systems
worked with //c, but Win7 definitely doesn't.

Hope this helps,
Alex Franchuk




Acknowledgement sent to "Franchuk Alex (Alex)" <afranchuk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#17802; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.