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

Bruce Ashfield bruce.ashfield at gmail.com
Thu Jun 9 11:39:01 PDT 2016


On Thu, Jun 9, 2016 at 8:47 AM, Fabio Berton <fabio.berton at ossystems.com.br>
wrote:

> 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
>

I've never seen these ones before.


> -----------------------------------------------------------------------
>
> 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.
>
>
Check what I've done in mater. I was able to drop those two dependencies,
sine they
are in the core of go-cross and not something that needs to be separately
fetched
any more.

Over the last few months, go-net and sqlite have been bouncing around as
available
and unavailable, so I finally dropped them.

Bruce


> Regards,
>
> Fabio
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160609/9e0d0cd2/attachment.html>


More information about the meta-virtualization mailing list