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

go/build: build constraint fails to exclude go:binary-only-package directive #16841

Closed
joshlf opened this issue Aug 22, 2016 · 1 comment
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@joshlf
Copy link

joshlf commented Aug 22, 2016

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    1.7
  2. What operating system and processor architecture are you using (go env)?
    darwin/amd64
  3. What did you do?
    Build this package using go build -tags build_source with no binary version present.
  4. What did you expect to see?
    The package should have built successfully since the // +build !build_source tag in binary.go should have excluded the //go:binary-only-package directive in that same file.
  5. What did you see instead?
    missing or invalid package binary for binary-only package ...
@joshlf joshlf changed the title Build constraint fails to exclude go:binary-only-package directive go/build: build constraint fails to exclude go:binary-only-package directive Aug 23, 2016
@bradfitz bradfitz added this to the Go1.8Maybe milestone Aug 23, 2016
@quentinmit quentinmit added the NeedsFix The path to resolution is known, but the work has not been done. label Oct 10, 2016
@gopherbot
Copy link

CL https://golang.org/cl/31577 mentions this issue.

@golang golang locked and limited conversation to collaborators Oct 24, 2017
@rsc rsc removed their assignment Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

5 participants