tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

python 3.12 and i386, earmv7 also



python3.12 is failing in the 9 i386 bulk build.  It fails even with a
recent netbsd-9 vs 9.0.

However, it builds for me on a netbsd-9 (recent) i386 system, without
pbulk.  My system is a xen domU.

It would be great if someone could figure out what's wrong and fix it.
So far, my guess is that whatever is wrong  manifests on netbsd-9 (but
not -10) and with 32-bit CPUs.


logs from bulk builds:

http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-9.0-i386/20240418.1308/meta/report.html
http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-9.0-i386/20240418.1308/python312-3.12.3/install.log

I think the issue is:

  Listing '/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12'...
  Traceback (most recent call last):
    File "/pbulk/work/lang/python312/work/Python-3.12.3/Lib/multiprocessing/forkserver.py", line 274, in main
      code = _serve_one(child_r, fds,
             ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/pbulk/work/lang/python312/work/Python-3.12.3/Lib/multiprocessing/forkserver.py", line 303, in _serve_one
      signal.signal(sig, val)
    File "/pbulk/work/lang/python312/work/Python-3.12.3/Lib/signal.py", line 58, in signal
      handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object


and this shows up also in earmv7hf-el

http://victory.netbsd.org/pkgsrc/packages/reports/2024Q1/evbarm7-9.0/20240426.0737/meta/report.html
http://victory.netbsd.org/pkgsrc/packages/reports/2024Q1/evbarm7-9.0/20240426.0737/python312-3.12.2/install.log

  Listing '/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12/__phello__'...
  Traceback (most recent call last):
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/multiprocessing/forkserver.py", line 274, in main
      code = _serve_one(child_r, fds,
             ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/multiprocessing/forkserver.py", line 303, in _serve_one
      signal.signal(sig, val)
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/signal.py", line 58, in signal
      handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object
  Traceback (most recent call last):
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/multiprocessing/forkserver.py", line 274, in main
  Traceback (most recent call last):
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/multiprocessing/forkserver.py", line 274, in main
      code = _serve_one(child_r, fds,
             ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/multiprocessing/forkserver.py", line 303, in _serve_one
      signal.signal(sig, val)
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/signal.py", line 58, in signal
      code = _serve_one(child_r, fds,
             ^^^^^^^^^^^^^^^^^^^^^^^^
      handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/multiprocessing/forkserver.py", line 303, in _serve_one
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object
      signal.signal(sig, val)
    File "/pbulk/work/lang/python312/work/Python-3.12.2/Lib/signal.py", line 58, in signal
      handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object
  Traceback (most recent call last):
    File "/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12/compileall.py", line 468, in <module>
      exit_status = int(not main())
                            ^^^^^^
    File "/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12/compileall.py", line 445, in main
      if not compile_dir(dest, maxlevels, args.ddir,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12/compileall.py", line 109, in compile_dir
      results = executor.map(partial(compile_file,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12/concurrent/futures/process.py", line 859, in map
      results = super().map(partial(_process_chunk, fn),
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12/concurrent/futures/_base.py", line 608, in map
      fs = [self.submit(fn, *args) for args in zip(*iterables)]
            ^^^^^^^^^^^^^^^^^^^^^^
    File "/pbulk/work/lang/python312/work/.destdir/usr/pkg/lib/python3.12/concurrent/futures/process.py", line 813, in submit
      raise BrokenProcessPool(self._broken)
  concurrent.futures.process.BrokenProcessPool: A child process terminated abruptly, the process pool is not usable anymore
  *** Error code 1 (ignored)


Home | Main Index | Thread Index | Old Index