All of lore.kernel.org
 help / color / mirror / Atom feed
* Building docker.
@ 2017-02-16  7:20 Sheheryar, Muhammad
  2017-02-16 18:03 ` Peter Spierenburg
  0 siblings, 1 reply; 5+ messages in thread
From: Sheheryar, Muhammad @ 2017-02-16  7:20 UTC (permalink / raw)
  To: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

Hi,


I am trying to build docker in yocto project (fido). For this I have added the 'fido' branch of meta-virtualization layer and its dependencies. However, the build is failing because the do_compile function for go cross-complier is failing. Can you help me with this issue?


Regards,


Muhammad Sheheryar Qureshi

[-- Attachment #2: Type: text/html, Size: 738 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building docker.
  2017-02-16  7:20 Building docker Sheheryar, Muhammad
@ 2017-02-16 18:03 ` Peter Spierenburg
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Spierenburg @ 2017-02-16 18:03 UTC (permalink / raw)
  To: Sheheryar, Muhammad, meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

Can you be more specific about your issue Muhammad? Perhaps include the text of the error message you are receiving?


Peter.


________________________________
From: meta-virtualization-bounces@yoctoproject.org <meta-virtualization-bounces@yoctoproject.org> on behalf of Sheheryar, Muhammad <Muhammad_Sheheryar@mentor.com>
Sent: February 16, 2017 3:20:50 AM
To: meta-virtualization@yoctoproject.org
Subject: [meta-virtualization] Building docker.


Hi,


I am trying to build docker in yocto project (fido). For this I have added the 'fido' branch of meta-virtualization layer and its dependencies. However, the build is failing because the do_compile function for go cross-complier is failing. Can you help me with this issue?


Regards,


Muhammad Sheheryar Qureshi

[-- Attachment #2: Type: text/html, Size: 1698 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building docker
  2017-02-27  0:59 ` M. Asselstine
@ 2017-02-27  6:49   ` Sheheryar, Muhammad
  0 siblings, 0 replies; 5+ messages in thread
From: Sheheryar, Muhammad @ 2017-02-27  6:49 UTC (permalink / raw)
  To: M. Asselstine; +Cc: meta-virtualization

Hi,

I am using Ubuntu 16.04 and the fido branch of yocto project for building docker.

Regards,

Muhammad Sheheryar Qureshi
________________________________________
From: asselsm@gmail.com <asselsm@gmail.com> on behalf of M. Asselstine <asselsm@mcmaster.ca>
Sent: Monday, February 27, 2017 5:59 AM
To: Sheheryar, Muhammad
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [meta-virtualization] Building docker

On Wed, Feb 22, 2017 at 2:53 AM, Sheheryar, Muhammad
<Muhammad_Sheheryar@mentor.com> wrote:
> 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

What OS and version as you using as the build host?

Regards,
Mark

> | + 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
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building docker
  2017-02-22  7:53 Sheheryar, Muhammad
@ 2017-02-27  0:59 ` M. Asselstine
  2017-02-27  6:49   ` Sheheryar, Muhammad
  0 siblings, 1 reply; 5+ messages in thread
From: M. Asselstine @ 2017-02-27  0:59 UTC (permalink / raw)
  To: Sheheryar, Muhammad; +Cc: meta-virtualization

On Wed, Feb 22, 2017 at 2:53 AM, Sheheryar, Muhammad
<Muhammad_Sheheryar@mentor.com> wrote:
> 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

What OS and version as you using as the build host?

Regards,
Mark

> | + 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
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Building docker
@ 2017-02-22  7:53 Sheheryar, Muhammad
  2017-02-27  0:59 ` M. Asselstine
  0 siblings, 1 reply; 5+ messages in thread
From: Sheheryar, Muhammad @ 2017-02-22  7:53 UTC (permalink / raw)
  To: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 3046 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 6960 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-27  6:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16  7:20 Building docker Sheheryar, Muhammad
2017-02-16 18:03 ` Peter Spierenburg
2017-02-22  7:53 Sheheryar, Muhammad
2017-02-27  0:59 ` M. Asselstine
2017-02-27  6:49   ` Sheheryar, Muhammad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.