pkgsrc-Bugs archive

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

pkg/58296: lang/erlang hangs waiting for terminal



>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@localhost:/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:
 	
 	


Home | Main Index | Thread Index | Old Index