Mender-artifact is failing to build


I downloaded the mender-artifact code with below command.

git clone

after setting up env and go build got below error:

go build no non-test Go files in /src/


Use make if you want to build mender-artifact. The same goes for the mender client.

Go build is not enough because we add additional steps to the build process.

Thank you @kacf. I had to install lzma which was missing and make build did build the binary.