don't rebuild failed packages everytime
git_commit: check only current directory
try to fix file descriptor leakage
handles when deps' arch not met
fix Input/output error in run_cmd
keep exiting and reading timing window small
fix: add wrong arch packages to depends