-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
IPFS paths hard coded in build system make bootstrapping impossible without source hacking #3049
Comments
Well I feel like an idiot for not checking the HOW TO COMPLETE PORT TO DRAGONFLY BSD:
Proof that it works:
|
Problem with native build system is that any breaking change in dependency chain will break the build, also it is entry point for some vulnerabilities. Please also see #3051. We are moving away from Godeps, but it isn't fast process (we have to version locks dependencies of our dependencies using gx). |
closing as #3051 merged |
git master, DragonFly BSD, but applies to any system currently not supported
Type: bug
Area: build system
Priority: 4 for DragonFly BSD, 0 for currently supported systems
The build system currently relies on hard coded IPFS paths to precompiled tarballs of the dependencies instead of leveraging the Go language's built in system for fetching dependencies via
go get
. This results in 694 separate instances across 253 files that need to be patched out in order to bootstrap a port to a new kernel, or to build at all for said new kernel.What exactly was wrong with using
go get
to build dependencies from source? All that requires is the Go language and any linked C libraries to be ported to the new OS. Thegx
andgx-go
tools already work fine on DragonFly BSD when installed viago get -u
, for example:The dependencies appear to all be tracked via Godeps/Godeps.json as well, rendering the hard coded paths useless duplication of effort. I'm currently working on a shell script to traverse the repository and replace the IPFS links with standard
go get
imports.The text was updated successfully, but these errors were encountered: