Closed jhwz closed 1 year ago
Hi @jhwz, that actually solves the issue, but then you will find that the new images do not have compilers from other architectures:
After solving that, I get this:
cgo: C compiler "o64-clang" not found: exec: "o64-clang": executable file not found in $PATH
By the way, this happens only in the re-tagged version of v1.19.5, after commit https://github.com/goreleaser/goreleaser-cross/commit/73f55c69efc8bed4e3c150659423d22eeae05be3. It didn't happen with the older v1.19.5
thanks for reporting. i'm really sorry for causing those issues, but there is a big refactoring in progress.
i fixed those and retagged v1.19.5 is coming
feel free to reopen if issue persists
feel free to reopen if issue persists
I was able to use goreleaser-cross 1.20 almost as before. I had to add the environment variable LD_LIBRARY_PATH=/osxcross/lib
for darwin builds because the linkers had some missing dynamic libraries:
# ldd /osxcross/bin/x86_64-apple-darwin21.1-ld | grep 'not found'
libxar.so.1 => not found
libtapi.so.8svn => not found
# ldd /osxcross/bin/aarch64-apple-darwin21.1-ld | grep 'not found'
libxar.so.1 => not found
libtapi.so.8svn => not found
# ls -1 /osxcross/lib
libtapi.so
libtapi.so.8svn
libxar.a
libxar.la
libxar.so
libxar.so.1
LD_LIBRARY_PATH=/usr/local/osxcross/lib
Ok, I'll update, it looks like you did some changes yesterday. The latest version that I used was sha256:9b397e6174a3e16af5233d7d340df1fdf37eb878ee25e4f7c168b6a4cba8d95c
Thanks for the update.
yeah, sorry about that
introduction of goreleaser-pro
forced refactoring the process of image builds.
Potentially related to actions/runner-images#6775
When running our release pipeline after
v1.19.5
(release) we encountered the following error:Run git fetch --force --tags fatal: detected dubious ownership in repository at '/__w/{org}/{repo}' To add an exception for this directory, call: git config --global --add safe.directory /__w/{org}/{repo} Error: Process completed with exit code 12[8]
I'm going to create a second issue because this was closed as a fix for something else: https://github.com/goreleaser/goreleaser-cross/issues/29
Potentially related to https://github.com/actions/runner-images/issues/6775
When running our release pipeline after https://github.com/goreleaser/goreleaser-cross/releases/tag/v1.19.5 we encountered the following error: