Description
- OS: Mac OS X 11.2.1
- Beats version: master
- Command:
SNAPSHOT=true DEV=true PLATFORMS=darwin mage package
(run here inx-pack/elastic-agent
)
Running mage package
outputs a few warnings in the command line. Some seem to be related to older OS X versions, namely 10.10. These are the log entries for heartbeat but it is seen for all Beats built for platform darwin:
>> Building heartbeat.yml for linux/amd64
>> Building heartbeat.reference.yml for linux/amd64
>> Building heartbeat.docker.yml for linux/amd64
>> golangCrossBuild: Building for darwin/amd64
>> Building using: cmd='build/mage-linux-amd64 golangCrossBuild', env=[CC=o64-clang, CXX=o64-clang++, GOARCH=amd64, GOARM=, GOOS=darwin, PLATFORM_ID=darwin-amd64]
# crypto/x509
ld: warning: object file (/tmp/go-build830650772/b117/_cgo_main.o) was built for newer OSX version (10.11) than being linked (10.10)
ld: warning: object file (/tmp/go-build830650772/b117/_x001.o) was built for newer OSX version (10.11) than being linked (10.10)
ld: warning: object file (/tmp/go-build830650772/b117/_x002.o) was built for newer OSX version (10.11) than being linked (10.10)
# github.com/elastic/beats/v7/x-pack/heartbeat
ld: warning: object file (/tmp/go-link-280111890/000018.o) was built for newer OSX version (10.11) than being linked (10.10)
ld: warning: object file (/tmp/go-link-280111890/000019.o) was built for newer OSX version (10.11) than being linked (10.10)
>> package: Building heartbeat type=tar.gz for platform=darwin/amd64
>> Testing package contents
I did not further investigate this but the reason I'm filing this as I'm worried at one stage this might break because of an old OS X version.
Activity