delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/24/03:43:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=gUsNgcp
tICwVeUsazvWNTO9GCWwWoAT2Z6qItHzu9WnTl+SG63TLNqApLxucYrTNbwbrtLA
4TIjCaQki9OUslYSAH6Em5Ao12qvCDYRcwqc09s8V83uwT0PRghOOTEnm8tGwLVh
uFT2MAwcaSqSBCACWGZ9kDnFKCUOYPMxwsMk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=1Gtd5nvOIDlrY
gCnkePtH/JiFts=; b=pHU77wmk+kVrx28URyHylbgXPHD5SIBu9P+uouUTV090a
YKL3YgG3kGSHXsuRy0YV9Xbv8RMz9hbk3aNAZ8P/9XPUVe6IvwdXki5zc3b/GX97
rib5lK/kO7Pa6LB1EnS/DM92MCgjclyOTob3iXi5hcArjC2fK6Y/o9mL8qDPmc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=D*ab.ca, ec, sk:briani, U*Brian.Inglis
X-HELO: mail-oi0-f47.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=mPpDwnzz2lopTxvP3xNVLAI3rJ/Cqsk6tcKo9bTvTn0=; b=PrKxZpTI6nSfjeiRG+gKd+yl3U86G+Y7xmVIQcTNaAGXp4V/elyPjhUiUIZ83Wmdx+ KumxH0blv2j12GqcKFh5/sxy94OSWh2cUo4Do3/e5yCE4f76ZYTaz147au/YjeG036w7 iZFy/aqTl9mULLgFwDXFPIjmgVgGSDkJr3J6Yadjd8WpStCDjz2X5/4YzwJ9ELf+nBxy IJup9T4gy5bJLH9t0amZfqABW6t2wZxEtNaoeAaEUF6F6JphXEO4SbSYhree65ORBiGk eKXdjQtC5iX8nhx/pRjuaxAc6vwvcgWTpCY7DKd7e8t5f6zauTLL7IpqHxqC2HO6uqgS 4t/g==
X-Gm-Message-State: AODbwcDCTR2CvXv4Ju98R5HYHWaE1ul0zYMN+B9MO1DEcpaCZqZt9IYM klw2WpMZ7AnB8uu7AVtTKjiYeSbXF9IA
X-Received: by 10.157.14.90 with SMTP id n26mr3878224otd.176.1495611773411; Wed, 24 May 2017 00:42:53 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <55609c2e-6bc5-1819-8342-815a0d79e51d@SystematicSw.ab.ca>
References: <CAL5LfdTT-FQpZCBEr=r2ntU9NibGF2hRU=e6fd_R-4n39RKwng AT mail DOT gmail DOT com> <55609c2e-6bc5-1819-8342-815a0d79e51d AT SystematicSw DOT ab DOT ca>
From: Michael Stellar <vortexilation AT gmail DOT com>
Date: Wed, 24 May 2017 14:42:53 +0700
Message-ID: <CAL5LfdS3-KMS+smdXzHvjuOfJtcAk9BxE48y3gf-FsMWON9zKQ@mail.gmail.com>
Subject: Re: too many environment variables on self-compiled xar archiver
To: Brian DOT Inglis AT systematicsw DOT ab DOT ca, cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hello Brian,

        Appreciated the reply, tried to search "!C:" on registry or
searching for "!C:" in all files (*.*) content on c:\cygwin or using
tools like rapidee (to edit env variables), and the result is i could
not found it!.
Looks like it's being added by either the bash shell? itself or
something else?. The only i could found is "%{!S:%{!c:%e-c or -S
required for Ada}}" inside c++.exe, cpp.exe, g++.exe, gcc.exe.

Btw my environment is latest cygwin x86, windows 10 x64 creator
update, visual studio 2015 and & 2017 installed, gcc and g++ mingw x86
and x64 installed. Latest cygwin snapshot.


Cheers,



On Wed, May 24, 2017 at 9:53 AM, Brian Inglis
<Brian DOT Inglis AT systematicsw DOT ab DOT ca> wrote:
> On 2017-05-23 16:30, Michael Stellar wrote:
>> I am getting the following when running my self-compiled xar 1.6.1 archiver
>> gdb xar
>> Starting program: /usr/local/bin/xar
>> [New Thread 12044.0x1f54]
>> [New Thread 12044.0xfc8]
>> [New Thread 12044.0x2dcc]
>> [New Thread 12044.0x2cd8]
>> [New Thread 12044.0x2d58]
>>       1 [main] xar 12044 C:\cygwin\usr\local\bin\xar.exe: *** fatal
>> error - internal error reading the windows environment - too many
>> environment variables?
>>     739 [main] xar 12044 cygwin_exception::open_stackdumpfile: Dumping
>> stack trace to xar.exe.stackdump
>> [Thread 12044.0x2dcc exited with code 256]
>> [Thread 12044.0xfc8 exited with code 256]
>> [Thread 12044.0x2cd8 exited with code 256]
>> [Inferior 1 (process 12044) exited with code 0400]
>>
>> My env variables is here https://pastebin.com/NrWKuaSC , i have tried
>> to unset some of the long variables but the error still persist.
>
> Did you notice this entry and does anyone know where this comes from?
>         !C:=C:\cygwin\bin
>
> Another poster found a problem with non-ascii accented initial letters
> in the environment variable name - perhaps this is the same problem?
>
> If Cygwin environment setup has a problem with an environment variable
> name or contents, it should either ignore it, copy it, or convert it to
> Cygwin format, but it seems to be stumbling, when it should just be
> ignoring it and skipping to the next variable.
>
> Try removing that environment variable, either from the Control Panel,
> or directly in regedit if necessary.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> --
> 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
>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019