delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/03/01:04:13

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:reply-to:subject:references:from:to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Rx/oK5J7XRYf6lk7
k61BqBvJP518/DZDkmL3Mh9UUm30tvP0qmlYCdIZP3qhkUUr/wRRCkBjkjNZEV8U
k4m/CKehGRuoHs7HivQTX8JqVjXMKyXpI0kDaP+uZVk+TJG+qa+JtUqD7a0C9tC/
2Hby7LI+UVwD+1r0EHiZaFxMac4=
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:reply-to:subject:references:from:to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=c7Z3jb2iu3JNNrnCvGf1D5
ltMcc=; b=bgVQ5Y8GcqQk8KF9cS9oLJt63oDbfzpVyHNdPe2tCXpGuvw2kJ1zZL
A/u7QQQiNa/Um5FJt9Emx3tgUP4qUeB/1O6KTnA+4wABLUjH5TPoo/4aVvATiHgi
tkgor3C9gXh3qFvMNd/SnBcYg1PjG+P0z14i1pGcve5uHv/yLMFQI=
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-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,KAM_EXEURI,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=weekend, rolled, upgrades, HContent-Transfer-Encoding:8bit
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Entry point not found issues with cygwin DLLs
References: <8e0411f4-4df9-63f7-2fd8-02fd6975e778 AT avenger DOT ws> <1a6860b1-6888-7d76-a934-83d86f93a1a5 AT cornell DOT edu> <d8c0de40-839e-920e-48b4-e2b8c21c4f4c AT SystematicSw DOT ab DOT ca> <cdebcdbf-72b6-cba2-2221-4e330d0a69f2 AT avenger DOT ws>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
To: cygwin AT cygwin DOT com
Message-ID: <4b949d83-2955-f643-6d1d-3302873edd4c@SystematicSw.ab.ca>
Date: Mon, 2 Jul 2018 23:03:55 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <cdebcdbf-72b6-cba2-2221-4e330d0a69f2@avenger.ws>
X-IsSubscribed: yes

On 2018-07-02 14:36, Heavenly Avenger wrote:
> On 7/2/2018 5:02 PM, Brian Inglis wrote:
>> On 2018-07-02 13:35, Ken Brown wrote:
>>> On 7/2/2018 3:08 PM, Heavenly Avenger wrote:
>>>> I'm having hard times with cygwin here, random libraries stop working once I
>>>> update or install new ones.
>>> This can happen if you update a package without updating its dependencies.  For
>>> example, the dependency might have introduced a new API.
>>>> If I run ssh with 'strace' ('strace ssh'), it pops up a windows dialog saying:
>>>> 'the procedure entry point __memcpy_chk could not be located
>>> It is in cygwin1.dll as of cygwin-2.10; see
>>> https://cygwin.com/cygwin-ug-net/ov-new.html.
>>>> cygwin's dll is: cygwin1.dll file version: 2008.0.0.0, version: 2.8.0.
>>> You need to update the cygwin package.  For best results, you should update all
>>> of your installed packages to their current versions.  (If you're running setup
>>> with the --packages option to update or install certain packages, then it's a
>>> good idea to also use the --upgrade-also option.)
>> Also ensure no processes using Cygwin are running, before starting a freshly
>> downloaded https://cygwin.com/setup-x86_64.exe, and wait until setup has
>> finished all processing and exited, before using any Cygwin programs:
>> otherwise autorebase and other postprocessing may not work properly.
> Thanks! I'm almost 100% sure this was the cause, I remember the cygsetup getting
> stuck during installation some times, but at the time no immediate issue was
> noticed after installation.
> For example, ssh client was working until this weekend when I upgraded it, and I
> recently had rolled perl back in order to fix it -- which broke once again. :)
> so the installation was tainted for some time already. :(
> Hopefully with the "cygcheck overhaul" it will become stable.

Running cygcheck with appropriate options just points out the problems, that you
can then fix by doing reinstalls or upgrades with setup.

If anything appears to go wrong during setup, just be patient and let it finish.
If anything seems wrong while testing, just exit all Cygwin processes, and rerun
setup again.

On my last setup run to upgrade packages, I forgot I had a Windows task
scheduled, which runs a Cygwin script, that creates dozens of background Cygwin
processes, each of which runs dozens of Cygwin commands and other scripts. I
just let all processes in that task, and setup, finish; then immediately reran
setup, accepting all the defaults, and allowed that to complete, after which
Cygwin/X with a mintty terminal started normally.

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

- Raw text -


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