-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
go_1_12: init at 1.12beta2 #54950
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_1_12: init at 1.12beta2 #54950
Conversation
@GrahamcOfBorg build go_1_12 |
I'm kind of mystified by the fetchzip failure, I'm hoping that's just nondeterminism on GitHub's end or something. |
6e6179a
to
ca70971
Compare
I've switched src to fetch from official release tarballs rather than GitHub, I'm hoping that resolves the inconsistency. |
eep, seems the bot doesn't notice WIP tag removals |
sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go | ||
sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go | ||
sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need some more of these on macOS:
##### os/user with tag osusergo
--- FAIL: TestCurrent (0.01s)
user_test.go:22: Current: user: Current not implemented on darwin/amd64 (got (*user.User)(nil))
--- FAIL: TestLookup (0.00s)
user_test.go:65: Current: user: Current not implemented on darwin/amd64
--- FAIL: TestLookupId (0.00s)
user_test.go:86: Current: user: Current not implemented on darwin/amd64
FAIL
FAIL os/user 0.050s
2019/02/10 10:06:56 Failed: exit status 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I have no clue, why we it suddenly does not return a user their.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not so much "not implemented" as "we ran the implementation, and it bailed because we're missing some files/env vars it expected to find". Just disabling the tests will do, but I might be able to do a prettier fix.
Motivation for this change
Go 1.12 is coming out by early March at the latest, and I'd like us to be ready to pounce on that.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)