delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/11/09/14:44:59

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5A9JiwGa702398
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5A9JiwGa702398
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=FxW5FSY2
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0119385840B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1762717495;
bh=dkQVmZ14wAfAwHxE8e5imIrtr9Lr0Qtz1Lgffs2HQcg=;
h=Date:Subject:To:References:Cc:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=FxW5FSY2gSr40cZhAYrrdt9xvQm5DBxlq4U01tiKD58c/UsIJApllqAFDQ8knZn4L
8fSnXgjP2+IPyPltTwNfCQ35azjQDt4iuXcFu2MANTVEI7XDw5OA5tEpq4ll2W5Kve
4MsMNgkd1EXRhowMZOuoyTZe5Z2DLQ7TyTZCmkHQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 28DAA3858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 28DAA3858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1762717470; cv=none;
b=NhxaccVup96xTks4KHUk96DG/UWEhNxpTDIpluzlWUZDIS1O27Xt45quF0baElKouvfubG0bEsRK5o+PRY7jc0TS+leaB4xdoz8xA4ptxJYSDLEYpDAuF7ZumLjYucZjW7Vjd/ED1JGJCPwNh++7SouqBoFqrSZHP9XMqo2TAbI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1762717470; c=relaxed/simple;
bh=QXLKNJsWyTre4IV5zRs7K5CxofD6nqEBRzWoT7MGdAY=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=wKOZsd5vcyykH9iiZbnibTy8Bpev3DAABAA/LgjzuPDCTNYcwLaTpKvBJIUGq9XwD3fiuEqeq0ZYdvq+u2aTuUbqToPweUf5VcuXX6TdVOiOVWYTXrkSyEVhZtReoofJYD8jJlRXJfuaCaSVcs7w3PIdLkJ4j+U2BHWEkaks1BQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28DAA3858D33
X-SNCR-Rigid: 68CA1BDC0541ABB8
X-Originating-IP: [81.158.20.254]
X-OWM-Source-IP: 81.158.20.254
X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdduleeivdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfevjggtgfesthekredttddvjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepteegtefgheeiudekjeelkeegffejvdegvdduffdvfedtvdekhedtffevfeegkeehnecukfhppeekuddrudehkedrvddtrddvheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdelngdpihhnvghtpeekuddrudehkedrvddtrddvheegpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdprhgvvhfkrfephhhoshhtkeduqdduheekqddvtddqvdehgedrrhgrnhhgvgekuddqudehkedrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhsthepsghtphhrughrghhotddtgedpnhgspghrtghpthhtohepvddprhgtphhtthhopegrnhgurhgvgidrvgdrshgthhhulhhmrghn
sehgmhgrihhlrdgtohhmpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Message-ID: <25925dea-8233-4001-aa54-6c60c02b554b@dronecode.org.uk>
Date: Sun, 9 Nov 2025 19:44:27 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: libargp package breaks getent utility
To: Andrew Schulman <andrex DOT e DOT schulman AT gmail DOT com>
References: <CALXu0UfOCJ=svwfY4-4FAT+pPiNbcm6AZ=Wyv_Wi+57med6Hdw AT mail DOT gmail DOT com>
<CALXu0Ue69cwiE=1dmEMn2X8ocBXNYoq+2A8frPtX5CCp-25Seg AT mail DOT gmail DOT com>
<e697423a-c10b-1a81-5d95-1d922245feff AT t-online DOT de>
<0cde1aff-838d-d9d9-1ac7-192ae5291335 AT t-online DOT de>
<qoe1hk5q6n28r3892omhf271gdgbma7hsb AT 4ax DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <qoe1hk5q6n28r3892omhf271gdgbma7hsb@4ax.com>
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: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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 5A9JiwGa702398

On 09/11/2025 16:02, Andrew Schulman via Cygwin wrote:
>> A message box shown when running an affected program directly from
>> cmd.exe reveals the problem: Entrypoint "argp_parse" is missing.
>>
>> $ objdump -p /bin/cygargp-0.dll | grep argp_parse
>>          [  56] +base[  57]  0038 rpl_argp_parse
>>
>> Previous version:
>>
>> $ objdump -p /bin/cygargp-0.dll | grep argp_parse
>>          [  24] +base[  25]  0018 argp_parse
>>
>>
>> Current <argp.h> actually maps 'argp_parse' to 'rpl_argp_parse':
>>
>> $ printf '#include <argp.h>\nargp_parse' | gcc -E -xc - | tail -1
>> rpl_argp_parse
>>
>> $ grep -B1 rpl_argp_parse /usr/include/argp-config.h
>> /* Define to the name of argp_parse outside libc. */
>> #define argp_parse rpl_argp_parse
> 
> Good grief. Thanks Christian. So I see a few possible solutions to this:
> 
> (1) Recompile all of the Cygwin programs that use argp, so they call the new
> entry point rpl_argp_parse, aliased from argp_parse. (I don't really want to
> do this)
> 
> (2) Patch the gnulib source to make argp_parse a function that points to
> rpl_argp_parse, instead of just a #define.
> 
> (3) File a bug report with the gnulib project and see if they'll fix it.

There are a few other possibilities, such as:

(4) If upstream really intends this to be an ABI break, bump the 
soversion to 1 in a new package libargp1 (and we'll keep the existing 
libargp (effectively libargp0) around until stuff linking with it is 
rebuilt).

(5) If upstream thinks there isn't a stable ABI, stop providing a shared 
library, only a static one in libargp-devel.

> While I sort that out, I'm going to release another update that will revert to
> the previous release. That should get everything working again for now.
> 
> Sorry for the trouble, everyone. This was a breaking ABI change and
> unfortunately that meant that it passed all of our tests with newly compiled
> code.


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