Your message dated Wed, 26 Aug 2026 18:21:40 +0000
with message-id <[email protected]>
and subject line Bug#1145352: fixed in hamlib 4.7.2-2
has caused the Debian Bug report #1145352,
regarding hamlib: FTBFS: hamlibpy_wrap.c:14630:34: error: implicit declaration 
of function 'PyInt_FromLong'; did you mean 'PyLong_FromLong'? 
[-Wimplicit-function-declaration]
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.)


-- 
1145352: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145352
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:hamlib
Version: 4.7.2-1
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:hamlib, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-3.13/bindings'
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc 
-DHAVE_CONFIG_H -I. -I../../bindings -I../include/hamlib  -I/usr/include/lua5.3 
-I../../include -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -DIN_HAMLIB 
-I../../include -I../../src -I../../lib -I../include  -I../../include/hamlib 
-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -c -o Hamliblua_la-hamliblua_wrap.lo 
`test -f 'hamliblua_wrap.c' || echo '../../bindings/'`hamliblua_wrap.c
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-linux-gnu-gcc 
-DHAVE_CONFIG_H -I. -I../../bindings -I../include/hamlib  -DIN_HAMLIB 
-I../../include -I../../src -I../../lib -I../include  -I../../include/hamlib 
-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -I../../include -I../../bindings  
-I/usr/include/python3.13 -Wdate-time -D_FORTIFY_SOURCE=2 -DIN_HAMLIB 
-I../../include -I../../src -I../../lib -I../include  -I../../include/hamlib 
-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -c -o hamlibpy_wrap.lo hamlibpy_wrap.c
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../bindings 
-I../include/hamlib -I/usr/include/lua5.3 -I../../include -I../../src 
-Wdate-time -D_FORTIFY_SOURCE=2 -DIN_HAMLIB -I../../include -I../../src 
-I../../lib -I../include -I../../include/hamlib -D_TIME_BITS=64 
-D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c hamliblua_wrap.c  -fPIC -DPIC -o 
.libs/Hamliblua_la-hamliblua_wrap.o
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../bindings 
-I../include/hamlib -DIN_HAMLIB -I../../include -I../../src -I../../lib 
-I../include -I../../include/hamlib -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 
-I../../include -I../../bindings -I/usr/include/python3.13 -Wdate-time 
-D_FORTIFY_SOURCE=2 -DIN_HAMLIB -I../../include -I../../src -I../../lib 
-I../include -I../../include/hamlib -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 
-fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
hamlibpy_wrap.c  -fPIC -DPIC -o .libs/hamlibpy_wrap.o
hamlibpy_wrap.c: In function '_wrap_rig_caps_preamp_get':
hamlibpy_wrap.c:14630:34: error: implicit declaration of function 
'PyInt_FromLong'; did you mean 'PyLong_FromLong'? 
[-Wimplicit-function-declaration]
14630 |       PyList_SetItem(resultobj,i,PyInt_FromLong((long)result[i]));
      |                                  ^~~~~~~~~~~~~~
      |                                  PyLong_FromLong
hamlibpy_wrap.c:14630:34: error: passing argument 3 of 'PyList_SetItem' makes 
pointer from integer without a cast [-Wint-conversion]
14630 |       PyList_SetItem(resultobj,i,PyInt_FromLong((long)result[i]));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int
In file included from /usr/include/python3.13/Python.h:90,
                 from hamlibpy_wrap.c:206:
/usr/include/python3.13/listobject.h:35:56: note: expected 'PyObject *' {aka 
'struct _object *'} but argument is of type 'int'
   35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
      |                                                        ^~~~~~~~~~
hamlibpy_wrap.c: In function '_wrap_rig_caps_attenuator_get':
hamlibpy_wrap.c:14698:34: error: passing argument 3 of 'PyList_SetItem' makes 
pointer from integer without a cast [-Wint-conversion]
14698 |       PyList_SetItem(resultobj,i,PyInt_FromLong((long)result[i]));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int
/usr/include/python3.13/listobject.h:35:56: note: expected 'PyObject *' {aka 
'struct _object *'} but argument is of type 'int'
   35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
      |                                                        ^~~~~~~~~~
hamlibpy_wrap.c: In function '_wrap_rig_caps_spectrum_attenuator_get':
hamlibpy_wrap.c:16836:34: error: passing argument 3 of 'PyList_SetItem' makes 
pointer from integer without a cast [-Wint-conversion]
16836 |       PyList_SetItem(resultobj,i,PyInt_FromLong((long)result[i]));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int
/usr/include/python3.13/listobject.h:35:56: note: expected 'PyObject *' {aka 
'struct _object *'} but argument is of type 'int'
   35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
      |                                                        ^~~~~~~~~~
hamlibpy_wrap.c: In function '_wrap_rig_state_preamp_get':
hamlibpy_wrap.c:25072:34: error: passing argument 3 of 'PyList_SetItem' makes 
pointer from integer without a cast [-Wint-conversion]
25072 |       PyList_SetItem(resultobj,i,PyInt_FromLong((long)result[i]));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int
/usr/include/python3.13/listobject.h:35:56: note: expected 'PyObject *' {aka 
'struct _object *'} but argument is of type 'int'
   35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
      |                                                        ^~~~~~~~~~
