maintainer-feedback requested: [Bug 257353] lang/python38: port very flaky when built under QEMU
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 257353] lang/python38: port very flaky when built under QEMU"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jul 2021 13:20:23 UTC
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=257353 --- 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/parser s'... Listing '/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/xml/sax'.. . 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/compileall .py", line 332, in <module> exit_status = int(not main()) File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/compileall .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/compileall .py", line 93, in compile_dir success = min(results, default=True) File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/concurrent /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/concurrent /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/concurrent /futures/_base.py", line 444, in result return self.__get_result() File "/wrkdirs/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/concurrent /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=lang%2Fpython38%24 Unfortunately, as the bug causes the port to get stuck, this is very annoying to deal with. Please investigate and perhaps mark as BROKEN when QEMU_EMULATING is defined.