pkgsrc-Users archive

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

parallel/parallel



Hi,

Is this package even supposed to work under NetBSD(-current at least)?

On today's -current amd64, fully upgraded pkgsrc (past a
rolling-replace) and with
perl 5.30.3,  a simple test like

....
(under Ubuntu 2020):
# parallel -k echo ::: A B C > abc-file
# cat abc-file
A
B
C
....

fails under NetBSD-current it goes into sleep forever; when I break
into the perl process I only get:

in _sys___wait450 () from /usr/lib/libc.so.12
(gdb) thread apply all bt

Thread 1 (LWP 4668 of process 4668):
#0  0x00007692f2e4499a in _sys___wait450 () from /usr/lib/libc.so.12
#1  0x00007692f36080f9 in __wait450 () from /usr/lib/libpthread.so.1
#2  0x00007692f42e3e19 in Perl_wait4pid () from
/usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE
/libperl.so
#3  0x00007692f43559a9 in Perl_pp_waitpid () from
/usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CO
RE/libperl.so
#4  0x00007692f42fe283 in Perl_runops_standard () from
/usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-mul
ti/CORE/libperl.so
#5  0x00007692f4277df8 in perl_run () from
/usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/libp
erl.so
#6  0x0000000000401303 in main ()

Perhaps some other libpthreads peculiarity? I do not have anything
relevant to perl in /etc/mk.conf.

Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index