Your message dated Sat, 15 Aug 2026 00:49:16 +0000
with message-id <[email protected]>
and subject line Bug#1144339: fixed in link-grammar 5.13.0+dfsg-2
has caused the Debian Bug report #1144339,
regarding link-grammar: FTBFS with SWIG 4.5.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1144339: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144339
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: link-grammar
Version: 5.13.0+dfsg-1
Severity: serious
Tags: upstream ftbfs patch
Justification: makes the package in question unusable or mostly so

Dear Maintainer,

Your package FTBFS with SWIG 4.5.0 as revealed by debci:

 92s lg_python_wrap.cc: In function 'PyObject* _py_error_printall(PyObject*)':
 92s lg_python_wrap.cc:4256:21: error: 'PyInt_FromLong' was not declared in 
this scope; did you mean 'PyLong_FromLong'?
 92s  4256 |    PyObject *py_n = PyInt_FromLong(n);
 92s       |                     ^~~~~~~~~~~~~~
 92s       |                     PyLong_FromLong
 92s lg_python_wrap.cc: In function 'PyObject* 
_wrap__py_error_default_handler(PyObject*, PyObject*)':
 92s lg_python_wrap.cc:9671:12: error: 'PyInt_Check' was not declared in this 
scope; did you mean 'PySet_Check'?
 92s  9671 |       if (!PyInt_Check(swig_obj[1]))
 92s       |            ^~~~~~~~~~~
 92s       |            PySet_Check
 92s lg_python_wrap.cc:9678:22: error: 'PyInt_AsLong' was not declared in this 
scope; did you mean 'PyLong_AsLong'?
 92s  9678 |         arg20 = (int)PyInt_AsLong(swig_obj[1]);
 92s       |                      ^~~~~~~~~~~~
 92s       |                      PyLong_AsLong

https://ci.debian.net/packages/l/link-grammar/testing/amd64/74304445/

The attached patch resolves the issue by using PyLong_* instead of PyInt_*.

Kind Regards,

Bas

Attachment: 0001-Add-patch-to-fix-FTBFS-with-swig-4.5.0.patch
Description: application/mbox


--- End Message ---
--- Begin Message ---
Source: link-grammar
Source-Version: 5.13.0+dfsg-2
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
link-grammar, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated link-grammar package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 15 Aug 2026 02:22:12 +0200
Source: link-grammar
Architecture: source
Version: 5.13.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1144339
Changes:
 link-grammar (5.13.0+dfsg-2) unstable; urgency=medium
 .
   * add patch cherry-picked upstream
     to fix CC passing in Makefile.am
   * add patch 1001
     to use PyLong_* instead of PyInt_* required since SWIG 4.5.0;
     closes: bug#1144339, thanks to Bas Couwenberg
   * use debhelper compatibility level 14 (not 13)
   * stop superfluously set fields Rules-Requires-Root Priority
   * declare compliance with Debian Policy 4.7.4
   * tighten long descriptions
   * refresh OpenJDK supported architectures:
     + add loong64
     + drop armel mips64el
   * update copyright info:
     + avoid any .git* files when repackaging upstream source
     + license patches same as main upstream license
     + add copyright-check hints Files-Ignored
     + update coverage
   * update git-buildpackage config:
     + filter out eventual debian subdir
     + stop superfluously filter out .git* files
     + improve usage comment
   * update watch file: limit to STABLE_VERSION
   * update source helper tool copyright-check
Checksums-Sha1:
 c2917080902b064a3e1654dbf45922cb2fe23598 3722 link-grammar_5.13.0+dfsg-2.dsc
 8c8c7e665b0147f9147545e75bb103c175b00b0e 33288 
link-grammar_5.13.0+dfsg-2.debian.tar.xz
 60e1545ae525f1fe9519be974673e47e2fbc37db 14289 
link-grammar_5.13.0+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 d04f85f20da603fd6d698980c549a39ca851d4a25ab04b556b9b40d380d0823a 3722 
link-grammar_5.13.0+dfsg-2.dsc
 98fbd0f07d35ac0418940677642f799394d2ebd237eb5bcf3adc53fc42fff9e0 33288 
link-grammar_5.13.0+dfsg-2.debian.tar.xz
 acdbd570004d3a9e1e60ec9358c4515bb0b88ec6af814ab9ecb14254d7618812 14289 
link-grammar_5.13.0+dfsg-2_amd64.buildinfo
Files:
 ff17340b6158f590f05e595a2eab5da1 3722 text optional 
link-grammar_5.13.0+dfsg-2.dsc
 36b03bb2ecdcc231a4116072713a8928 33288 text optional 
link-grammar_5.13.0+dfsg-2.debian.tar.xz
 2b7f2d6db0fdde6562235f266b771a54 14289 text optional 
link-grammar_5.13.0+dfsg-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmp/stwMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEh+AIP/i1Hslt+BhpEeePkX+S0VQh7Q1STKLhzcCSvJzjK
rWgAiJge45PyV6ZyR+gzuok5eJVha9aeuSUTBcWTZnslbLqfYtgdLYb581eSdVoK
2YJMMEBtFPDwrldGUhrDvh10dAAxXdBtb840yRMvAuZgKkJhWv5BDCqjuqpxrA6f
/hDiefcslGhg+hvdSPLG9RvN/3MtS1RqixzBy/dcvc2N1lwLGzrrYQd+yFeqbiax
UFaBGZhnVj/Ng/oClPS/B1sS99DP6VERXnW+vF39kjl/+DDmZtEjMVeOrwRxrydD
hkFXH7uQ8BX8R5FJ0CJ0PVutK1hxmTE5U6zlAwSyuSWoJQZLUsU0VfUBMdgkJjoZ
KJU4P86gxaueAFP4QfjsajTWi7AWImrMB3D/a31XOlIrzyAvEw/mwOCC6Rmd8j8q
ENNDBtTjgKhkp9QrJFdVAGRLEJX0z2Q55H1jxw5p9h7sOZQvNe15sxjb9wN19aek
w2TOrLWMOEI+imTHcGJOleUgFTW+y8KnNcijCj+xr6UaV4h9f8GwRcPlYEnRCeNW
ysxsnwh6VjN1xgDHxTkfW0x2CUKkXWofVHOQk+NgS9cWFni6N5mec5gCEjv10+JW
yurPmpKEdK0JEMGfpDyZtx9HcnoTw9wLAaQ77okN4Hw2vh4DkDA/QSJsPDUlbZmL
SWng
=1q/n
-----END PGP SIGNATURE-----

Attachment: pgpdGbVK5S2l9.pgp
Description: PGP signature


--- End Message ---

Reply via email to