Date: Fri, 23 Jul 2021 13:20:23 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 257353] lang/python38: port very flaky when built under QEMU Message-ID: <bug-257353-21822-UA0AJ2UP6c@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257353-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-257353-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody) <python@FreeBSD.org> for maintainer-feedback: Bug 257353: lang/python38: port very flaky when built under QEMU https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257353 --- Description --- When building lang/python38 with QEMU, the build usually gets stuck with an error like this: --->8--->8--- Listing '/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/xml/pa= rser s'... Listing '/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/xml/sa= x'.. . Listing '/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/xmlrpc= '... Traceback (most recent call last): File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/compil= eall .py", line 332, in <module> exit_status =3D int(not main()) File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/compil= eall .py", line 314, in main if not compile_dir(dest, maxlevels, args.ddir, File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/compil= eall .py", line 93, in compile_dir success =3D min(results, default=3DTrue) File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/concur= rent /futures/process.py", line 484, in _chain_from_iterable_of_lists for element in iterable: File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/concur= rent /futures/_base.py", line 619, in result_iterator yield fs.pop().result() File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/concur= rent /futures/_base.py", line 444, in result return self.__get_result() File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/concur= rent /futures/_base.py", line 389, in __get_result raise self._exception concurrent.futures.process.BrokenProcessPool: A process in the process pool= was terminated abruptly while the future was running or pending. --->8--->8--- Some times it also does not fail, which leads me to believe there might be = some sort of race condition made visible by the use of emulation. There are many ports fallouts demonstrating this issue: https://portsfallout.com/fallout?port=3Dlang%2Fpython38%24 Unfortunately, as the bug causes the port to get stuck, this is very annoyi= ng to deal with. Please investigate and perhaps mark as BROKEN when QEMU_EMULATING is define= d.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257353-21822-UA0AJ2UP6c>