From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by sourceware.org (Postfix) with ESMTPS id 394373858C42 for ; Tue, 19 Dec 2023 14:51:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 394373858C42 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSW.ab.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=SystematicSW.ab.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 394373858C42 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=216.40.44.12 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 Received: from omf06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 6839CA0BEE for ; Tue, 19 Dec 2023 14:51:49 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: Brian.Inglis@SystematicSW.ab.ca) by omf06.hostedemail.com (Postfix) with ESMTPA id BA1A02000E for ; Tue, 19 Dec 2023 14:51:46 +0000 (UTC) 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 Reply-To: cygwin@cygwin.com Subject: Re: Recent update of libgpg-error0 and libassuan0 break curl and Opam (OCaml package manager) Content-Language: en-CA To: cygwin@cygwin.com References: <1b5718b5-0c6a-43a2-b75c-e4a1ecadd5a2.ref@yahoo.de> <1b5718b5-0c6a-43a2-b75c-e4a1ecadd5a2@yahoo.de> From: Brian Inglis Organization: Systematic Software In-Reply-To: <1b5718b5-0c6a-43a2-b75c-e4a1ecadd5a2@yahoo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: 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