Closed kolaente closed 1 year ago
Looks like the "direct" run (still runs directly in the xgo docker container, but does not build a docker image) fails with a different error:
/srv/app/pkg/mod/github.com/!click!house/ch-go@v0.55.0/compress/reader.go:10:2: github.com/klauspost/compress@v1.16.7: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.16.7.zip: 403 Forbidden
/srv/app/pkg/mod/github.com/!click!house/ch-go@v0.55.0/compress/reader.go:11:2: github.com/pierrec/lz4/v4@v4.1.17: reading https://proxy.golang.org/github.com/pierrec/lz4/v4/@v/v4.1.17.zip: 403 Forbidden
/srv/app/pkg/mod/github.com/go-playground/validator/v10@v10.15.1/baked_in.go:25:2: github.com/gabriel-vasile/mimetype@v1.4.2: reading https://proxy.golang.org/github.com/gabriel-vasile/mimetype/@v/v1.4.2.zip: 403 Forbidden
2023/09/07 14:10:03 Failed to cross compile package: exit status 1.
https://drone.kolaente.de/vikunja/api/5356/3/6
Seems unrelated to xgo?
Kind of embarrassing, but it looks like the package was cleared after generation and before building :man_facepalming:. Of course it could not be found.
I'm using xgo to build multi-arch docker images. Since recently, compiling my package fails because it can't find an internal package:
The package is present in the source tree, not sure why xgo is unable to find it. Is that a bug in xgo or did I misconfigure something?
CI run: https://drone.kolaente.de/vikunja/api/5356/5/3
It is reproducible, the package is open-source:
(you need a recent version of docker with buildx available)