kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
505 stars 101 forks source link

Fix "object file was built for newer macOS version than being linked" error in build step #1613

Closed RebeccaMahany closed 7 months ago

RebeccaMahany commented 7 months ago

Try to fix persistent build issue:

ld: warning: object file (/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/go-link-1359000262/000020.o) was built for newer macOS version (12.0) than being linked (11.0)

Example: https://github.com/kolide/launcher/actions/runs/7995248348/job/21835133063?pr=1612

Somehow this is a govulncheck issue again. Since this is the second time that running govulncheck ahead of the build has created issues with the build, I am moving the govulncheck step to after the build is complete.

RebeccaMahany commented 7 months ago

Closing in favor of https://github.com/kolide/launcher/pull/1614