Skip to content

x/sys/unix: type alias Nfgenmsg breaks build on go 1.8 #25563

@Paul-PSDigital

Description

@Paul-PSDigital

I believe the issue is directly linked to this change:
golang/sys@3135538#diff-790e11cae6867313825b103954c3a3fbR1405

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go1.8.3

Does this issue reproduce with the latest release?

Uncertain, likely not

What operating system and processor architecture are you using (go env)?

linux/amd64

What did you do?

Builds ran as usual this morning on timer, during go get stage they all failed on golang.org/x/sys/unix

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

What did you expect to see?

get get moving onto the next dependency

What did you see instead?

golang.org/x/sys/unix/ztypes_linux_amd64.go:1405: syntax error: unexpected = in type declaration
golang.org/x/sys/unix/ztypes_linux_amd64.go:1407: syntax error: non-declaration statement outside function body

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.OS-Linux

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions