Error building new OpenWRT-yun image

Zlib is actually compiling successfully, I think whatever happens immediately after zlib is what's failing. Is zlib the last package? (I'm guessing so based on its name) What happens after all the packages are compiled? I tried to follow the OpenWRT makefiles but they're rather complex so it's a little tough to see exactly what's happening. These lines make me think it's something immediately after the packages that's failing, but no output is showing what the error is:

make[2]: Leaving directory `/home/tony/Repositories/openwrt-yun'
make[1]: *** [/home/tony/Repositories/openwrt-yun/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2

Tried the lines suggested by sonnyyu, but it seems to fail in the same spot. Here's as much of the output as I could copy: 2/root-ar71xx/tmp-kmod-mac80211-hwsim/CONTROL/postinst; fiSHELL= /home/tony/Re - Pastebin.com

Thanks for the help so far!