In a freshly installed Arch Linux, I want to build a package (yaourt package) using makepkg command but I got the following error:
[dhani@arch-vbox]: ~/package-query>$ makepkg -si ==> ERROR: Cannot find the strip binary required for object file stripping. ==> ERROR: An unknown error has occurred. Exiting...
The error was caused by missing required packages to build or compile packages under Arch Linux. This error can be fixed by installing binutils, gcc, pkg-config and make package.
sudo pacman -S binutils make gcc pkg-config fakeroot
Now re run the makepkg package and now all should be resolved.