Building complains about missing textflag.h

Debian jessie
ii goaccess 1:0.8.3-1 i386 log analyzer and interactive viewer for the Apache Webserver
ii golang 2:1.3.3-1 all Go programming language compiler - metapackage
ii golang-doc 2:1.3.3-1 all Go programming language compiler - documentation
ii golang-go 2:1.3.3-1 i386 Go programming language compiler
ii golang-go-linux-386 2:1.3.3-1 i386 Go standard library compiled for linux_386
ii golang-src 2:1.3.3-1 i386 Go programming language compiler - source files

Hi folks,

I’m trying to build a 32bit grafana, following the site’s building_from_source page, but I’m stuck on this error:

go run build.go setup

Version: 4.3.0-pre1, Linux Version: 4.3.0, Package Iteration: 1491612883pre1
go get -v GitHub - kardianos/govendor: Use Go Modules.
golang.org/x/sys/unix

golang.org/x/sys/unix

…/…/…/golang.org/x/sys/unix/asm_linux_386.s:8 8a: No such file or directory: textflag.h
exit status 2
exit status 1

The Debian pkgs search page confirms textflag.h is part of the goland.src, the pkg list also confirms it: /usr/share/go/src/cmd/ld/textflag.h and a ls definitely confims the presence of this file.

As I don’t know anything about go at this time I’m clueless, so could you explain me what pkg is missing or what did I do wrong ?

following the site’s building_from_source

see http://docs.grafana.org/project/building_from_source/#dependencies

Grafana requires Golang 1.8 to build.