delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/12/19/09:52:06

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49FD13857348
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1702997525;
bh=BoE2aYgYfHGPjIQ9FaETYC7NzNfIEaJfrKxEYjIiqNI=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=fAfOa6RoPBe9vYZwGy42fF0BSQZC2QU90t5T6KyP+fkEm2lQQvhS5UDTuWjk9zHCu
5SD6TzRL8sfU2a4nXxIDMAr/erV95UoMpx2DGZaol/62zeXTSO/A6ZQFrg7HhjsWKj
jHONyY4fByP2QqupikYRQweKp3s+9SppO8/5fYyc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 394373858C42
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 394373858C42
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702997511; cv=none;
b=gcFflWiaYA5Tb9SXq1H2uRGHOKQhAJTj4e3D+dD0iWfvtUhqedPr0fTvY6Mr/vQyLYUWrltGdz55EYc99v5i3qb0+0fONFYgJXCBjaGV5XtibImxdvNfMqjFwzSm4Wasbsh1XFoUnghsyyRt4N+DiqDxRm3aFU9SjPSBF45cryA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1702997511; c=relaxed/simple;
bh=oLYso4HIN8SE0j+N7cWBzoT0JUTNf6L+3Yw5kicpJOg=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=CfPRfcmx8vnxxPi4bpH0aZqf7hHdqSMfkOeDEIfVMd3211DTlott+RkHQFeuJfIeio1L+DdGtHwQ+N2/cAp+N6/Hxqnn7kNcJ966K0YU6D8ulJThM+Q1JQ2D0CjSisBNEYkG0doTv6t+fWEDyPEtiVxzcyqkHtCnLvyzFHbYP0Y=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <5aa6dca8-4321-46f9-8d45-d1d57b5127d5@SystematicSW.ab.ca>
Date: Tue, 19 Dec 2023 07:51:45 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Recent update of libgpg-error0 and libassuan0 break curl and Opam
(OCaml package manager)
To: cygwin AT cygwin DOT com
References: <1b5718b5-0c6a-43a2-b75c-e4a1ecadd5a2 DOT ref AT yahoo DOT de>
<1b5718b5-0c6a-43a2-b75c-e4a1ecadd5a2 AT yahoo DOT de>
Organization: Systematic Software
In-Reply-To: <1b5718b5-0c6a-43a2-b75c-e4a1ecadd5a2@yahoo.de>
X-Stat-Signature: onsg3jcg5ssggyoexmz9c8nop14594nz
X-Rspamd-Server: rspamout07
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,
SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6
X-Rspamd-Queue-Id: BA1A02000E
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1+VJB576ZzDvMhMNC7M9l78bcXB5OcUjVw=
X-HE-Tag: 1702997506-223801
X-HE-Meta: U2FsdGVkX1+GRQY3lv26dpsOkzA7gtz+ZKT4N+XxaV/AglLk/h560G2XWEC6i7Bn85ReQPcN5/rMD4yZJBrKvpWRRyeISPRfoPbuJBL08VkIC3D1nVU5S+jvAmmsae53D1s++CKwHY4GR0nxxrgfbYRKd405cudzoAi3msIOLh1fsq8T3b5dugXfa/csANamCbCyHjE8Pq4sPpHv7PnLAMYsfU9xWL20FEu2YKUl0GKV0UfPOf4KiKHqhE6XDV/5tZN/8wFYNubY2V4qJCFikZWX3vM78H3hZBSQcolLspN+QRLP/AypQs4asr+aXLrnCd+Z81ACEouahP6O3vDp3sSsYfwx56E90yrzAjKpgurnLJ2CkZ8erB/y7/vt95yL8HpFkrOjzc6vEhVs7IuBuA==
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3BJEq69O010201

On 2023-12-19 06:26, Michael Soegtrop via Cygwin wrote:
> my daily CI of Coq Platform indicates that this update:
> libassuan0-2.5.5-1   -> libassuan0-2.5.6-1
> libgpg-error0-1.47-1 -> libgpg-error0-1.37-1

   libgpg-error0-1.37-1 -> libgpg-error0-1.47-1

> breaks Opam, the OCaml package manager, via a failed call to curl as can be seen 
> by executing these commands:
> $ wget 
> https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.2/opam64.tar.xz -O "opam64.tar.xz"
> $ tar -xf "opam64.tar.xz"
> $ bash opam64/install.sh --prefix "/usr/$(uname -m)-w64-mingw32/sys-root/mingw"
> $ opam init --bare --shell-setup --enable-shell-hook --enable-completion 
> 'default' 'https://opam.ocaml.org' --disable-sandboxing
> Replacing the DLLs of libassuan0 and libgpg-error0 with the previous versions 
> listed above (just replace the DLLs) fixes this.
> I had a look at what happens with Procmon. In the end a call to cygwn curl (from 
> a MinGW app) fails. In Procmon I can see that curl successfully downloads the 
> file and crashes immediately after closing the output file. With the old 
> versions of libassuan0 and libgpg-error0, curl succeeds. That this download as 
> such is successful shows that this is not a temporary network hickup (I also 
> tested it at least 10 times either way).
> Usual usages of curl seem to work - I couldn't reduce the failure reproduction 
> beyond the above 4 lines and couldn't figure out what is so special about the 
> curl call of opam.
> This is quite painful for me - I was in the middle of a release of Coq Platform 
> (a widely used distribution of the Coq proof assistant), when my Windows CI 
> (which does a cygwin based MinGW cross compilation of OCaml and Coq) failed. 
> Especially painful is that there is no easy way to install older package 
> versions from the command line.
> 
> I would appreciate a fast roll back. Otherwise I have to find a way to install 
> the older versions without user interaction.

I don't build curl, gsasl, or libgcrypt with libassuan, which is used by gnupg2 
internally between components for IPC.

Deps are:

	opam -> curl -> libcurl4 -> libgsasl18 -> libgcrypt20 -> libgpg-error0

I have not yet upgraded libgpg-error and rebuilt libgcrypt, gsasl, or curl, do 
not use OCaML or Opam, or have them installed.

> Btw.: I do a daily build test of Coq Platform with a fresh cygwin since about 6 
> years and this is only the fourth failure! I really appreciate the stability of 
> cygwin - excellent work!

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


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

- Raw text -


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