tech-pkg archive

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

sysutils/daemontools build hangs on OI



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

sysutils/daemontools doesn't fail per se, but hangs at this point:

./load tai64nlocal unix.a byte.a
env - /bin/sh rts.tests 2>&1 | cat -v > rts

Digging a bit further (a have no knowledge with djb's tools), i found the following was causing this behaviour (from admin/daemontools-0.76/src/rts.tests):

echo '--- svc -u works'
( echo '#!/bin/sh'; echo echo first; echo mv run2 run ) > test.sv/run
chmod 755 test.sv/run
( echo '#!/bin/sh'; echo echo second; echo svc -x . ) > test.sv/run2
chmod 755 test.sv/run2
supervise test.sv &
until svok test.sv
do
  sleep 1
done
svc -u test.sv
wait

Commenting this out unlocks the process, but this is obviously not a fix. I'm using gcc 4.4 from pkgsrc 2011Q1 on OI build 147.

Any hint ?

- -------------------------------------------
Emile "iMil" Heitor .°. <imil%home.imil.net@localhost>                          
     _
                        http://gcu-squad.org        ASCII ribbon campaign ( )
                                                     - against HTML email  X
                                                                 & vCards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (NetBSD)

iD8DBQFNtFgTFG3BlGWyzUIRApm5AJ93bRDw94oKBXEpVpYjI4JUPaS2wACgggRX
vbUiP6nAmOlIY67y0H14f9M=
=O5DV
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index