-
Notifications
You must be signed in to change notification settings - Fork 18k
x/sys/unix: cmsgAlignOf redeclared #35102
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
Are you sure you correctly vendored https://github.com/golang/sys/blob/master/unix/sockcmsg_unix.go It was there before but was moved by https://golang.org/cl/202179 |
unfortunately, that is a private repo. I deleted the
|
I tried
|
Yes, this is where they should be declared (once for dragonfly and once for all other geese). Does the issue still persist with this vendoring? |
Apparently one of the dependency has an older version of sys/unix pinned to it because of which I was getting the error I described in this issue. I removed that dependency and don’t see the issue anymore, so closing the issue. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes. I only tried with
go1.12.12
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$go mod vendor
What did you expect to see?
I see that
cmsgAlignOf
is declared in two different go files in the same package.What did you see instead?
The text was updated successfully, but these errors were encountered: