www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/12/12/06:45:19

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5BCBjJ7f3391522
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 5BCBjJ7f3391522
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=MBOz8Vu/
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 518E54BA2E07
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1765539918;
bh=QhPwGzDA2DSYcscd8R2/M8KeW3G/5XshBV0kMf+aJjg=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=MBOz8Vu/G2kF5ugCfXW7vyDv7eVrM7wk5D31dv2M15GnbM3FHCFKVnfG7lDita12k
uozyGNAg6JX1GY8c81ofDFetKSldXhIlqUmKl9OTBntRu1vXDU3J8nQWi6i+7+li9C
9vI0QY5wuIv+QWp6HDk/WYyIhFSG3RwtUAdWutGI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 32F6C4BA2E07
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 32F6C4BA2E07
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765539867; cv=none;
b=DGXJlEzsc97tmDchk9lyL3A5cumV32JAPB+EW2Zy59jsPfvZhQmMUBLSC9pKWEESEgrcZjBZsT2q1bOxj4S+lXM3cacXIzGbSL+kyGQVidUPep6aWOpznx/0YfkrIPupOPcav4zDKRWw56q5ajkifY9FO4U1V3CAybzWSuXE4uc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1765539867; c=relaxed/simple;
bh=ckolB2RasIZxv6ElwiGIFlvdSE1NIIM3h+Oy9SknjGo=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=AeIp2VVSTBAPV2YiZSaoew6+SSQymSlgsUSsrytiR+x5JwiK2g0ZR65HlsJjXNy3H7pngk8nnpq3BbXGPxDiyIAdG2v0fQlgajVqox5v6GJOosrtMrWpp+VHSw+jHO/alr5/ganpe+O+qQzvUU6XHSMzZJ0V2E83YYrglESjrnQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32F6C4BA2E07
Date: Fri, 12 Dec 2025 20:44:23 +0900
To: cygwin AT cygwin DOT com
Subject: Re: Updated: swig-4.4.1-1
Message-Id: <20251212204423.175bc6c0eceadca396450162@nifty.ne.jp>
In-Reply-To: <20251212203023.52c3a9e32a0b4630ad78b388@nifty.ne.jp>
References: <c96cfa41-45c2-448e-a681-018d993e4bf2 AT gmail DOT com>
<20251212203023 DOT 52c3a9e32a0b4630ad78b388 AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
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: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
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>

On Fri, 12 Dec 2025 20:30:23 +0900
Takashi Yano wrote:
> On Thu, 11 Dec 2025 19:03:24 +0100
> Marco Atzeri wrote:
> > Version 4.4.1-1 of
> > 
> >     swig
> > 
> > have been uploaded for cygwin.
> 
> Both version 4.4.0-1 and 4.4.1-1 fail to build "unbound".
> 
> Steps to reproduce:
> 1) Download source package of unbound and extract it.
> 2) Run "cygport unbound all".
> 3) Then the build fails.
> 
> Downgrading swig to 4.3.1-1 solves the issue. The direct
> cause of the issue seems to be failure of macro(?) expansion.
> 
> py3/libunbound/python/libunbound_wrap.c in the build directory
> has lines:
> 
>   //printf("resolve_start(%lX)\n",(long unsigned int)arg1);
>   Py_BEGIN_ALLOW_THREADS
>   $function
>   Py_END_ALLOW_THREADS
>   //printf("resolve_stop()\n");
> 
> where "$function" remains unexpanded.
> 
> With swig 4.3.1-1, these lines are:
> 
>   //printf("resolve_start(%lX)\n",(long unsigned int)arg1);
>   Py_BEGIN_ALLOW_THREADS
>   result = (int)ub_resolve(arg1,(char const *)arg2,arg3,arg4,arg5);
>   Py_END_ALLOW_THREADS
>   //printf("resolve_stop()\n");
> 
> I'm not sure where the problem is, I mean, swig or unbound.
> Any idea?

I found the PR in unbound upstream.
https://github.com/NLnetLabs/unbound/pull/1331/commits/1d3d78dff5df323dfb1c729f2e22dc5bd8bc9593

Sorry to bother you.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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