Re: [Nix-dev] For go-wizards: Building the geth using buildGoPackage

2017-04-26 Thread Profpatsch
On 17-04-26 12:18pm, Sergey Mironov wrote: > Upstream maintainer pointed out to > https://github.com/golang/go/issues/14669 problem. I've tried adding > > preBuild='' > export CGO_CFLAGS='-O0' > ''; > > without success.. You will have to poke a bit. I’d read the definition of `buildGoPackage`

Re: [Nix-dev] For go-wizards: Building the geth using buildGoPackage

2017-04-26 Thread Sergey Mironov
I recently tried to upgrade the go compiler up to 1.8 by cherry-picking all related commits. The error now looks like the following: # github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid cgo-dwarf-inference:2:8: error: enumerator value for '__cgo_enum__0' is not an integer constant cgo-

Re: [Nix-dev] For go-wizards: Building the geth using buildGoPackage

2017-04-20 Thread Profpatsch
On 17-04-19 09:50pm, Sergey Mironov wrote: > building the geth I had a short fear of sentinent AI robots, but it’s (just?) a go package. > # github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid > go/src/github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid/wchar.go:44:8: > erro

[Nix-dev] For go-wizards: Building the geth using buildGoPackage

2017-04-19 Thread Sergey Mironov
Hi. I'm trying to build the latest version of the geth package. Unfortunately, the current (v1.3.0) expression doesn't work anymore, so I tried to use the buildGoPackage function. The build process starts but the compiler issues errors listed below, all regarding github.com/karalade/hid dependency.