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

From CGO_ENABLED=0 from make install #942

Merged
merged 1 commit into from
Dec 8, 2017
Merged

Conversation

ethanfrey
Copy link
Contributor

It was writing to stdlib packages net, x/crypto, etc. and failing when it didn't have write access to them (which it often shouldn't)

Fixes issue #941

Explained in golang issue: golang/go#18981 (fixed in develop/1.10)

@ethanfrey ethanfrey requested a review from ebuchman as a code owner December 8, 2017 15:32
@ethanfrey ethanfrey force-pushed the bugfix/install-stdlib branch from 8cdfcde to cb2772a Compare December 8, 2017 15:42
Makefile Outdated
@@ -12,7 +12,7 @@ BUILD_FLAGS = -ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`g
all: get_vendor_deps install test

install:
CGO_ENABLED=0 go install $(BUILD_FLAGS) ./cmd/tendermint
go install $(BUILD_FLAGS) ./cmd/tendermint

build:
CGO_ENABLED=0 go build $(BUILD_FLAGS) -o build/tendermint ./cmd/tendermint/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should remove it from here too to be consistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't have the same behavior on go build as per the comment. But sure, I can remove it. Will squish commits together

It was writing to stdlib packages net, x/crypto, etc. and failing when it didn't have write access to them (which it often shouldn't)

Fixes issue #941

Explained in golang issue: golang/go#18981 (fixed in develop/1.10)
@ethanfrey ethanfrey force-pushed the bugfix/install-stdlib branch from cb2772a to 9657d18 Compare December 8, 2017 16:03
@codecov-io
Copy link

Codecov Report

Merging #942 into develop will increase coverage by 0.22%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #942      +/-   ##
===========================================
+ Coverage    58.86%   59.08%   +0.22%     
===========================================
  Files          100      100              
  Lines         9784     9784              
===========================================
+ Hits          5759     5781      +22     
+ Misses        3476     3460      -16     
+ Partials       549      543       -6

@melekes melekes merged commit 7e3a5b7 into develop Dec 8, 2017
@melekes melekes deleted the bugfix/install-stdlib branch December 8, 2017 17:03
Cashmaney pushed a commit to scrtlabs/tendermint that referenced this pull request Aug 2, 2023
…#942)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants