Your message dated Sun, 02 Aug 2026 21:49:15 +0000
with message-id <[email protected]>
and subject line Bug#1143370: fixed in python-portpicker 1.6.0-3
has caused the Debian Bug report #1143370,
regarding python-portpicker: FTBFS: dpkg-buildpackage: error: debian/rules
binary subprocess failed with exit status 2
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.)
--
1143370: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143370
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-portpicker
Version: 1.6.0-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:python-portpicker, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f debian/portserver.1
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build"
module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_portpicker
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX
license expression:
License :: OSI Approved :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib
copying src/portpicker.py -> build/lib
copying src/portserver.py -> build/lib
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
copying build/lib/portpicker.py -> build/bdist.linux-x86_64/wheel/.
copying build/lib/portserver.py -> build/bdist.linux-x86_64/wheel/.
running install_egg_info
running egg_info
creating src/portpicker.egg-info
writing src/portpicker.egg-info/PKG-INFO
writing dependency_links to src/portpicker.egg-info/dependency_links.txt
writing entry points to src/portpicker.egg-info/entry_points.txt
writing requirements to src/portpicker.egg-info/requires.txt
writing top-level names to src/portpicker.egg-info/top_level.txt
writing manifest file 'src/portpicker.egg-info/SOURCES.txt'
reading manifest file 'src/portpicker.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'package.sh'
adding license file 'LICENSE'
writing manifest file 'src/portpicker.egg-info/SOURCES.txt'
Copying src/portpicker.egg-info to
build/bdist.linux-x86_64/wheel/./portpicker-1.6.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/portpicker-1.6.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_portpicker/.tmp-gi87klu9/portpicker-1.6.0-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'portpicker.py'
adding 'portserver.py'
adding 'portpicker-1.6.0.dist-info/licenses/LICENSE'
adding 'portpicker-1.6.0.dist-info/METADATA'
adding 'portpicker-1.6.0.dist-info/WHEEL'
adding 'portpicker-1.6.0.dist-info/entry_points.txt'
adding 'portpicker-1.6.0.dist-info/top_level.txt'
adding 'portpicker-1.6.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built portpicker-1.6.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with
"installer" module
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build"
module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_portpicker
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX
license expression:
License :: OSI Approved :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
copying build/lib/portpicker.py -> build/bdist.linux-x86_64/wheel/.
copying build/lib/portserver.py -> build/bdist.linux-x86_64/wheel/.
running install_egg_info
running egg_info
writing src/portpicker.egg-info/PKG-INFO
writing dependency_links to src/portpicker.egg-info/dependency_links.txt
writing entry points to src/portpicker.egg-info/entry_points.txt
writing requirements to src/portpicker.egg-info/requires.txt
writing top-level names to src/portpicker.egg-info/top_level.txt
reading manifest file 'src/portpicker.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'package.sh'
adding license file 'LICENSE'
writing manifest file 'src/portpicker.egg-info/SOURCES.txt'
Copying src/portpicker.egg-info to
build/bdist.linux-x86_64/wheel/./portpicker-1.6.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/portpicker-1.6.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_portpicker/.tmp-tc0bg5vb/portpicker-1.6.0-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'portpicker.py'
adding 'portserver.py'
adding 'portpicker-1.6.0.dist-info/licenses/LICENSE'
adding 'portpicker-1.6.0.dist-info/METADATA'
adding 'portpicker-1.6.0.dist-info/WHEEL'
adding 'portpicker-1.6.0.dist-info/entry_points.txt'
adding 'portpicker-1.6.0.dist-info/top_level.txt'
adding 'portpicker-1.6.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built portpicker-1.6.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with
"installer" module
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=src python3 src/tests/portpicker_test.py
.............s.....
----------------------------------------------------------------------
Ran 18 tests in 0.248s
OK (skipped=1)
PYTHONPATH=src python3 src/tests/portserver_test.py
I0801 20:59:41.117 140421320618496 portserver.py:204] Port 22 unexpectedly in
use, last owning pid 0.
I0801 20:59:41.117 140421320618496 portserver.py:204] Port 37643 unexpectedly
in use, last owning pid 0.
I0801 20:59:41.117 140421320618496 portserver.py:208] All ports in use.
..I0801 20:59:41.117 140421320618496 portserver.py:204] Port 12344 unexpectedly
in use, last owning pid 0.
I0801 20:59:41.117 140421320618496 portserver.py:200] Can't read start time for
pid 12345.
.I0801 20:59:41.118 140421320618496 portserver.py:204] Port 12345 unexpectedly
in use, last owning pid 0.
I0801 20:59:41.118 140421320618496 portserver.py:200] Can't read start time for
pid 12345.
..W0801 20:59:41.118 140421320618496 portserver.py:261] Could not parse
request: invalid literal for int() with base 10: b''
W0801 20:59:41.118 140421320618496 portserver.py:261] Could not parse request:
invalid literal for int() with base 10: b'\n'
W0801 20:59:41.119 140421320618496 portserver.py:261] Could not parse request:
invalid literal for int() with base 10: b'99Z\n'
W0801 20:59:41.119 140421320618496 portserver.py:261] Could not parse request:
invalid literal for int() with base 10: b'99 8\n'
.I0801 20:59:41.119 140421320618496 portserver.py:264] Request on behalf of pid
6.
I0801 20:59:41.119 140421320618496 portserver.py:265] cmdline: <MagicMock
name='_get_process_command_line()' id='140421302744272'>
.I0801 20:59:41.120 140421320618496 portserver.py:264] Request on behalf of pid
5.
I0801 20:59:41.120 140421320618496 portserver.py:265] cmdline: <MagicMock
name='_get_process_command_line()' id='140421302745616'>
.I0801 20:59:41.120 140421320618496 portserver.py:264] Request on behalf of pid
8.
I0801 20:59:41.120 140421320618496 portserver.py:265] cmdline: <MagicMock
name='_get_process_command_line()' id='140421301486992'>
D0801 20:59:41.121 140421320618496 portserver.py:275] Allocated port 999 to pid
8
.......E0801 20:59:41.123 140421320618496 portserver.py:362] No ports. Invalid
port ranges in --portserver_static_pool?
..E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable
port range ''.
E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable port
range 'not'.
E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable port
range 'numbers'.
E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable port
range '8080-8081x'.
E0801 20:59:41.123 140421320618496 portserver.py:332] Ignoring out of bounds
port range '0-1138'.
E0801 20:59:41.123 140421320618496 portserver.py:332] Ignoring out of bounds
port range '1138-65536'.
.F/usr/lib/python3.14/unittest/case.py:668: ResourceWarning: unclosed file
<_io.BufferedReader name=4>
with outcome.testPartExecutor(self):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.14/unittest/case.py:668: ResourceWarning: unclosed
<socket.socket fd=3, family=1, type=1, proto=0>
with outcome.testPartExecutor(self):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
I0801 20:59:45.133 140421320618496 portserver.py:111] Not allocating a port to
invalid pid
I0801 20:59:45.133 140421320618496 portserver.py:116] Not allocating a port to
init.
I0801 20:59:45.207 140421320618496 portserver.py:120] Not allocating a port to
a non-existent process
.
======================================================================
FAIL: test_portserver_binary
(__main__.PortserverFunctionsTest.test_portserver_binary)
Launch python portserver.py and test it.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/tests/portserver_test.py", line 201, in
test_portserver_binary
conn.connect(anon_addr)
~~~~~~~~~~~~^^^^^^^^^^^
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/tests/portserver_test.py", line 209, in
test_portserver_binary
self.fail('Failed to connect to portserver '
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f'{self._test_socket_addr} within '
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f'{delta} seconds. STDERR:\n' +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.stderr.read().decode('utf-8'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Failed to connect to portserver @TST-103 within
4.007407982999894 seconds. STDERR:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/portserver.py", line 415, in <module>
main()
~~~~^^
File "/<<PKGBUILDDIR>>/src/portserver.py", line 370, in main
event_loop = asyncio.get_event_loop()
File "/usr/lib/python3.14/asyncio/events.py", line 718, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
----------------------------------------------------------------------
Ran 20 tests in 4.090s
FAILED (failures=1)
make[1]: *** [debian/rules:27: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: python-portpicker
Source-Version: 1.6.0-3
Done: Sascha Steinbiss <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-portpicker, 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.
Sascha Steinbiss <[email protected]> (supplier of updated python-portpicker
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: Sun, 02 Aug 2026 22:51:46 +0200
Source: python-portpicker
Architecture: source
Version: 1.6.0-3
Distribution: unstable
Urgency: medium
Maintainer: Sascha Steinbiss <[email protected]>
Changed-By: Sascha Steinbiss <[email protected]>
Closes: 1143370
Changes:
python-portpicker (1.6.0-3) unstable; urgency=medium
.
* Add current Salsa CI configuration.
* Add patch to fix failing tests. Python 3.14 removed the implicit event
loop creation in asyncio.get_event_loop(), causing portserver to crash
at startup with "There is no current event loop in thread 'MainThread'".
Closes: #1143370
* Run `cme fix dpkg`.
* Bump copyright date for debian/ directory.
Checksums-Sha1:
19fb922a1e71efedc2750962088da8af35995b25 2083 python-portpicker_1.6.0-3.dsc
e32ff74c421c0df803341fc3e86f6b606d1ac590 4460
python-portpicker_1.6.0-3.debian.tar.xz
9c94d728c8dd725b468d803eb04cec6c13e561bc 7427
python-portpicker_1.6.0-3_amd64.buildinfo
Checksums-Sha256:
d60fc2dd2d9bd21a139c04a361e20456ed1cdcb4965d87a99d1566a8c1bf6f09 2083
python-portpicker_1.6.0-3.dsc
f817965ec14c3a78fe731023323328c1173586c8b534a06faa62076010d8b03d 4460
python-portpicker_1.6.0-3.debian.tar.xz
a96bb89cfa8f9e47d797a9fea134e087292dbe9862c2213a3cb906ee3199b299 7427
python-portpicker_1.6.0-3_amd64.buildinfo
Files:
296b813c365989acf1f7ccfb9af1f23a 2083 python optional
python-portpicker_1.6.0-3.dsc
3b54dcf4e1c9a8730a9da5b7d88d6510 4460 python optional
python-portpicker_1.6.0-3.debian.tar.xz
3b8111a8549a39eddb830992bb09d9a1 7427 python optional
python-portpicker_1.6.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEWzS6WqtVB+kDQm6F6NN64vCfSHIFAmpvt+gACgkQ6NN64vCf
SHJLoxAAllEVse8js3qMxAxuQf2g/JGdi8/tvK+pCsBLBuRjsUNXKo+IYK7QtC5g
plsZ9B8u/uxT8jvOkAUsLfPA+Vj/A22AUi8giKkwcTCHKHamvCYS6eQyAhPf5PHw
TvUzkhsdPmcqAuihC8/ScSPqAOI/S3Qjn04tgd/wNdLQdPRWS+8os+IWEpnA4wZ8
Zs4dDqEmMt0PR/3JoLxp3r9BedezaRD+3Cb2seO8hbsTzmbSTQMT2UOYp/R380EP
HUdNBL2FaLpLiPw63K4OoY5nhjad216zD8ppRFT2iwSzW26P6jo5xnVhbwI1RSFn
UTN2yoPgzSFDnig3ps76uWnJRLCuR5+ADQYMffvgBnaKHxmOFbL8DdUUVCgvwuma
Yg5StzgElRd+bOTfjnqcmtThT0zil1PEefBOxUfF00blFB/pR92hJ74mnv1732Tc
J4ybgpf94K8rp6BeZ4wVByxAkcJ0BcLfGotAVX/HNkuTqbT9QJZ65URt2rwkC8B2
hj7zlUY31SYfA6aot6ipzALiCesa0WLvs/xac3wwUezO7JWzXaztycbAOLSjbtLl
nUO9SO8/BnIPdkWgmh5oGAUEcyoqt1exmvBVVADxyifYuFkwKX/HEMeg4HlRSyFb
M1rg5le8pxYpdtGF1fzHXRjVcHqXFSDbQmJCs5yaPF9UcBR7KD0=
=Ih5i
-----END PGP SIGNATURE-----
pgpQsZdX0jQ1u.pgp
Description: PGP signature
--- End Message ---