Hi, I've noticed that some packages fail to build within sb2 because
their scripts use rm -r. It looks that rm is confused by the
modifications performed by sb2 in paths.

rm -f does always fail to remove the files, and rm -rf sometimes
enters in an infinite loop that takes all cpu and memory untill the
OOM killer gets involved.

I have no knowledge of sb2 internals in order to debug this issue,
but it should be easy to reproduce, try this:

 mkdir dir
 for i in `seq 0 9`; do touch dir/$i; done
 sb2 rm -rf dir
_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to