hamlibpy_wrap.c: In function '_wrap_rig_state_attenuator_get':
hamlibpy_wrap.c:25140:34: error: passing argument 3 of 'PyList_SetItem' makes 
pointer from integer without a cast [-Wint-conversion]
25140 |       PyList_SetItem(resultobj,i,PyInt_FromLong((long)result[i]));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int
/usr/include/python3.13/listobject.h:35:56: note: expected 'PyObject *' {aka 
'struct _object *'} but argument is of type 'int'
   35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
      |                                                        ^~~~~~~~~~
hamlibpy_wrap.c: In function '_wrap_rig_state_spectrum_attenuator_get':
hamlibpy_wrap.c:31065:34: error: passing argument 3 of 'PyList_SetItem' makes 
pointer from integer without a cast [-Wint-conversion]
31065 |       PyList_SetItem(resultobj,i,PyInt_FromLong((long)result[i]));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int
/usr/include/python3.13/listobject.h:35:56: note: expected 'PyObject *' {aka 
'struct _object *'} but argument is of type 'int'
   35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
      |                                                        ^~~~~~~~~~
make[4]: *** [Makefile:757: hamlibpy_wrap.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../bindings 
-I../include/hamlib -I/usr/include/lua5.3 -I../../include -I../../src 
-Wdate-time -D_FORTIFY_SOURCE=2 -DIN_HAMLIB -I../../include -I../../src 
-I../../lib -I../include -I../../include/hamlib -D_TIME_BITS=64 
-D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c hamliblua_wrap.c -o 
Hamliblua_la-hamliblua_wrap.o >/dev/null 2>&1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-3.13/bindings'
make[3]: *** [Makefile:577: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-3.13/bindings'
make[2]: *** [Makefile:671: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-3.13'
dh_auto_build: error: cd build-3.13 && make -j2 returned exit code 2
make[1]: *** [debian/rules:39: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: hamlib
Source-Version: 4.7.2-2
Done: Christoph Berg <[email protected]>

We believe that the bug you reported is fixed in the latest version of
hamlib, 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.
Christoph Berg <[email protected]> (supplier of updated hamlib 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: Tue, 21 Jul 2026 00:09:11 +0200
Source: hamlib
Architecture: source
Version: 4.7.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <[email protected]>
Changed-By: Christoph Berg <[email protected]>
Closes: 1145352
Changes:
 hamlib (4.7.2-2) unstable; urgency=medium
 .
   [ Rafael Laboissière ]
   * Add patch for fixing FTBFS with swig 4.5.0. (Closes: #1145352)
 .
   [ Christoph Berg ]
   * IC-7610: Enable VFO SYNC function.
Checksums-Sha1:
 a11deb8f1c6a692955fd4e9397fe2bbcc3ec44c1 2794 hamlib_4.7.2-2.dsc
 2c3b8a3a0115f9a83ce66265ae6fd1c1b9a9eca3 32352 hamlib_4.7.2-2.debian.tar.xz
Checksums-Sha256:
 15e226ff7cec6f0515d6ca6b65fa53928e1eca750e6ae4ef14abf6a81260bb31 2794 
hamlib_4.7.2-2.dsc
 6f5a87127543f7fc0e10639968d97fbbe181fa9023ddca496e9a01d4569ff8ef 32352 
hamlib_4.7.2-2.debian.tar.xz
Files:
 578667a2e287d246c91fcbe6ea13a3a8 2794 hamradio optional hamlib_4.7.2-2.dsc
 5708405466bfce260ad15fac6fe9f6ee 32352 hamradio optional 
hamlib_4.7.2-2.debian.tar.xz

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

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmqPKjEACgkQTFprqxLS
p67vGQ//d8GZ2eCbW56lJ8IKiK1OIwVmNC6auT5DjlYx2ZU26hmiTuKFfngUsnJU
IA/zufroI3zjVfcOdXq22skuuX+nUZ0XfwDblGN1Fuya6xL53m0dtVvoWIDa++8f
FyUPJv6mltvdthNBld3rh1/n3E3JgXpQapK+ljS/I3UYlcJ4/syL/xGI2iKk8BKP
EBqY5YsvsOmSVpsexDY2KSJdcomFPjj6Ob6tclkjEilbtctxVFV8J7WJj28sAsCj
aCIWpZO34WelcC5NuM4D578XpT3PyLJXxAn2apgbzqE8JrVQ8PJ+Af886nw4hEJb
8m/iTgQxdUsMztGmJtJvI9NU198d+Dt+fpi0H+O4eBU8xOrPQoT8bkYmWkNbnSDt
EMvHsjVifabh8IoUtvg1Vn7r5RhdQGjdf0knhS6KXTQPDBZrezE4Vx/642wZ/d3d
yJ3WDW6mdZkKcsFjb8W61DOdhakli7sfhK/vDfIeiq5nr6x0nGp6+kTWURY0JvPZ
qD1CXhcVtE/jqoftpG/B8pFLBcgeqJWz6HK9jElExcrHeyi6I09owHy533Vp5sc1
TLtOD0cl0NCuGbnJOxYCZ/0Q1IZ0XbTKd7wX9pbGaH79ADdvQIM9rLXASs9xyrgp
Ew7i9VUJho768lyg2IsOCHr9EBPuZCHmPRmAUpEBbKBuKUvHJUA=
=VGNS
-----END PGP SIGNATURE-----

Attachment: pgpWB5Fx_hnY6.pgp
Description: PGP signature


--- End Message ---

Reply via email to