Skip to content
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

x/net/ipv6: undefined consts cause builds to fail on linux, darwin #9047

Closed
gopherbot opened this issue Nov 2, 2014 · 3 comments
Closed

Comments

@gopherbot
Copy link

by ryan@hashicorp.com:

Go versions tested:
go version devel +53ebc70d4e9f Sat Nov 01 08:28:09 2014 -0700 linux/amd64
go version go1.3.3 darwin/amd64

It appears there has been a change in the go.net package which prevents compilation on a
number of systems. The break looks like it began at commit b99851978628:

https://code.google.com/p/go/source/detail?repo=net&;r=b99851978628e1ecf31a72139060c661b6e4db3a

# code.google.com/p/go.net/ipv6
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:52: undefined:
sysSizeofPacketInfo
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:59: undefined:
sysSockopt2292HopLimit
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:66: undefined:
sysSockopt2292PacketInfo
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:67: undefined:
sysSizeofPacketInfo
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:68: undefined:
sysSizeofPacketInfo
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:88: undefined:
sysSockopt2292HopLimit
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:90: undefined:
sysSockopt2292PacketInfo
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:91: undefined:
sysPacketInfo
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:110: undefined:
sysSizeofPacketInfo
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:120: undefined:
sysSockopt2292HopLimit
../../../code.google.com/p/go.net/ipv6/control_rfc2292_unix.go:120: too many errors

If I clone 0f4b0760c3d0 in the same repository, everything builds as expected.
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-net, release-none.

@mikioh
Copy link
Contributor

mikioh commented Nov 3, 2014

Comment 2:

sorry for inconvenience. we now churn up go.net/ipv6 a bit and it will be fixed within a
few days.

@mikioh
Copy link
Contributor

mikioh commented Nov 10, 2014

Comment 3:

now it gets back to stable, changeset: 192:9ca0aab2bd65.

Status changed to Fixed.

@mikioh mikioh added repo-net and removed repo-net labels Dec 23, 2014
@mikioh mikioh changed the title go.net/ipv6: undefined consts cause builds to fail on linux, darwin ipv6: undefined consts cause builds to fail on linux, darwin Jan 4, 2015
@mikioh mikioh changed the title ipv6: undefined consts cause builds to fail on linux, darwin x/net/ipv6: undefined consts cause builds to fail on linux, darwin Jul 20, 2015
@golang golang locked and limited conversation to collaborators Jul 20, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants