NetBSD Problem Report #58296
From john@klos.com Tue May 28 04:06:32 2024
Return-Path: <john@klos.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 83FBA1A923A
for <gnats-bugs@gnats.NetBSD.org>; Tue, 28 May 2024 04:06:32 +0000 (UTC)
Message-Id: <202405280406.44S46Tbp010115@bunny.zia.io>
Date: Tue, 28 May 2024 04:06:29 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: lang/erlang hangs waiting for terminal
X-Send-Pr-Version: 3.95
>Number: 58296
>Category: pkg
>Synopsis: lang/erlang hangs waiting for terminal
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 28 04:10:00 +0000 2024
>Originator: John Klos
>Release: NetBSD 10.0_RC5
>Organization:
>Environment:
System: NetBSD doozer.zia.io 10.0_RC5 NetBSD 10.0_RC5 (DOOZER) #0: Tue Mar 5 21:31:15 UTC 2024 john@doozer.zia.io:/usr/obj-amd64/sys/arch/amd64/compile/DOOZER amd64
Architecture: x86_64
Machine: amd64
>Description:
When running pkg_rolling-replace with output directed to a file, lang/erlang hangs:
nice pkg_rolling-replace -suv >& /root/rolling.log &
[1] 17823
[1] + Suspended (tty output) pkg_rolling-replace -suv >& /root/rolling.log
Last few lines of log:
ERLC ../ebin/sys.beam
ERLC ../ebin/timer.beam
ERLC ../ebin/unicode.beam
escript ../uc_spec/gen_unicode_mod.escript
The command last run is:
../uc_spec/gen_unicode_mod.escript -B -A0 -- -root /usr/pkgsrc/lang/erlang/work/otp-OTP-26.2.5/bootstrap -bindir /usr/pkgsrc/lang/erlang/work/otp-OTP-26.2.5/bin/x86_64-unknown-netbsd10.0 -progname erl -- -home /usr/pkgsrc/lang/erlang/work/.home -- -noshell -boot no_dot_erlang -run escript start -extra ../uc_spec/gen_unicode_mod.escript (beam.smp
There's also this process:
erl_child_setup 13196
"fg" in the shell that started pkg_rolling-replace causes the build to continue.
Note that it stops in a few other places if it's not left in the foreground.
>How-To-Repeat:
Compile pkgsrc/lang/erlang with output redirected to a file.
>Fix:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.