[From nobody Mon Aug 31 14:53:07 2026
Received: (at submit) by bugs.debian.org; 27 Aug 2026 11:53:34 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 108; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky
Return-path: &lt;sanvila@debian.org&gt;
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:33060)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wzYfm-00Befw-1o
 for submit@bugs.debian.org; Thu, 27 Aug 2026 11:53:34 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by muffat.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wzYfm-0048nk-1Y
 for submit@bugs.debian.org; Thu, 27 Aug 2026 11:53:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=16y46A/GvrvJnS6HmSlmpQY4dXu9bgt0DvCf8aiCi88=; b=qCcKEr5AywQ3eX/OTxunkOPCdt
 rY+Pl6C4aQwMTxEnWaptvjsPH3CkNAGOSm8mKORVWO+YL1Zo3eokHMExaMtq37WZzkOFDsDuT9AUa
 r5zLFnXMtJ6rceZCBGaMpCKmcfJIGgsrNuvWYhhp5CYc/giq7zhpuRwmDuplY7JLnxdYzrU0fiVe3
 NIDufOyRoh7vTKDIBEN6dXGD/Ww8kCMdvGse5v5+ZUWv0fFu2crMMGoqE8nN63rmGzSB0p7Yd2AU8
 L9oPyA8VYeJgoq1tqmxktR+m3kSfmA8F6+rP4luf+pCVAr860cXbniC/VIC5LVLX5CBut0ScOe0eJ
 9lm/yU3g==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wzYfm-002WvC-1C
 for submit@bugs.debian.org; Thu, 27 Aug 2026 11:53:34 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: swiglpk: FTBFS: swiglpk/glpk_wrap.c:3816:17: error: implicit
 declaration of function 'PyInt_Check';
 did you mean 'PySet_Check'? [-Wimplicit-function-declaration]
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wzYfm-002WvC-1C@paradis.debian.org&gt;
Date: Thu, 27 Aug 2026 11:53:34 +0000
Delivered-To: submit@bugs.debian.org

Package: src:swiglpk
Version: 5.0.10-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:swiglpk, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
/usr/include/glpk.h:1000: Warning 314: 'in' is a python keyword, renaming to '_in'
/usr/include/glpk.h:201: Warning 451: Setting a const char * variable may leak memory.
creating build/temp.linux-x86_64-cpython-314/swiglpk
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/python3.14 -c swiglpk/glpk_wrap.c -o build/temp.linux-x86_64-cpython-314/swiglpk/glpk_wrap.o
swiglpk/glpk_wrap.c: In function ‘as_intArray’:
swiglpk/glpk_wrap.c:3816:17: error: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration]
 3816 |             if (PyInt_Check(o))
      |                 ^~~~~~~~~~~
      |                 PySet_Check
swiglpk/glpk_wrap.c:3817:31: error: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration]
 3817 |                int_arr[i+1] = PyInt_AsLong(o);
      |                               ^~~~~~~~~~~~
      |                               PyLong_AsLong
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:485: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build 
dh_auto_build: error: pybuild --build -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]