#`./hack/dev` on main, on a Mac, produces

1 messages · Page 1 of 1 (latest)

cinder ermine
#
r$ ./hack/dev
~/git/github.com/dagger/dagger/dev/mage ~/git/github.com/dagger/dagger
> dagger call -m dev --source=.:default engine container export --path=/Users/shykes/git/github.com/dagger/dagger/bin/engine.tar --forced-compression=Gzip
true
> dagger call -m dev --source=.:default cli file --platform=darwin/arm64/v8 export --path=/Users/shykes/git/github.com/dagger/dagger/bin/dagger
true
~/git/github.com/dagger/dagger
~/git/github.com/dagger/dagger$ file ./bin/dagger
./bin/dagger: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=Aac3Al7277R4OXIcqdtK/g5fupn_ZrG3Sa0Ualibe/nG8FXAZswSfgcnbXlRCy/CQKpUBcHjpUHLifN79Tk, stripped
~/git/github.com/dagger/dagger$ ./bin/dagger
zsh: exec format error: ./bin/dagger
#

I didn't find a fix. Had to manually go build

light nimbus
#

weiiiiiird 👀 investigating

cinder ermine
#

I re-ran it several times, and made sure to remove ./bin/dagger in between , to rule out user error

light nimbus
#

wild, i cannot reproduce this

#

the --platform at the top is darwin/arm64/v8 as expected

#

if you can reproduce it, i'd try and inspect the values of platformSpec at various points

#

yeah, honstly at a loss for this

#

will circle back round after release moments

cinder ermine
#

No problem, I am not stuck - thanks for looking