Unable to compile auditbeat - failing on librpm-dev:arm64

Greetings,

I've compiled metricbeat and filebeat successfully. But, on auditbeat, I'm getting this output with 7.8.0. Wonder if anyone else has seen it, and if there are any suggested work-arounds?

    user@foo:~/go/src/github.com/elastic/beats/x-pack/auditbeat$ PLATFORMS='linux/arm64' mage package
Generated fields.yml for auditbeat to /home/wls/go/src/github.com/elastic/beats/x-pack/auditbeat/fields.yml
>> Building auditbeat.yml for linux/amd64
>> Building auditbeat.reference.yml for linux/amd64
>> Building auditbeat.docker.yml for linux/amd64
exec: go list -m
>> golangCrossBuild: Building for linux/arm64
>> buildGoDaemon: Building for linux/arm64
>> Building using: cmd='build/mage-linux-amd64 buildGoDaemon', env=[CC=aarch64-linux-gnu-gcc, CXX=aarch64-linux-gnu-g++, GOARCH=arm64, GOARM=, GOOS=linux, PLATFORM_ID=linux-arm64]
>> Building using: cmd='build/mage-linux-amd64 golangCrossBuild', env=[CC=aarch64-linux-gnu-gcc, CXX=aarch64-linux-gnu-g++, GOARCH=arm64, GOARM=, GOOS=linux, PLATFORM_ID=linux-arm64]
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease  Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease  Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Unable to locate package librpm-dev:arm64
Error: running "apt-get install -y --no-install-recommends librpm-dev:arm64" failed with exit code 100
Error: failed building for linux/arm64: exit status 100
failed building for linux/arm64: exit status 100
package ran for 50.937228412s
Error: running "docker run --env EXEC_UID=1000 --env EXEC_GID=1000 --env GOFLAGS=-mod=vendor --rm --env MAGEFILE_VERBOSE= --env MAGEFILE_TIMEOUT= --env SNAPSHOT=false -v /home/wls/go/src/github.com/elastic/beats:/go/src/github.com/elastic/beats -w /go/src/github.com/elastic/beats/x-pack/auditbeat docker.elastic.co/beats-dev/golang-crossbuild:1.13.10-arm --build-cmd build/mage-linux-amd64 golangCrossBuild -p linux/arm64" failed with exit code 1

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.