[meta-virtualization] Building docker

Sheheryar, Muhammad Muhammad_Sheheryar at mentor.com
Tue Feb 21 23:53:10 PST 2017


Hi Peter,

Thanks for getting back. I am receiving the following error when trying to build docker

ERROR: Function failed: do_compile (log file is located at /var/mshehery/Documents/git/new_fido/poky/build/tmp/work/x86_64-poky-linux/golang-cross/1.3-r0/temp/log.do_compile.4734)
ERROR: Logfile of failure stored in: /var/mshehery/Documents/git/new_fido/poky/build/tmp/work/x86_64-poky-linux/golang-cross/1.3-r0/temp/log.do_compile.4734
Log data follows:
| DEBUG: Executing shell function do_compile
| GOARCH i586
| CC_FOR_TARGET gcc
| + set -e
| + [ ! -f run.bash ]
| + uname
| + ld --version
| + grep gold.* 2\.20
| + [ -d /selinux -a -f /selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ]
| + [ -d /sys/fs/selinux -a -f /sys/fs/selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ]
| + uname -s
| + [ Linux == GNU/kFreeBSD ]
| ./make.bash: 104: [: Linux: unexpected operator
| + rm -f ./pkg/runtime/runtime_defs.go
| + echo # Building C bootstrap tool.
| # Building C bootstrap tool.
| + echo cmd/dist
| cmd/dist
| + cd ..
| + pwd
| + export GOROOT=/var/mshehery/Documents/git/new_fido/poky/build/tmp/work/x86_64-poky-linux/golang-cross/1.3-r0/go
| + GOROOT_FINAL=/var/mshehery/Documents/git/new_fido/poky/build/tmp/sysroots/x86_64-linux/usr/lib/i586-poky-linux/go
| + DEFGOROOT=-DGOROOT_FINAL="/var/mshehery/Documents/git/new_fido/poky/build/tmp/sysroots/x86_64-linux/usr/lib/i586-poky-linux/go"
| + mflag=
| + uname
| + [ Linux == Darwin ]
| ./make.bash: 124: [: Linux: unexpected operator
| + type -t gcc
| + type -t clang
| + [ -z gcc  -a -z -t: not found
| gcc is /usr/bin/gcc -a -n -t: not found
| clang: not found ]
| + gcc -O2 -Wall -Werror -o cmd/dist/dist -Icmd/dist -DGOROOT_FINAL="/var/mshehery/Documents/git/new_fido/poky/build/tmp/sysroots/x86_64-linux/usr/lib/i586-poky-linux/go" cmd/dist/arm.c cmd/dist/buf.c cmd/dist/build.c cmd/dist/buildgc.c cmd/dist/buildgo.c cmd/dist/buildruntime.c cmd/dist/goc2c.c cmd/dist/main.c cmd/dist/plan9.c cmd/dist/unix.c cmd/dist/windows.c
| + ./cmd/dist/dist env -p
| go tool dist: unknown $GOARCH i586
| + echo FAIL=true
| + eval FAIL=true
| + FAIL=true
| + [ true = true ]
| + exit 1
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /var/mshehery/Documents/git/new_fido/poky/build/tmp/work/x86_64-poky-linux/golang-cross/1.3-r0/temp/log.do_compile.4734)
ERROR: Task 104 (/var/mshehery/Documents/git/new_fido/poky/meta-virtualization/recipes-devtools/go/golang-cross_1.3.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1617 tasks of which 1486 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /var/mshehery/Documents/git/new_fido/poky/meta-virtualization/recipes-devtools/go/golang-cross_1.3.bb, do_compile
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Regards,

Muhammad Sheheryar Qureshi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20170222/957b7540/attachment.html>


More information about the meta-virtualization mailing list