Print error message if build failed

def build_FAILED(self, prgnam):
        """Print error message if build failed
        """
        self.template(78)
        print("| Some error on the package {0} [ {1}FAILED{2} ]".format(
            prgnam, self.meta.color["RED"], self.meta.color["ENDC"]))
        self.template(78)
        print("| See the log file in '{0}/var/log/slpkg/sbo/build_logs{1}' "
              "directory or read the README file".format(
                  self.meta.color["CYAN"], self.meta.color["ENDC"]))
        self.template(78)
        print("")