Iman, when I run yaourt i give it an ignore architecture flag. "yaourt -AS packagename" That alone should not solve my first error, but it is probably the fact that it configures everything through autogen.sh and not ./configure.
Make finished compiling but building the package failed because I got a write error. I assume I ran out of space on /tmp (this thing only has 128mb ram), so I moved the compiling temp directory to one on the hard drive. I'm still getting an error though. The executable is under /var/abs/local/yaourtbuild/bfgminer-git/src/bfgminer-build, so I can run it, but I would like to have it packaged.
make[2]: Leaving directory `/var/abs/local/yaourtbuild/bfgminer-git/src/bfgminer-build'
make[1]: Leaving directory `/var/abs/local/yaourtbuild/bfgminer-git/src/bfgminer-build'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
/usr/bin/makepkg: line 1290: 4821 Killed xz -c -z -
bsdtar: Write error
==> ERROR: Failed to create package file.
==> ERROR: Makepkg was unable to build bfgminer-git.