[meta-virtualization] [krogoth] Golang errors when building Docker

Fabio Berton fabio.berton at ossystems.com.br
Thu Jun 9 05:47:48 PDT 2016


Hi all!

I'm getting some errors when building Docker. First, go-cross and go-native
print these messages:

-----------------------------------------------------------------------
ERROR: go-cross-1.5.2-r0 do_populate_sysroot_setscene:
'('patchelf-uninative',
'--set-interpreter',
'/home/user/src/prj/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2',
'/home/user/src/prj/build/tmp/work/x86_64-linux/go-cross/1.5.2-r0/sstate-install-populate_sysroot/x86_64-linux/usr/bin/aarch64-prj-linux/go')'
failed with exit code 1 and the following output:
cannot find section .rela.dyn

WARNING: Logfile for failed setscene task is
/home/user/src/prj/build/tmp/work/x86_64-linux/go-cross/1.5.2-r0/temp/log.do_populate_sysroot_setscene.28109
WARNING: Setscene task 458
(/home/user/src/prj/sources/meta-virtualization/recipes-devtools/go-cross/
go-cross_1.5.bb,
do_populate_sysroot_setscene) failed with exit code '1' - real task will be
run
instead
-----------------------------------------------------------------------

ERROR: go-native-1.4.3-r0 do_populate_sysroot_setscene:
'('patchelf-uninative',
'--set-interpreter',
'/home/user/src/prj/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2',
'/home/user/src/prj/build/tmp/work/x86_64-linux/go-native/1.4.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/user/src/prj/build/tmp/work/x86_64-linux/go-native/1.4.3-r0/temp/log.do_populate_sysroot_setscene.29146
WARNING: Setscene task 908
(/home/user/src/prj/sources/meta-virtualization/recipes-devtools/go-cross/
go-native_1.4.bb,
do_populate_sysroot_setscene) failed with exit code '1' - real task will be
run
instead
-----------------------------------------------------------------------

And there are two Docker dependencies, go-net and go-sqlite, that cannot
fetch
sources.

-----------------------------------------------------------------------
WARNING: go-net-hg-r0 do_fetch: Failed to fetch URL hg://
code.google.com/p;module=go.net, attempting MIRRORS if available
ERROR: go-net-hg-r0 do_fetch: Fetcher failure: Fetch command failed with
exit code 255, output:
abort: HTTP Error 404: Not Found

ERROR: go-net-hg-r0 do_fetch: Function failed: Fetcher failure for URL:
'hg://code.google.com/p;module=go.net'. Unable to fetch URL from any source.
-----------------------------------------------------------------------

WARNING: go-sqlite-hg-r0 do_fetch: Failed to fetch URL hg://
code.google.com/p;module=gosqlite, attempting MIRRORS if available
ERROR: go-sqlite-hg-r0 do_fetch: Fetcher failure: Fetch command failed with
exit code 255, output:
abort: HTTP Error 404: Not Found

ERROR: go-sqlite-hg-r0 do_fetch: Function failed: Fetcher failure for URL:
'hg://code.google.com/p;module=gosqlite'. Unable to fetch URL from any
source.
-----------------------------------------------------------------------

Can someone help me to resolve these errors? I'm using krogoth branch for
oe-core, meta-oe and meta-virtualization.

Regards,

Fabio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160609/2051cc2e/attachment-0001.html>


More information about the meta-virtualization mailing list