Package: src:python-iniparse Version: 0.5.1-1 Severity: serious Tags: ftbfs trixie forky sid patch Control: owner -1 !
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202605/ Note: This has been observed in reproducible-builds on a build having parallel=12 and it also happens more than 80% of the time in some AWS machines. I found that the following patch is enough for the build failure to go away: --- a/tests/test_multiprocessing.py +++ b/tests/test_multiprocessing.py @@ -26,7 +26,7 @@ def test_queue(self): def getxy(_q, _w): - _cfg = _q.get_nowait() + _cfg = _q.get(timeout=1) _w.put(_cfg.x.y) cfg = ini.INIConfig() cfg.x.y = '42' which is why I'm tagging this bug as "patch" and setting myself as the owner. (Next step will be to fix it in trixie) 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-iniparse, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] ====================================================================== ERROR: test_queue (test_multiprocessing.TestIni.test_queue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_iniparse/build/tests/test_multiprocessing.py", line 38, in test_queue self.assertEqual(w.get(timeout=1), '42') ~~~~~^^^^^^^^^^^ File "/usr/lib/python3.14/multiprocessing/queues.py", line 112, in get raise Empty _queue.Empty ---------------------------------------------------------------------- Ran 120 tests in 1.034s FAILED (errors=1, skipped=25) E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_iniparse/build; python3.14 ./runtests.py I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iniparse/build; python3.13 ./runtests.py /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iniparse/build/tests/test_fuzz.py:58: SyntaxWarning: invalid escape sequence '\[' name = re.sub(':|=| |\[', '', name) /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iniparse/build/tests/test_ini.py:29: SyntaxWarning: invalid escape sequence '\c' ('[se\ct%[ion\t]', ('se\ct%[ion\t', None, None, -1)), /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iniparse/build/tests/test_ini.py:29: SyntaxWarning: invalid escape sequence '\c' ('[se\ct%[ion\t]', ('se\ct%[ion\t', None, None, -1)), .............................................sssssssssssssssssssssssss....................................../usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=98) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() ............ ---------------------------------------------------------------------- Ran 120 tests in 0.031s OK (skipped=25) dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" --parallel=1 returned exit code 13 make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

