DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5BCBVKGV3384751 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 5BCBVKGV3384751 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=XWKga1Ss X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D4A14BA2E37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1765539079; bh=7sw+fLvLD+NnbWhGq0qjrjaxPPWoZ1W6z585R5HUEuQ=; 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=XWKga1SsBIzJce43aijhkLLDXpio97WjEtfuoBgPZT5gO6UfdS9iFD98kIOxOUA52 lv0SOmfIpE1Pqi8/Z77k2m1ssuOjLc5adEKDoDMEIF6X/tnV1zy+g27wzFiC5y7GJ2 0mgCkc3ducd6Py9MmiVlf3GlOq7kTZnYEhXl8Xtg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E8FCC4BA2E04 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E8FCC4BA2E04 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765539028; cv=none; b=Dn28iO+haKzIpFmnpf1ySfDkRhkbRTbUTLGBtb6mVkeMnD/krXLz8BkcTACeAuv4EwglnebxbT+OPlJc96aaOdna/0InnphR2WjfzsncNijGFkAH/PGI8C/JPvdJ8BGD2+INYQ9i67NW5PU6Rz9/3ckq9GCws27WPXV05uOrYkU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765539028; c=relaxed/simple; bh=hSJleEq0auMomEsz7IvYyTnlElQhEF3fmk5zAWYGoAY=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=QBwclDfm1awXnkVWGoK2zsXckSDjnWy/gVxzc5CzFY2nVssnB2RHd3wpn6jdJ0cWpIM1XacDupKKT4aRoGSD+nb9uajQLYwZH/SY0nwycmcU+YgPWRN2L8BDvpjFOD0H1GSpZ5sUQDQ8xfWbBcW35hNzQuptCF4MJaA9r8tRbIo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E8FCC4BA2E04 Date: Fri, 12 Dec 2025 20:30:23 +0900 To: cygwin AT cygwin DOT com Subject: Re: Updated: swig-4.4.1-1 Message-Id: <20251212203023.52c3a9e32a0b4630ad78b388@nifty.ne.jp> In-Reply-To: References: 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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? -- Takashi Yano -- 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