Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2021 13:20:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 257353] lang/python38: port very flaky when built under QEMU
Message-ID:  <bug-257353-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257353

            Bug ID: 257353
           Summary: lang/python38: port very flaky when built under QEMU
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://portsfallout.com/fallout?port=3Dlang%2Fpython38%
                    24
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: fuz@fuz.su
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

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=
rsers'...
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257353-21822>