Hi, This problem was reported/discussed several time I believe and I guess it does not have final solution yet (you can check this thread: http://mail-index.netbsd.org/tech-security/2021/01/11/msg001100.html). However, there are workarounds to build python38 now.
One described here https://mail-index.netbsd.org/current-users/2020/05/01/msg038495.html, you can fool system into believing that it has enough entropy: dd if=/dev/urandom of=/dev/random bs=32 count=1 sysctl -w kern.entropy.consolidate=1 Another workaround which also makes python to compile was described in pkg/55847: https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55847 Regards, Andrius V On Mon, Jun 14, 2021 at 11:15 AM Thomas Mueller <[email protected]> wrote: > > I've been trying to install lang/python38, critically important for further > progress building and installing packages from pkgsrc > > System is NetBSD-9.99.82 amd64. > > Build goes through and most of the way through installation, but ends with a > green console message > > [ 386.3532035] entropy: pid 24617 (python) blocking due to lack of entropy > > This time, I tried again (after Ctrl-C and "make install"), got the same > message but with different numbers. > > This is an awful strange message about failing to install a package. > > End of build log file was > > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/curses/ascii.py > /usr/pkg/lib/python3.8/curses > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/curses/has_key.py > /usr/pkg/lib/python3.8/curses > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/curses/panel.py > /usr/pkg/lib/python3.8/curses > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/curses/textpad.py > /usr/pkg/lib/python3.8/curses > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/pydoc_data/__init__.py > /usr/pkg/lib/python3.8/pydoc_data > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/pydoc_data/_pydoc.css > /usr/pkg/lib/python3.8/pydoc_data > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/pydoc_data/topics.py > /usr/pkg/lib/python3.8/pydoc_data > /usr/bin/install -c -o root -g wheel -m 644 `cat > pybuilddir.txt`/_sysconfigdata_netbsd9.py > /pkgsrc/lang/python38/work10.amd64/.destdir/usr/pkg/lib/python3.8; > /usr/bin/install -c -o root -g wheel -m 644 ./LICENSE > /pkgsrc/lang/python38/work10.amd64/.destdir/usr/pkg/lib/python3.8/LICENSE.txt > if test -d > /pkgsrc/lang/python38/work10.amd64/.destdir/usr/pkg/lib/python3.8/distutils/tests; > then /usr/bin/install -c -o root -g wheel -m 644 ./Modules/xxmodule.c > /pkgsrc/lang/python38/work10.amd64/.destdir/usr/pkg/lib/python3.8/distutils/tests > ; fi > PYTHONPATH=/pkgsrc/lang/python38/work10.amd64/.destdir/usr/pkg/lib/python3.8 > LD_LIBRARY_PATH=/pkgsrc/lang/python38/work10.amd64/Python-3.8.10 ./python -E > -Wi > /pkgsrc/lang/python38/work10.amd64/.destdir/usr/pkg/lib/python3.8/compileall.py > -j0 -d /usr/pkg/lib/python3.8 -f -x > 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' > /pkgsrc/lang/python38/work10.amd64/.destdir/usr/pkg/lib/python3.8 > > > On other computer, system crashes and reboots (dirty, so I have to fsck_ffs > after reboot) at about this point. > > What does this entropy error message mean, and is there anything I can do > except wait some months, update the system, and try again? > > Inability to build python38 is a bone in the throat, so much depends on > Python. I am at an impasse on NetBSD. > > Tom >
