NetBSD Problem Report #55847

From  Sun Dec  6 15:34:26 2020
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id E52DF1A9217
	for <>; Sun,  6 Dec 2020 15:34:25 +0000 (UTC)
Message-Id: <20201206153421.GA22587@sheep>
Date: Sun, 6 Dec 2020 16:34:21 +0100
From: Onno van der Linden <>
Subject: python38 install hangs on i386

>Number:         55847
>Category:       pkg
>Synopsis:       python38 install hangs on i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 06 15:35:00 +0000 2020
>Originator:     Onno van der Linden
>Release:        NetBSD 9.99.77
System: NetBSD sheep 9.99.77 NetBSD 9.99.77 (GENERICSHEEPKMS) #0: Sun Dec 6 14:31:07 CET 2020 onno@sheep:/usr/src/sys/arch/i386/compile/GENERICSHEEPKMS i386
Architecture: i386
Machine: i386
Build python38 on this machine which has low entropy. During the install of the python38 package

PYTHONPATH=/usr/obj/lang/python38/work/.destdir/usr/pkg/lib/python3.8 LD_LIBRARY_PATH=/usr/obj/lang/python38/work/Python-3.8.6 ./python -E -Wi /usr/obj/lang/python38/work/.destdir/usr/pkg/lib/python3.8/ -j0 -d /usr/pkg/lib/python3.8 -f -x 'bsd_coding|badsyntax|site-packages|lib2to3/tests/data' /usr/obj/lang/python38/work/.destdir/usr/pkg/lib/python3.8

is executed and it hangs. 

dmesg shows:
[  1081.260084] entropy: pid 20171 (python) blocking due to lack of entropy

	Build python38 on a recent (9.99.x since May 2020) low entropy NetBSD system
	Changed -j0 into -j1 in the 4 calls to in the python3.8 Makefile
	No idea if there's a more subtle way to handle this

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.