Don't recreate the log file for each package install phase.

Now the log contains the output of all install phases ('setup
configure/build/.../install') instead of only the last ('setup install' if the
build was succcesful).