-
Notifications
You must be signed in to change notification settings - Fork 819
all: build fails on darwin #3114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
v0.25.0 breaks the build on darwin. reverts #3018 refs google/go-cloud#3114 Signed-off-by: Carlos A Becker <[email protected]>
Can you file a bug for |
I filed mattn/go-ieproxy#34. I will downgrade our referenced version for now. |
Hmm I cannot downgrade our version, same error. |
just verified here and it works, will open a pr |
check #3116 to test I made a package main
import (
// Import the blob packages we want to be able to open.
_ "gocloud.dev/blob/azureblob"
_ "gocloud.dev/blob/gcsblob"
_ "gocloud.dev/blob/s3blob"
// import the secrets packages we want to be able to be used.
_ "gocloud.dev/secrets/awskms"
_ "gocloud.dev/secrets/azurekeyvault"
_ "gocloud.dev/secrets/gcpkms"
)
func main() {
print(1)
} and built with: GOOS=darwin GOARCH=amd64 go build -o foo ./cmd/ before this change it failed, after it compiled as expected. |
Can you verify which version of ie-proxy you ended up using? Our test suite does build on Darwin, and when I tried downgrading to the 0.0.2 version, it reproduced what you were seeing. However the 0.0.3 version seemed to work..... |
i was using v0.0.3, downgraded to v0.0.1, which was the one used on go-cloud v0.24 |
Carlos can you try the suggestion in
mattn/go-ieproxy#34 (comment)?
…On Fri, Apr 8, 2022, 5:20 PM Carlos Alexandro Becker < ***@***.***> wrote:
i was using v0.0.3, downgraded to v0.0.1, which was the one used on
go-cloud v0.24
—
Reply to this email directly, view it on GitHub
<#3114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFMCKTXUCT25DR5M33ZWPATVEDEL7ANCNFSM5S5BYL2A>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
I don't really want to add all the cgo complication to goreleaser unless its something we really cannot avoid... |
If I am reading the bugs correctly, this works fine when you're actually compiling on Darwin; it fails when you are cross-compiling. Is that correct?
|
that's likely related to default |
looking at the src of that lib, seems like it doesn't really use/need ieproxy v0.0.3 though... maybe add a build test with cgo disabled and keep using the old one? |
I also filed Azure/azure-pipeline-go#31 with azure-pipeline-go. |
I hit this with the latest Hugo release today, as I had upgraded to gocloud.dev v0.25.0, downgraded now to what we had before, v0.20.0, and crossing fingers ... |
@bep |
|
will there be a release soon that includes #3117? can move back to |
if I'm not mistaken, this has been fixed and released, so, closing :) thanks everyone ;) |
Describe the bug
Building things that use this library seems to yield an error on darwin, both amd64 and arm64.
Example output:
To Reproduce
Expected behavior
Build just fine.
Version
0.25.
Additional context
v0.24 works fine. It seems that its related to the update of go-ieproxy to v0.0.3.
The text was updated successfully, but these errors were encountered: