Your message dated Sat, 07 Nov 2026 14:55:53 +0000
with message-id <[email protected]>
and subject line Bug#1152563: fixed in pcapy-ng 2.1.0-4
has caused the Debian Bug report #1152563,
regarding pcapy-ng: FTBFS: bpfobj.cc:13:10: fatal error: Python.h: No such file
or directory
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.)
--
1152563: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152563
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pcapy-ng
Version: 2.1.0-3
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/202610/
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:pcapy-ng, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
I: pybuild base:383: /usr/bin/python3.15 setup.py build
running build
running build_ext
building 'pcapy' extension
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.15 -c bpfobj.cc -o
build/temp.linux-x86_64-cpython-315/bpfobj.o
bpfobj.cc:13:10: fatal error: Python.h: No such file or directory
13 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: Command ['x86_64-linux-gnu-g++', '-g', '-O2',
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong',
'-fstack-clash-protection', '-Wformat', '-Werror=format-security',
'-fcf-protection', '-Wdate-time', '-D_FORTIFY_SOURCE=2', '-fPIC',
'-I/usr/include/python3.15', '-c', 'bpfobj.cc', '-o',
'build/temp.linux-x86_64-cpython-315/bpfobj.o'] returned non-zero exit status 1.
E: pybuild pybuild:485: build: plugin distutils failed with: exit code=1:
/usr/bin/python3.15 setup.py build
I: pybuild base:383: /usr/bin/python3 setup.py build
running build
running build_ext
building 'pcapy' extension
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.14 -c bpfobj.cc -o
build/temp.linux-x86_64-cpython-314/bpfobj.o
bpfobj.cc: In function âPyObject* p_new_bpfobject(PyTypeObject*, PyObject*,
PyObject*)â:
bpfobj.cc:181:26: warning: âint pcap_compile_nopcap(int, int, bpf_program*,
const char*, int, bpf_u_int32)â is deprecated: use pcap_open_dead(),
pcap_compile() and pcap_close() [-Wdeprecated-declarations]
181 | if (pcap_compile_nopcap((1<<16), linktype, &bpfprog, filter_string,
0, 0)){
|
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pcap.h:43,
from bpfobj.cc:12:
/usr/include/pcap/pcap.h:656:17: note: declared here
656 | PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *,
| ^~~~~~~~~~~~~~~~~~~
bpfobj.cc: In function âPyObject* p_filter(bpfobject*, PyObject*)â:
bpfobj.cc:213:22: warning: âu_int bpf_filter(const bpf_insn*, const u_char*,
u_int, u_int)â is deprecated: use pcap_offline_filter()
[-Wdeprecated-declarations]
213 | status = bpf_filter(bpf->bpf.bf_insns,
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
214 | packet,
| ~~~~~~~
215 | len, len);
| ~~~~~~~~~
In file included from /usr/include/pcap/pcap.h:130:
/usr/include/pcap/bpf.h:267:17: note: declared here
267 | PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *,
u_int, u_int);
| ^~~~~~~~~~
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.14 -c pcap_pkthdr.cc -o
build/temp.linux-x86_64-cpython-314/pcap_pkthdr.o
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.14 -c pcapdumper.cc -o
build/temp.linux-x86_64-cpython-314/pcapdumper.o
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.14 -c pcapobj.cc -o
build/temp.linux-x86_64-cpython-314/pcapobj.o
pcapobj.cc: In function âPyObject* p_loop_to_buffer(pcapobject*, PyObject*,
PyObject*)â:
pcapobj.cc:1378:12: warning: ignoring return value of âint pcap_loop(pcap_t*,
int, pcap_handler, u_char*)â declared with attribute âwarn_unused_resultâ
[-Wunused-result]
1378 | pcap_loop(pp->pcap, cant, BufferCallBack, (u_char*)&b);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.14 -c pcapy.cc -o
build/temp.linux-x86_64-cpython-314/pcapy.o
pcapy.cc: In function âPyObject* lookupdev(PyObject*, PyObject*)â:
pcapy.cc:40:23: warning: âchar* pcap_lookupdev(char*)â is deprecated: use
'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
40 | dev = pcap_lookupdev(errbuff);
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/pcap.h:43,
from pcapy.cc:12:
/usr/include/pcap/pcap.h:419:18: note: declared here
419 | PCAP_API char *pcap_lookupdev(char *);
| ^~~~~~~~~~~~~~
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -shared
-Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-314/bpfobj.o
build/temp.linux-x86_64-cpython-314/pcap_pkthdr.o
build/temp.linux-x86_64-cpython-314/pcapdumper.o
build/temp.linux-x86_64-cpython-314/pcapobj.o
build/temp.linux-x86_64-cpython-314/pcapy.o -L/usr/lib/x86_64-linux-gnu -lpcap
-o
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python3-pcapy/build/pcapy.cpython-314-x86_64-linux-gnu.so
dh_auto_build: error: pybuild --build -i python{version} -p "3.15 3.14"
--parallel=2 returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: pcapy-ng
Source-Version: 2.1.0-4
Done: Alex Myczko <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pcapy-ng, 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.
Alex Myczko <[email protected]> (supplier of updated pcapy-ng 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, 07 Nov 2026 14:20:24 +0100
Source: pcapy-ng
Architecture: source
Version: 2.1.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Alex Myczko <[email protected]>
Closes: 1152563
Changes:
pcapy-ng (2.1.0-4) unstable; urgency=medium
.
* d/control: add libpython3.15-dev to build-depends. (Closes: #1152563)
Checksums-Sha1:
845e1351c9e3b982aa72ff41748abda6001a7dd2 2110 pcapy-ng_2.1.0-4.dsc
b0d71b0c70376f2444eec893b25e8f62f1ad3e9f 6044 pcapy-ng_2.1.0-4.debian.tar.xz
432d24631cecf5af3ad7b0518c032873c20a0621 7860 pcapy-ng_2.1.0-4_source.buildinfo
Checksums-Sha256:
ee37240bf323932f3f80e07c3c7dff7712910ff14c74274397e7c6d854c13978 2110
pcapy-ng_2.1.0-4.dsc
03c60a2c81ae3c1872e81c9c102abfa64fd4b1491e1a9b4779b10c233a2e7266 6044
pcapy-ng_2.1.0-4.debian.tar.xz
20d8c7b6b4e3ba78459118655494a4a05b1a22a9f384e8344c0289d05d5cfb81 7860
pcapy-ng_2.1.0-4_source.buildinfo
Files:
24e7efb698513e98b1e67afb5e544238 2110 python optional pcapy-ng_2.1.0-4.dsc
1803740b83f2f1af3b1b983c08bc4ddf 6044 python optional
pcapy-ng_2.1.0-4.debian.tar.xz
12733d5442d1eab00df8ec1e7d1bb2ac 7860 python optional
pcapy-ng_2.1.0-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmrvJdEACgkQEWhSvN91
FcDOiw/+JblcADftqKnjsqlS1hBDAAjezQAzkgKU5OhV88uu1CSA6e0lW9FhJkwu
U6/7VQnJxojGBAH2GalUiWtdSwx1im8gBL8/ystdi6vFfieJBViv/Q8ehLXxWzCV
4ym3jwPC6qUwiLyA1KF1mX4/TYh/NHTGV97rVDJWHHdu/Mac62bBbc9mWwXQJSpN
MSLy8X0nTr3SXzrhXds7tyCtCsOcAefQcE8Xf8CzPRK1NpxbxQinWrqvkSh1RmYe
Y0UG7S9Ke3rpJUZ9xh91zM34K/JDtApDrReQgKnuuBZ1JUTcJwt3hhJ0UFUbcWo7
7QuT8gupqxyQvlPgQiAlOUguk3WDwcQ0g+E2fiC6F+yO6g3KL43NO8DtZRW08l0y
xO/4DASk7C9PSUzeIFX6EI2jSnan2zlobwT/ibjEtYMp8/vxXgbT3a1GoAinvX5K
l6ulCJhWfVYPqdizIEPDGBoeqmI+HHEGkKeXYO3epTFqwHhPrx0ZUEwaY9ogUHD1
miPyR9mnH4OkLYjHgVQWFxfpmf4xtLLGq9M5EfJUlWCv+ISFhnkG+z8e3+Z/x+xB
mqMKzdUnCIdYOkgdIgXC9Tkmmq1jImuy/4AHnWl2WwPxxrD9Gz3+leF0rFDn0+eu
HdUXyDuoIRn6snruoFyoDgaVSiBNS+aqR7+VBMSpTkUzPuCG27I=
=DBGM
-----END PGP SIGNATURE-----
pgp4IKAwi8T4M.pgp
Description: PGP signature
--- End Message ---