madisongh / meta-golang Goto Github PK
View Code? Open in Web Editor NEWGo language metadata layer for OpenEmbedded/Yocto Project builds
License: MIT License
Go language metadata layer for OpenEmbedded/Yocto Project builds
License: MIT License
OpenEmbedded/Yocto layer for Go language support ================================================ PLEASE NOTE: Starting with OE-Core 'rocko' (Yocto Project 2.4), Go support is available directly in OE-Core, and meta-golang is no longer under active development. Converting to OE-Core's Go support ---------------------------------- 1. Change `inherit golang` to `inherit go`. 2. Set the `S` variable, usually to `"${WORKDIR}/git"`. The `go.bbclass` does not set `S` for you. 3. Set the `GO_IMPORT` variable to the import path of the Go package being built. In most cases, this is the same as what you set `GO_SRCROOT` when using `inherit golang`. 4. Source file/path references are now based off `${B}` instead of `${B}/src`. If you used `${GO_SRCROOT}` with your meta-golang-based recipes, recplacing that with `src/${GO_IMPORT}` is usually sufficient. 5. If you used multiple repositories in your `SRC_URI` for 'vendoring' in other packages, you will need to change the `destsuffix=` parameter for the vendored packages from `${GO_SRCROOT}` to `git/src/${GO_IMPORT}`.
Apologies for my ignorance here, but I'm working with a client that
wants us to include golang in our SDK generated by bitbake, but am a
newbie to go myself. I would appreciate help figuring out my
configuration/golang-runtime problems
We have an image-based SDK that I'm having trouble getting working
with go 1.8. I've added "nativesdk-golang" to our SDK packagegroup
recipe, then added the "go-runtime" to our image recipe.
To verify these steps include go1.8 in our SDK, I installed the SDK on
my workstation and checked the
/usr/local/sdkname/sysroots/x86_64-oesdk-linux/var/lib/opkg/ directory
for files related to nativesdk-golang and nativesdk-golang-runtime.
At this point I'm having trouble. When I source my sdk environment,
navigate to my go workspace (/home/username/go), and run some variant
of go build
on a hello world program I get errors about the
runtime and standard libs not being found
my workspace
user@host:~/go$ tree
.
├── bin
├── pkg
└── src
└── subdir
└── hello
└── hello.go
my go env
user@host:~/go$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/user/go"
GORACE=""
GOROOT="/usr/local/sdk-name/sysroots/x86_64-oesdk-linux/usr/lib/go"
GOTOOLDIR="/usr/local/sdk-name/sysroots/x86_64-oesdk-linux/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="arm-oe-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp
-mfpu=neon --sysroot=/usr/local/sdk-name/sysroots/armv7a-vfp-neon-oe-linux-gnueabi"
GOGCCFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon
--sysroot=/usr/local/sdk-name/sysroots/armv7a-vfp-neon-oe-linux-gnueabi
-fPIC -m64 -pthread -fmessage-length=0
-fdebug-prefix-map=/tmp/go-build048326827=/tmp/go-build
-gno-record-gcc-switches"
CXX="arm-oe-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp
-mfpu=neon --sysroot=/usr/local/sdk-name/sysroots/armv7a-vfp-neon-oe-linux-gnueabi"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Contents of hello.go
package main
import "fmt"
func main() {
fmt.Printf("Hello, world!\n")
}
Our goal is to produce output for GOARCH=arm GOARM=7 GOOS=linux
so I change those when I try to build and get the following
user@host:~/go$ GOARCH=arm GOARM=7 go build subdir/hello
src/subdir/hello/hello.go:3:8: cannot find package "fmt" in any of:
/usr/local/sdk-name/sysroots/x86_64-oesdk-linux/usr/lib/go/src/fmt
(from $GOROOT)
/home/user/go/src/fmt (from $GOPATH)
package subdir/hello
imports math: cannot find package "math" in any of:
/usr/local/sdk-name/sysroots/x86_64-oesdk-linux/usr/lib/go/src/math
(from $GOROOT)
/home/user/go/src/math (from $GOPATH)
package subdir/hello
imports runtime: cannot find package "runtime" in any of:
/usr/local/sdk-name/sysroots/x86_64-oesdk-linux/usr/lib/go/src/runtime
(from $GOROOT)
/home/user/go/src/runtime (from $GOPATH)
My $GOROOT directory tree
user@host:/usr/local/sdk-name/sysroots/x86_64-oesdk-linux/usr/lib/go$ tree
.
├── bin
│ ├── go
│ └── gofmt
└── pkg
├── linux_amd64_dynlink
│ └── libstd.so
└── tool
└── linux_amd64
├── addr2line
├── api
├── asm
├── cgo
├── compile
├── cover
├── dist
├── doc
├── fix
├── link
├── nm
├── objdump
├── pack
├── pprof
├── trace
└── vet
Hello,
do you plane to release a Go 1.11 version ?
Best regards
When I try to compile golang on RPi I receive the following error:
"ERROR: ExpansionError during parsing /home/developer/meta-golang/recipes-test/golang-onsi/golang-onsi-ginkgo_git.bb: Failure expanding variable GO_SHLIBS_SUPPORTED, expression was ${@golang_arch_supports_shlibs(d.getVar('TARGET_GOARCH', True), d)} which triggered exception AttributeError: 'NoneType' object has no attribute 'split'"
I found that the exception arises in
meta-golang/classes/golang-osarchmap.bbclass
in sentence
if goarch in d.getVar('GO_SHLIB_ARCHS', True).split():
handling this exception in brute force solved the problem for me. Here is the patch:
--- meta-golang/classes/golang-osarchmap.bbclass.orig 2016-07-24 11:11:48.447024212 +0300
+++ meta-golang/classes/golang-osarchmap.bbclass 2016-07-24 11:01:18.759042614 +0300
@@ -38,6 +38,9 @@
return o
def golang_arch_supports_shlibs(goarch, d):
- if goarch in d.getVar('GO_SHLIB_ARCHS', True).split():
- return '1'
+ try:
+ if goarch in d.getVar('GO_SHLIB_ARCHS', True).split():
+ return '1'
+ except:
+ pass
return '0'
Pls. check and find more elegant way to overcome the genesis of this error
Regards
Hi,
I get the following errors on a clean build. However if you just build again this seems to be ignored and all is well.
ERROR: golang-cross-arm-1.6.3-r0 do_populate_sysroot_setscene: '('patchelf-uninative', '--set-interpreter', '/home/builder/workspace/project/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2', '/home/builder/workspace/project/tmp/work/x86_64-linux/golang-cross-arm/1.6.3-r0/sstate-install-populate_sysroot/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/go/bin/go')' failed with exit code 1 and the following output:
cannot find section .rela.dyn
WARNING: Logfile for failed setscene task is /home/builder/workspace/project/tmp/work/x86_64-linux/golang-cross-arm/1.6.3-r0/temp/log.do_populate_sysroot_setscene.7291
WARNING: Setscene task 673 (/home/builder/workspace/sources/meta-golang/recipes-devtools/golang/golang-cross_1.6.bb, do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead
ERROR: golang-native-1.6.3-r0 do_populate_sysroot_setscene: '('patchelf-uninative', '--set-interpreter', '/home/builder/workspace/project/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2', '/home/builder/workspace/project/tmp/work/x86_64-linux/golang-native/1.6.3-r0/sstate-install-populate_sysroot/x86_64-linux/usr/lib/go/bin/go')' failed with exit code 1 and the following output:
cannot find section .rela.dyn
WARNING: Logfile for failed setscene task is /home/builder/workspace/project/tmp/work/x86_64-linux/golang-native/1.6.3-r0/temp/log.do_populate_sysroot_setscene.12631
WARNING: Setscene task 1383 (/home/builder/workspace/sources/meta-golang/recipes-devtools/golang/golang-native_1.6.bb, do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead
At the moment golang.bbclass sets S for its recipes this way:
S_GOROOT = "${WORKDIR}/go"
S = "${S_GOROOT}/src"
But the actual sources are unpacked into ${S}/${GO_SRCROOT}
, so when you need to do something in the sources you have to use ${S}/${GO_SRCROOT}
, that includes LIC_FILES_CHKSUM
file references, any appends/prepends to do_compile()
or do_configure()
and especially annoying is the need to add patchdir=${GO_SRCROOT}
for patches in the SRC_URI
.
I think it goes against traditional OE ${S}
definition. To build the package we only need GOPATH
to be set up properly, if I understand it correctly, so we should change S
to point into ${S_GOROOT}/src/${GO_SRCROOT}
and fix current ${GO_SRCROOT}
(mis)uses.
With the release of go1.7, I think it's time to start creating branches that map to OE/Yocto releases, with a suitable default go version for each.
My plan is to use go1.6 for both jethro and krogoth, then make go1.7 the default for master. Support for go1.5 will remain present in the jethro and krogoth branches, but I'll remove it from master once the split is done.
Hi,
Would it be possible to port golang-1.9 recipe to morty? Are there any restrictions? Can I help in any sensible way?
We are stuck with yocto morty for alt least next few month but golang 1.8 is quite outdated and we more and more resorting to external builds with newer golang versions and it sucks. golang-1.9 would buy us some time.
Regards,
-Dmitri
Vendored sources are currently omitted from the do_install step that copies the package sources under ${libdir}/go/src. They should be included, at least for completeness.
Hi @madisongh,
I'm trying cross compile InfluxDB (requires go 1.7.4) for arm under Yocto 2.1.2 and would really appreciate some pointers, specifically regarding dependency management.
I've spent the last couple of days trying to compile InfluxDB using https://github.com/mem/oe-meta-go and got stuck in dependency hell. This is my current list of recipes, based on the oe-meta-go
layer:
├── recipes-extended
│ └── influxdb
│ ├── github.com-airbrake-gobrake.bb
│ ├── github.com-bmizerany-pat.bb
│ ├── github.com-boltdb-bolt.bb
│ ├── github.com-burntsushi-toml.bb
│ ├── github.com-cactus-go-statsd-client.bb
│ ├── github.com-cespare-xxhash.bb
│ ├── github.com-davecgh-go-spew.bb
│ ├── github.com-dgrijalva-jwt-go.bb
│ ├── github.com-dgryski-go-bits.bb
│ ├── github.com-dgryski-go-bitstream.bb
│ ├── github.com-gemnasium-logrus-airbrake-hook.bb
│ ├── github.com-gogo-protobuf.bb
│ ├── github.com-golang-snappy.bb
│ ├── github.com-influxdata-usage-client.bb
│ ├── github.com-jessevdk-go-flags.bb
│ ├── github.com-jwilder-encoding.bb
│ ├── github.com-paulbellamy-ratecounter.bb
│ ├── github.com-peterh-liner.bb
│ ├── github.com-rakyll-statik.bb
│ ├── github.com-retailnext-hllpp.bb
│ ├── github.com-sirupsen-logrus.bb
│ ├── github.com-stretchr-testify.bb
│ ├── github.com-uber-common-bark.bb
│ ├── github.com-uber-go-atomic.bb
│ ├── github.com-uber-go-zap.bb
│ ├── github.com-x-crypto.bb
│ └── influxdb_1.2.2.bb
Any tips to get me started would be gratefully appreciated.
I think that in line 140 this should be curpwd instead of curwpd.
I would make a pull request but I could not because of reasons.
Hi,
what should I add to build for armv5e?
Or is GOARM set to 5 in case of such a processor?
Thanks!
Jaap
Hello @madisongh
First I'd like to congrats your work on this layer. It offers a much more complete support for Golang than OE-Core currently does.
I am wondering what are your current long term plans regarding it as I think it would be good to send your improvements to OE-Core so you could share more work and also rely on Yocto Project CI and QA for it.
Are you intending to work on this?
Hello,
I get the following output from BitBake when I run bitbake golang-willeponken-testproj
:
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache...done.
Loaded 6 entries from dependency cache.
Parsing recipes...
WARNING: /home/willeponken/project/yocto/poky/meta-testing/recipes-testproj/testproj/golang-willeponken-testproj_git.bb: Exception during build_dependencies for golang_do_compile
WARNING: /home/willeponken/project/yocto/poky/meta-testing/recipes-testproj/testproj/golang-willeponken-testproj_git.bb: Error during finalise of /home/willeponken/project/yocto/poky/meta-testing/recipes-testproj/testproj/golang-willeponken-testproj_git.bb
ERROR: ExpansionError during parsing /home/willeponken/project/yocto/poky/meta-testing/recipes-testproj/testproj/golang-willeponken-testproj_git.bb: Failure expanding variable GO_SHLIBS_SUPPORTED, expression was ${@golang_arch_supports_shlibs(d.getVar('TARGET_GOARCH', True), d)} which triggered exception AttributeError: 'NoneType' object has no attribute 'split'
WARNING: /home/willeponken/project/yocto/poky/meta-golang/recipes-test/golang-smartystreets/golang-smartystreets-goconvey_git.bb: Exception during build_dependencies for CGO_ENABLED
WARNING: /home/willeponken/project/yocto/poky/meta-golang/recipes-test/golang-smartystreets/golang-smartystreets-goconvey_git.bb: Error during finalise of /home/willeponken/project/yocto/poky/meta-golang/recipes-test/golang-smartystreets/golang-smartystreets-goconvey_git.bb
WARNING: /home/willeponken/project/yocto/poky/meta-golang/recipes-test/golang-stretchr/golang-stretchr-testify_git.bb: Exception during build_dependencies for CGO_ENABLED
WARNING: /home/willeponken/project/yocto/poky/meta-golang/recipes-test/golang-stretchr/golang-stretchr-testify_git.bb: Error during finalise of /home/willeponken/project/yocto/poky/meta-golang/recipes-test/golang-stretchr/golang-stretchr-testify_git.bb
Summary: There were 7 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Does this error occur because TARGET_GOARCH
is not set?
Failure expanding variable GO_SHLIBS_SUPPORTED, expression was ${@golang_arch_supports_shlibs(d.getVar('TARGET_GOARCH', True), d)} which triggered exception AttributeError: 'NoneType' object has no attribute 'split
golang-willeponken-testproj_git.bb
:
SUMMARY = "Just a test project"
LICENSE = "CLOSED"
HOMEPAGE = "https://gitlab.com/willeponken/testproj"
SRC_URI = "git://[email protected]/testproj.git;protocol=ssh"
SRCREV = "${AUTOREV}"
PV="2.0-alpha${SRCPV}"
GO_SRCROOT = "gitlab.com/willeponken/testproj"
inherit golang
I had the same error in /recipes-test/golang-onsi/golang-onsi-gomega_git.bb
, but then I tried to remove tmp
and clean up with bitbake -fc cleanall golang-willeponken-testproj
and it shifted to the recipe above instead.
Any ideas what's wrong?
Would it be possible to include golang 1.12 into this project? We are particularly interested in adding it to morty
branch? Can we offer a bounty in order to give it a priority?
For a piece of code I Found that the binary was not stripped. Doing it by hand created a much smaller file which still worked.
What should I do to automate this?
Thanks!
Hello,
we have a ARM GO project which is builded by meta-goland (it means inherit golang
).
When I make SDK by command bitbake -c popolate_sdk <our_os_image>
there in SDK are missing directories go/src, go/pkg/include ...
Due to nobody can build GO project using our SDK.
Please, fix behaving of meta-golang for using populate_sdk command.
At the moment README explicitly tells us:
Package dependencies are specified in recipes. By default,
packages use AUTOREV floating revisions, but you can lock down
specific versions using SRCREV overrides for packages you include
in your build.
But in my opinion that's questionable practice. There is an obvious positive side of AUTOREV in that you're free from manual SRCREV bumps whenever something updates, and that also matches the default behaviour of go get
, but this default leads to build instability, which is very dangerous. IMO any real build will need to pick some particular SRCREVs (to be stable), and telling everyone that you need to pick one makes using this layer a bit harder (and again dangerous, as it's easy to miss some packages).
Also, this makes layer itself unstable, because packages do change and may introduce new dependencies or changes that will break the recipe, so it can compile today and break tomorrow without any change in the layer.
Had these issues been considered or are there any other reasons for AUTOREV?
Hi All,
not really an issue...
Is there a common place to put recipes for packages build with go?
Thanks!
Jaap
This is built on Ubuntu 14.04.
ERROR: Logfile of failure stored in: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang/1.9-r0/temp/log.do_compile.31397
Log data follows:
| DEBUG: Executing shell function do_compile
| ##### Building Go bootstrap tool.
| cmd/dist
|
| ##### Building Go toolchain using /home/alee/git/new-troy/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/go.
| bootstrap/cmd/internal/dwarf
| bootstrap/cmd/internal/objabi
| bootstrap/cmd/internal/src
| bootstrap/cmd/internal/sys
| bootstrap/cmd/asm/internal/flags
| bootstrap/cmd/internal/bio
| bootstrap/math/bits
| bootstrap/cmd/internal/gcprog
| bootstrap/debug/pe
| bootstrap/math/big
| bootstrap/cmd/compile/internal/syntax
| bootstrap/cmd/internal/obj
| bootstrap/cmd/asm/internal/lex
| bootstrap/cmd/link/internal/ld
| bootstrap/cmd/internal/obj/arm
| bootstrap/cmd/internal/obj/arm64
| bootstrap/cmd/internal/obj/mips
| bootstrap/cmd/internal/obj/ppc64
| bootstrap/cmd/internal/obj/s390x
| bootstrap/cmd/internal/obj/x86
| bootstrap/cmd/compile/internal/types
| bootstrap/cmd/asm/internal/arch
| bootstrap/cmd/compile/internal/ssa
| bootstrap/cmd/asm/internal/asm
| bootstrap/cmd/asm
| bootstrap/cmd/link/internal/amd64
| bootstrap/cmd/link/internal/mips
| bootstrap/cmd/link/internal/arm64
| bootstrap/cmd/link/internal/mips64
| bootstrap/cmd/link/internal/ppc64
| bootstrap/cmd/link/internal/arm
| bootstrap/cmd/link/internal/s390x
| bootstrap/cmd/link/internal/x86
| bootstrap/cmd/link
| bootstrap/cmd/compile/internal/gc
| bootstrap/cmd/compile/internal/amd64
| bootstrap/cmd/compile/internal/arm
| bootstrap/cmd/compile/internal/arm64
| bootstrap/cmd/compile/internal/mips
| bootstrap/cmd/compile/internal/mips64
| bootstrap/cmd/compile/internal/ppc64
| bootstrap/cmd/compile/internal/s390x
| bootstrap/cmd/compile/internal/x86
| bootstrap/cmd/compile
|
| ##### Building go_bootstrap for host, linux/amd64.
| runtime/internal/sys
| runtime/internal/atomic
| runtime
| internal/cpu
| internal/syscall/windows/sysdll
| unicode/utf8
| internal/race
| unicode
| unicode/utf16
| sync/atomic
| encoding
| math/bits
| errors
| math
| sync
| internal/singleflight
| syscall
| io
| hash
| cmd/go/internal/web
| hash/adler32
| bytes
| strings
| strconv
| bufio
| path
| encoding/base64
| reflect
| crypto
| crypto/sha1
| internal/syscall/windows
| internal/syscall/windows/registry
| time
| internal/poll
| os
| encoding/binary
| sort
| os/signal
| fmt
| regexp/syntax
| container/heap
| path/filepath
| io/ioutil
| context
| debug/dwarf
| encoding/xml
| text/template/parse
| cmd/go/internal/str
| go/token
| compress/flate
| flag
| log
| encoding/json
| net/url
| regexp
| go/scanner
| os/exec
| cmd/internal/objabi
| go/ast
| compress/zlib
| text/template
| debug/macho
| debug/elf
| go/parser
| go/doc
| go/build
| cmd/go/internal/cfg
| cmd/go/internal/buildid
| cmd/go/internal/base
| cmd/go/internal/cmdflag
| cmd/go/internal/load
| cmd/go/internal/tool
| cmd/go/internal/version
| cmd/go/internal/doc
| cmd/go/internal/help
| cmd/go/internal/fmtcmd
| cmd/go/internal/work
| cmd/go/internal/fix
| cmd/go/internal/get
| cmd/go/internal/list
| cmd/go/internal/vet
| cmd/go/internal/envcmd
| cmd/go/internal/generate
| cmd/go/internal/run
| cmd/go/internal/test
| cmd/go/internal/clean
| cmd/go/internal/bug
| cmd/go
| runtime (linux/arm64)
|
| ##### Building packages and commands for host, linux/amd64.
| runtime/internal/sys
| runtime/internal/atomic
| runtime
| errors
| internal/race
| internal/cpu
| sync/atomic
| unicode
| unicode/utf8
| container/list
| math/bits
| container/ring
| crypto/subtle
| crypto/internal/cipherhw
| math
| internal/nettrace
| vendor/golang_org/x/crypto/poly1305
| vendor/golang_org/x/crypto/curve25519
| encoding
| unicode/utf16
| sync
| image/color
| internal/syscall/windows
| internal/syscall/windows/registry
| internal/syscall/windows/sysdll
| runtime/race
| vendor/golang_org/x/text/secure
| vendor/golang_org/x/text/unicode
| cmd/compile/internal/test
| cmd/vet/internal/whitelist
| io
| internal/singleflight
| syscall
| image/color/palette
| bytes
| runtime/trace
| hash
| crypto/cipher
| strings
| hash/adler32
| hash/crc32
| crypto/hmac
| hash/crc64
| hash/fnv
| text/tabwriter
| bufio
| vendor/golang_org/x/text/transform
| path
| html
| time
| internal/syscall/unix
| strconv
| math/rand
| math/cmplx
| crypto
| crypto/rc4
| reflect
| encoding/base64
| crypto/aes
| cmd/internal/src
| encoding/ascii85
| crypto/sha512
| crypto/md5
| crypto/sha1
| internal/poll
| crypto/sha256
| encoding/base32
| image
| os
| image/internal/imageutil
| image/draw
| image/jpeg
| os/signal
| fmt
| sort
| encoding/binary
| path/filepath
| regexp/syntax
| compress/bzip2
| container/heap
| encoding/pem
| runtime/debug
| cmd/internal/sys
| crypto/des
| vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
| io/ioutil
| log
| compress/flate
| debug/dwarf
| flag
| debug/gosym
| debug/plan9obj
| cmd/vendor/golang.org/x/arch/arm/armasm
| cmd/vendor/golang.org/x/arch/ppc64/ppc64asm
| cmd/vendor/golang.org/x/arch/x86/x86asm
| regexp
| archive/tar
| cmd/internal/objabi
| compress/lzw
| compress/zlib
| archive/zip
| debug/macho
| debug/pe
| debug/elf
| compress/gzip
| cmd/internal/goobj
| context
| math/big
| encoding/hex
| go/token
| os/exec
| vendor/golang_org/x/crypto/chacha20poly1305
| go/scanner
| database/sql/driver
| encoding/csv
| encoding/gob
| encoding/json
| encoding/xml
| database/sql
| vendor/golang_org/x/net/http2/hpack
| cmd/internal/objfile
| go/ast
| vendor/golang_org/x/text/unicode/bidi
| vendor/golang_org/x/text/unicode/norm
| cmd/addr2line
| crypto/dsa
| crypto/elliptic
| encoding/asn1
| crypto/rand
| net/url
| vendor/golang_org/x/text/secure/bidirule
| mime
| crypto/rsa
| go/parser
| crypto/x509/pkix
| go/printer
| crypto/ecdsa
| mime/quotedprintable
| net/http/internal
| text/template/parse
| go/constant
| text/scanner
| image/gif
| vendor/golang_org/x/net/idna
| image/png
| index/suffixarray
| testing
| internal/trace
| go/types
| cmd/cgo
| text/template
| go/format
| runtime/pprof
| net/internal/socktest
| internal/testenv
| runtime/pprof/internal/profile
| testing/iotest
| testing/quick
| cmd/internal/dwarf
| testing/internal/testdeps
| cmd/asm/internal/flags
| cmd/internal/bio
| cmd/compile/internal/syntax
| cmd/asm/internal/lex
| cmd/internal/gcprog
| go/doc
| html/template
| cmd/internal/obj
| cmd/internal/browser
| cmd/dist
| cmd/fix
| go/build
| cmd/go/internal/str
| cmd/internal/obj/arm
| cmd/internal/obj/arm64
| runtime/cgo
| cmd/internal/obj/mips
| cmd/internal/obj/ppc64
| go/internal/gccgoimporter
| go/internal/gcimporter
| go/internal/srcimporter
| cmd/api
| cmd/internal/obj/s390x
| cmd/internal/obj/x86
| cmd/compile/internal/types
| go/importer
| cmd/cover
| cmd/doc
| cmd/go/internal/cfg
| cmd/gofmt
| cmd/go/internal/base
| cmd/go/internal/buildid
| cmd/link/internal/ld
| cmd/go/internal/load
| cmd/asm/internal/arch
| cmd/compile/internal/ssa
| net
| os/user
| plugin
| cmd/asm/internal/asm
| cmd/go/internal/work
| cmd/go/internal/doc
| cmd/go/internal/fix
| cmd/go/internal/fmtcmd
| cmd/go/internal/help
| cmd/asm
| cmd/go/internal/cmdflag
| cmd/go/internal/tool
| cmd/go/internal/version
| cmd/nm
| cmd/objdump
| cmd/go/internal/envcmd
| cmd/go/internal/clean
| cmd/go/internal/generate
| cmd/go/internal/list
| cmd/go/internal/run
| cmd/go/internal/test
| cmd/go/internal/vet
| cmd/pack
| cmd/vendor/github.com/google/pprof/internal/elfexec
| cmd/link/internal/amd64
| cmd/link/internal/arm
| cmd/link/internal/arm64
| cmd/link/internal/mips
| cmd/link/internal/mips64
| cmd/link/internal/ppc64
| cmd/link/internal/s390x
| cmd/link/internal/x86
| cmd/vendor/github.com/google/pprof/profile
| cmd/vendor/github.com/ianlancetaylor/demangle
| cmd/vendor/github.com/google/pprof/third_party/svg
| cmd/vendor/github.com/google/pprof/internal/proftest
| cmd/link
| cmd/vet/internal/cfg
| cmd/vet
| cmd/vendor/github.com/google/pprof/internal/plugin
| cmd/vendor/github.com/google/pprof/internal/measurement
| cmd/vendor/github.com/google/pprof/internal/binutils
| cmd/vendor/github.com/google/pprof/internal/symbolz
| crypto/x509
| vendor/golang_org/x/net/lex/httplex
| vendor/golang_org/x/net/proxy
| net/textproto
| log/syslog
| vendor/golang_org/x/net/nettest
| cmd/vendor/github.com/google/pprof/internal/graph
| mime/multipart
| net/mail
| crypto/tls
| cmd/vendor/github.com/google/pprof/internal/report
| net/http/httptrace
| net/smtp
| net/http
| expvar
| net/http/cgi
| net/http/cookiejar
| net/http/httptest
| net/http/httputil
| net/http/pprof
| net/rpc
| cmd/go/internal/web
| net/http/fcgi
| cmd/vendor/github.com/google/pprof/internal/symbolizer
| cmd/trace
| cmd/go/internal/bug
| cmd/go/internal/get
| cmd/vendor/github.com/google/pprof/internal/driver
| net/rpc/jsonrpc
| cmd/go
| cmd/vendor/github.com/google/pprof/driver
| cmd/pprof
| cmd/compile/internal/gc
| cmd/compile/internal/amd64
| cmd/compile/internal/arm
| cmd/compile/internal/arm64
| cmd/compile/internal/mips
| cmd/compile/internal/mips64
| cmd/compile/internal/ppc64
| cmd/compile/internal/s390x
| cmd/compile/internal/x86
| cmd/compile
|
| ##### Building packages and commands for linux/arm64.
| runtime/internal/sys
| runtime/internal/atomic
| runtime
| errors
| sync/atomic
| unicode
| internal/race
| unicode/utf8
| math
| container/list
| math/bits
| container/ring
| crypto/subtle
| crypto/internal/cipherhw
| sync
| internal/nettrace
| runtime/cgo
| encoding
| unicode/utf16
| image/color
| io
| syscall
| internal/singleflight
| internal/cpu
| image/color/palette
| strconv
| math/rand
| internal/syscall/windows
| internal/syscall/windows/registry
| internal/syscall/windows/sysdll
| math/cmplx
| runtime/race
| vendor/golang_org/x/text/secure
| vendor/golang_org/x/text/unicode
| cmd/compile/internal/test
| cmd/vet/internal/whitelist
| bytes
| strings
| hash
| crypto/cipher
| runtime/trace
| hash/adler32
| hash/crc32
| crypto/hmac
| reflect
| cmd/internal/src
| crypto
| crypto/aes
| crypto/sha512
| bufio
| path
| text/tabwriter
| time
| crypto/md5
| internal/syscall/unix
| crypto/rc4
| crypto/sha1
| crypto/sha256
| encoding/base64
| encoding/ascii85
| encoding/base32
| vendor/golang_org/x/text/transform
| hash/crc64
| hash/fnv
| html
| image
| internal/poll
| os
| plugin
| image/internal/imageutil
| image/draw
| image/jpeg
| os/signal
| fmt
| sort
| encoding/binary
| path/filepath
| regexp/syntax
| compress/bzip2
| container/heap
| encoding/pem
| cmd/internal/sys
| crypto/des
| vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
| vendor/golang_org/x/crypto/poly1305
| vendor/golang_org/x/crypto/curve25519
| runtime/debug
| io/ioutil
| vendor/golang_org/x/crypto/chacha20poly1305
| flag
| log
| debug/dwarf
| compress/flate
| debug/gosym
| debug/plan9obj
| cmd/vendor/golang.org/x/arch/arm/armasm
| cmd/vendor/golang.org/x/arch/x86/x86asm
| cmd/vendor/golang.org/x/arch/ppc64/ppc64asm
| cmd/internal/objabi
| cmd/internal/goobj
| regexp
| archive/tar
| compress/zlib
| archive/zip
| compress/gzip
| compress/lzw
| debug/macho
| debug/pe
| debug/elf
| context
| math/big
| encoding/hex
| encoding/csv
| encoding/gob
| encoding/json
| net
| database/sql/driver
| encoding/xml
| vendor/golang_org/x/net/http2/hpack
| cmd/internal/objfile
| database/sql
| vendor/golang_org/x/text/unicode/bidi
| vendor/golang_org/x/text/unicode/norm
| crypto/dsa
| crypto/elliptic
| encoding/asn1
| crypto/rand
| net/url
| cmd/addr2line
| vendor/golang_org/x/text/secure/bidirule
| mime
| mime/quotedprintable
| crypto/rsa
| net/http/internal
| go/token
| crypto/ecdsa
| crypto/x509/pkix
| vendor/golang_org/x/net/idna
| text/template/parse
| go/scanner
| go/constant
| os/exec
| text/scanner
| go/ast
| image/gif
| image/png
| text/template
| index/suffixarray
| testing
| internal/trace
| runtime/pprof
| net/internal/socktest
| os/user
| internal/testenv
| go/parser
| go/printer
| go/doc
| html/template
| runtime/pprof/internal/profile
| testing/internal/testdeps
| testing/iotest
| testing/quick
| go/types
| go/format
| go/build
| cmd/internal/dwarf
| cmd/asm/internal/flags
| cmd/internal/bio
| cmd/asm/internal/lex
| cmd/internal/obj
| cmd/cgo
| cmd/compile/internal/syntax
| crypto/x509
| vendor/golang_org/x/net/lex/httplex
| vendor/golang_org/x/net/proxy
| net/textproto
| log/syslog
| vendor/golang_org/x/net/nettest
| mime/multipart
| crypto/tls
| net/mail
| cmd/internal/obj/arm
| cmd/internal/obj/arm64
| cmd/internal/obj/mips
| cmd/internal/obj/ppc64
| go/internal/gccgoimporter
| go/internal/gcimporter
| go/internal/srcimporter
| cmd/api
| cmd/internal/obj/s390x
| cmd/internal/obj/x86
| cmd/compile/internal/types
| go/importer
| cmd/internal/gcprog
| cmd/internal/browser
| cmd/dist
| net/http/httptrace
| net/smtp
| cmd/cover
| net/http
| cmd/doc
| cmd/fix
| cmd/go/internal/cfg
| cmd/go/internal/str
| cmd/go/internal/base
| cmd/go/internal/buildid
| cmd/go/internal/doc
| cmd/go/internal/load
| cmd/go/internal/help
| cmd/asm/internal/arch
| cmd/compile/internal/ssa
| cmd/go/internal/cmdflag
| cmd/go/internal/tool
| cmd/go/internal/work
| cmd/asm/internal/asm
| cmd/go/internal/fix
| cmd/go/internal/fmtcmd
| cmd/go/internal/version
| cmd/gofmt
| cmd/link/internal/ld
| cmd/nm
| cmd/objdump
| cmd/asm
| cmd/go/internal/envcmd
| cmd/go/internal/clean
| cmd/go/internal/generate
| cmd/go/internal/list
| expvar
| net/http/cgi
| net/http/cookiejar
| net/http/httptest
| net/http/httputil
| net/http/pprof
| net/rpc
| net/http/fcgi
| cmd/go/internal/web
| cmd/go/internal/run
| cmd/go/internal/test
| cmd/go/internal/vet
| cmd/pack
| cmd/go/internal/bug
| cmd/go/internal/get
| cmd/vendor/github.com/google/pprof/internal/elfexec
| cmd/vendor/github.com/google/pprof/profile
| net/rpc/jsonrpc
| cmd/vendor/github.com/ianlancetaylor/demangle
| cmd/vendor/github.com/google/pprof/third_party/svg
| cmd/vendor/github.com/google/pprof/internal/proftest
| cmd/vet/internal/cfg
| cmd/go
| cmd/link/internal/amd64
| cmd/link/internal/arm64
| cmd/link/internal/arm
| cmd/link/internal/mips
| cmd/link/internal/mips64
| cmd/link/internal/ppc64
| cmd/link/internal/s390x
| cmd/link/internal/x86
| cmd/vendor/github.com/google/pprof/internal/plugin
| cmd/vendor/github.com/google/pprof/internal/measurement
| cmd/vendor/github.com/google/pprof/internal/symbolz
| cmd/trace
| cmd/vet
| cmd/vendor/github.com/google/pprof/internal/binutils
| cmd/vendor/github.com/google/pprof/internal/graph
| cmd/link
| cmd/vendor/github.com/google/pprof/internal/symbolizer
| cmd/vendor/github.com/google/pprof/internal/report
| cmd/vendor/github.com/google/pprof/internal/driver
| # cmd/go
| /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang/1.9-r0/go/pkg/tool/linux_amd64/link: running aarch64-oe-linux-gcc failed: exit status 1
| /home/alee/git/new-troy/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/4.9.3/ld: error: /tmp/go-link-400795199/go.o: unsupported reloc 547 against local symbol
| /home/alee/git/new-troy/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/4.9.3/ld: error: /tmp/go-link-400795199/go.o: unsupported reloc 547 against local symbol
| /usr/lib64/go/src/runtime/tls_arm64.s:21: error: cannot relocate invalid reloc 547 in object file
| /usr/lib64/go/src/runtime/tls_arm64.s:38: error: cannot relocate invalid reloc 547 in object file
| collect2: error: ld returned 1 exit status
|
| cmd/vendor/github.com/google/pprof/driver
| cmd/pprof
| # cmd/trace
| /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang/1.9-r0/go/pkg/tool/linux_amd64/link: running aarch64-oe-linux-gcc failed: exit status 1
| /home/alee/git/new-troy/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/4.9.3/ld: error: /tmp/go-link-692970365/go.o: unsupported reloc 547 against local symbol
| /home/alee/git/new-troy/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/4.9.3/ld: error: /tmp/go-link-692970365/go.o: unsupported reloc 547 against local symbol
| /usr/lib64/go/src/runtime/tls_arm64.s:21: error: cannot relocate invalid reloc 547 in object file
| /usr/lib64/go/src/runtime/tls_arm64.s:38: error: cannot relocate invalid reloc 547 in object file
| collect2: error: ld returned 1 exit status
|
| # cmd/pprof
| /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang/1.9-r0/go/pkg/tool/linux_amd64/link: running aarch64-oe-linux-gcc failed: exit status 1
| /home/alee/git/new-troy/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/4.9.3/ld: error: /tmp/go-link-765171668/go.o: unsupported reloc 547 against local symbol
| /home/alee/git/new-troy/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/4.9.3/ld: error: /tmp/go-link-765171668/go.o: unsupported reloc 547 against local symbol
| /usr/lib64/go/src/runtime/tls_arm64.s:21: error: cannot relocate invalid reloc 547 in object file
| /usr/lib64/go/src/runtime/tls_arm64.s:38: error: cannot relocate invalid reloc 547 in object file
| collect2: error: ld returned 1 exit status
|
| cmd/compile/internal/gc
| cmd/compile/internal/amd64
| cmd/compile/internal/arm
| cmd/compile/internal/mips64
| cmd/compile/internal/arm64
| cmd/compile/internal/mips
| cmd/compile/internal/ppc64
| cmd/compile/internal/s390x
| cmd/compile/internal/x86
| cmd/compile
| WARNING: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang/1.9-r0/temp/run.do_compile.31397:1 exit 2 from
| CC="gcc" ./make.bash
| ERROR: Function failed: do_compile (log file is located at /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang/1.9-r0/temp/log.do_compile.31397)
ERROR: Task 6 (/home/alee/git/new-troy/poky/meta-golang/recipes-devtools/golang/golang_1.9.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 542 tasks of which 522 didn't need to be rerun and 1 failed.
No currently running tasks (542 of 549)
Summary: 1 task failed:
/home/alee/git/new-troy/poky/meta-golang/recipes-devtools/golang/golang_1.9.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.```
can you please add to the README file the recommended way of selecting the go version?
Hi, I upgraded binutils to 2.29 and the golang recipe built successfully.
But golang-goprotobuf failed because bitbake was not looking at the right place for the LICENSE file. For example, LICENSE file is in tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/git
, but it is looking in tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/golang-x-sys-1.0+gitAUTOINC+bb24a47a89/golang.org/x/sys
. tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/golang-x-sys-1.0+gitAUTOINC+bb24a47a89
exists but is an empty directory.
Build log of bitbake -v golang-goprotobuf
:
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "apq8053"
DISTRO = "msm"
DISTRO_VERSION = "201708311252"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
PRODUCT = "base"
meta-axon = "develop:b7fbaaa8622fb085d330139a5658c747894eb9e4"
meta-qti-display-prop
meta-qti-drones-prop
meta-qti-location-prop
meta-qti-bsp-prop
meta-qti-location
meta-qti-drones
meta-qti-display
meta-qti-bsp = "develop:a59f31696ea8c81391b7cb71af3728870b287bdd"
meta-golang = "master:0c0ba8981969171b99e9735822de1508f3d6035e"
meta-selinux
meta = "develop:a59f31696ea8c81391b7cb71af3728870b287bdd"
meta-go = "master:514b2a80a2a4235687e92fb28328bb3e7c2d6c74"
NOTE: Preparing RunQueue
NOTE: Marking Active Tasks
NOTE: Pruned 1859 inactive tasks, 575 left
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
+ cd /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/golang-x-sys-1.0+gitAUTOINC+bb24a47a89
+ do_configure
+ base_do_configure
+ '[' -n /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate -a -e /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate ']'
++ cat /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate
+ '[' 0 '!=' 0 ']'
+ '[' -n /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate ']'
+ echo 0
+ ret=0
+ trap '' 0
+ exit 0
NOTE: Checking autotools environment for common misconfiguration
ERROR: Function failed: golang-x-sys: LIC_FILES_CHKSUM points to an invalid file: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/golang-x-sys-1.0+gitAUTOINC+bb24a47a89/golang.org/x/sys/LICENSE
ERROR: Logfile of failure stored in: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/temp/log.do_configure.26478
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| + cd /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/golang-x-sys-1.0+gitAUTOINC+bb24a47a89
| + do_configure
| + base_do_configure
|
| + cd /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/golang-x-sys-1.0+gitAUTOINC+bb24a47a89
| + do_configure
| + base_do_configure
| + '[' -n /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate -a -e /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate ']'
| ++ cat /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate
|
| + '[' -n /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate -a -e /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate ']'
| ++ cat /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate
| + '[' 0 '!=' 0 ']'
|
| + '[' 0 '!=' 0 ']'
| + '[' -n /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate ']'
| + echo 0
| + ret=0
| + trap '' 0
| + exit 0
|
| + '[' -n /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/configure.sstate ']'
| + echo 0
| + ret=0
| + trap '' 0
| + exit 0
| DEBUG: Shell function do_configure finished
| DEBUG: Executing python function do_qa_configure
| NOTE: Checking autotools environment for common misconfiguration
| DEBUG: Python function do_qa_configure finished
| ERROR: Function failed: golang-x-sys: LIC_FILES_CHKSUM points to an invalid file: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-sys/1.0+gitAUTOINC+bb24a47a89-r0/golang-x-sys-1.0+gitAUTOINC+bb24a47a89/golang.org/x/sys/LICENSE
ERROR: Task 470 (/home/alee/git/new-troy/poky/meta-golang/recipes-devtools/golang-x/golang-x-sys_git.bb, do_configure) failed with exit code '1'
+ cd /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-text/1.0+gitAUTOINC+e113a52b01+2d19ab38fa-r0/golang-x-text-1.0+gitAUTOINC+e113a52b01+2d19ab38fa
+ do_configure
NOTE: Checking autotools environment for common misconfiguration
ERROR: Function failed: golang-x-text: LIC_FILES_CHKSUM points to an invalid file: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-text/1.0+gitAUTOINC+e113a52b01+2d19ab38fa-r0/golang-x-text-1.0+gitAUTOINC+e113a52b01+2d19ab38fa/golang.org/x/text/LICENSE
ERROR: Logfile of failure stored in: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-text/1.0+gitAUTOINC+e113a52b01+2d19ab38fa-r0/temp/log.do_configure.26487
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| + cd /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-text/1.0+gitAUTOINC+e113a52b01+2d19ab38fa-r0/golang-x-text-1.0+gitAUTOINC+e113a52b01+2d19ab38fa
| + do_configure
|
| + cd /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-text/1.0+gitAUTOINC+e113a52b01+2d19ab38fa-r0/golang-x-text-1.0+gitAUTOINC+e113a52b01+2d19ab38fa
| + do_configure
| DEBUG: Shell function do_configure finished
| DEBUG: Executing python function do_qa_configure
| NOTE: Checking autotools environment for common misconfiguration
| DEBUG: Python function do_qa_configure finished
| ERROR: Function failed: golang-x-text: LIC_FILES_CHKSUM points to an invalid file: /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-x-text/1.0+gitAUTOINC+e113a52b01+2d19ab38fa-r0/golang-x-text-1.0+gitAUTOINC+e113a52b01+2d19ab38fa/golang.org/x/text/LICENSE
NOTE: Checking has /home/alee/git/new-troy/poky/build/tmp-glibc/work/aarch64-oe-linux/golang-goprotobuf/1.0+gitAUTOINC+98fa357170-r0/golang-goprotobuf-1.0+gitAUTOINC+98fa357170 been created
ERROR: Task 332 (/home/alee/git/new-troy/poky/meta-golang/recipes-devtools/golang-x/golang-x-text_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 538 tasks of which 532 didn't need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:
Summary: 2 tasks failed:
/home/alee/git/new-troy/poky/meta-golang/recipes-devtools/golang-x/golang-x-sys_git.bb, do_configure
/home/alee/git/new-troy/poky/meta-golang/recipes-devtools/golang-x/golang-x-text_git.bb, do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.