Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upstaticcheck tried to download a broken URL #5325
Comments
This comment has been minimized.
This comment has been minimized.
|
Oops. I guess we need to have an optional build process, or convince @dominikh to add arm to the build pipeline. /cc @simonpasquier This is probably an issue for upstream Prometheus as well. I'll give the beta "transfer issue" button a try. |
SuperQ
transferred this issue from prometheus/node_exporter
Mar 10, 2019
This comment has been minimized.
This comment has been minimized.
dominikh
commented
Mar 10, 2019
|
I'd be happy to add ARM targets. Should we build for ARMv5 (which is supported by v6 and v7 platforms, too), or have one version per possible GOARM? You'd have to change the format of the URL in the latter case. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@dominikh What do you think about adding a CircleCI build/publish to go-tools? |
This comment has been minimized.
This comment has been minimized.
|
Hey thanks for quick plan for the fix! I was gonna say "pulling in binaries of the internet during Github release builds seem reviewable. E.g. https://github.com/dominikh/go-tools/releases/tag/2019.1 yet there seems to be no view of the commits since last review. |
This comment has been minimized.
This comment has been minimized.
dominikh
commented
Mar 10, 2019
I want people to run fixed releases, not master (unless they want to find issues in staticcheck), and I think I can build the odd release manually just fine ;)
There could be any code in the binary, it doesn't have to match at all what the tag says, so that requires trust. Then again, nobody reads the code of the tools they |
simonpasquier
referenced this issue
Mar 11, 2019
Merged
Makefile.common: run staticcheck for linux, freebsd and darwin only #5331
simonpasquier
closed this
in
#5331
Mar 14, 2019
This comment has been minimized.
This comment has been minimized.
|
Still seems to be broken. Re-ran make with the latest checkouts:
|
This comment has been minimized.
This comment has been minimized.
|
@alevchuk the change to |
This comment has been minimized.
This comment has been minimized.
|
@simonpasquier i'll check prometheus as well (will need to try before and after your fix, because it never saw a break in prometheus). The delay between git push and pull is usually sub-second. Can you tell me what introduces the propagation delay here? |
This comment has been minimized.
This comment has been minimized.
|
I found a workaround for my node_exporter build problem.
and remove "check_license" and "unused" from common-all line in
btw, I tried building prometheus, as requested, yet dropped it because it required "bzr" which pulls in a ton of dependencies To be honest this build was stressful. Yet, I appreciate the fast root-cause. |
This comment has been minimized.
This comment has been minimized.
|
Yes, I think someone introduced a dependency for one package that uses |
This comment has been minimized.
This comment has been minimized.
|
Re bzr being needed to build Prometheus, it is commented in the Makefile: Lines 22 to 24 in 10ec255 |
This comment has been minimized.
This comment has been minimized.
To be precise, the canonical version of |
This comment has been minimized.
This comment has been minimized.
|
@simonpasquier It seems like |
This comment has been minimized.
This comment has been minimized.
|
Unfortunately we don't control this dependency as it is pulled indirectly from
|
This comment has been minimized.
This comment has been minimized.
|
Yea, I was looking at that stack of dependencies. It looks like the latest version of |
This comment has been minimized.
This comment has been minimized.
|
Yes, sending a PR right away. |
alevchuk commentedMar 10, 2019
Host operating system: output of
uname -aLinux base 4.19.25-v7+ #1205 SMP Mon Feb 25 18:19:20 GMT 2019 armv7l GNU/Linux
node_exporter version: output of
node_exporter --versionlatest checkout of node_exporter 19e5bb6abdfbc69e9f2039485842eb3c0cf87d08
node_exporter command line flags
can't build
Are you running node_exporter in Docker?
no
What did you do that produced an error?
make
What did you expect to see?
make should succeed
What did you see instead?
seems to be there is no ARM for 2019.1 static check https://github.com/dominikh/go-tools/releases/tag/2019.1