Hi, I try to build metricbeat in my windows machine, run mage package
command threw error like below
C:\Program Files\Go\src\beats\metricbeat>mage package
Generated fields.yml for metricbeat to C:\Program Files\Go\src\beats\metricbeat\fields.yml
Generated fields.yml for metricbeat to C:\Program Files\Go\src\beats\metricbeat\fields.yml
>> Building metricbeat.yml for linux/amd64
>> Building metricbeat.reference.yml for linux/amd64
>> Building metricbeat.docker.yml for linux/amd64
Generated fields.yml for metricbeat to C:\Program Files\Go\src\beats\metricbeat\build\fields\fields.all.yml
>> golangCrossBuild: Building for windows/amd64
>> Building using: cmd='build\mage-linux-amd64 golangCrossBuild', env=[CC=x86_64-w64-mingw32-gcc, CXX=x86_64-w64-mingw32-g++, GOARCH=amd64, GOARM=, GOOS=windows, PLATFORM_ID=windows-amd64]
sh: 1: buildmage-linux-amd64: not found
Error: failed building for windows/amd64: exit status 127
failed building for windows/amd64: exit status 127
package ran for 33.187961s
Error: running "docker run -v C:\Program Files\Go\pkg\mod:/go/pkg/mod:ro --env DEV=false --rm --env GOFLAGS=-mod=readonly --env MAGEFILE_VERBOSE= --env MAGEFILE_TIMEOUT= --env SNAPSHOT=false -v C:\Program Files\Go\src\beats:/go/src/github.com/elastic/beats -w /go/src/github.com/elastic/beats/metricbeat docker.elastic.co/beats-dev/golang-crossbuild:1.18.7-main --build-cmd build\mage-linux-amd64 golangCrossBuild --platforms windows/amd64" failed with exit code 1