[meta-virtualization] Errors in building docker

Mark Asselstine mark.asselstine at windriver.com
Mon Apr 10 12:09:00 PDT 2017


On Mon, Apr 10, 2017 at 5:51 AM, Sheheryar, Muhammad
<Muhammad_Sheheryar at mentor.com> wrote:
> Hi,
>
>
> I am trying to build docker in my yocto project (fido branch). I am
> encountering the following errors
>
>
> Log data follows:
> | DEBUG: Executing shell function do_compile
> |
> /var/mshehery/Release_7.3/duplicate_project_containers/sheheryar_containers/yocto/fido/build/mf0200/tmp-glibc/work/cortexa9hf-vfp-neon-oe-linux-gnueabi/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/git
> | # WARNING! I don't seem to be running in the Docker container.
> | # The result of this command might be an incorrect build, and will not be
> | #   officially supported.
> | #
> | # Try this instead: make all
> | #
> |
> | bundles/1.5.0-dev already exists. Removing.
> |
> | ---> Making bundle: dynbinary (in bundles/1.5.0-dev/dynbinary)
> | Created binary:
> /var/mshehery/Release_7.3/duplicate_project_containers/sheheryar_containers/yocto/fido/build/mf0200/tmp-glibc/work/cortexa9hf-vfp-neon-oe-linux-gnueabi/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/git/bundles/1.5.0-dev/dynbinary/dockerinit-1.5.0-dev
> | # code.google.com/p/gosqlite/sqlite3
> |
> /var/mshehery/Release_7.3/duplicate_project_containers/sheheryar_containers/yocto/fido/build/mf0200/tmp-glibc/sysroots/x86_64-linux/usr/lib/libsqlite3.so:
> file not recognized: File format not recognized

Have you run the 'file' command on this file to determine what it is
being seen as? Most likely an ARCH mismatch which you can then work
backwards from to determine what is creating this scenario.

Mark


> | collect2: error: ld returned 1 exit status
> | WARNING:
> /var/mshehery/Release_7.3/duplicate_project_containers/sheheryar_containers/yocto/fido/build/mf0200/tmp-glibc/work/cortexa9hf-vfp-neon-oe-linux-gnueabi/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/temp/run.do_compile.32468:1
> exit 1 from
> |   DOCKER_GITCOMMIT="2243e32cbbf1c9809c262a7376d34ca43a7a36dc"
> ./hack/make.sh dynbinary
> | ERROR: Function failed: do_compile (log file is located at
> /var/mshehery/Release_7.3/duplicate_project_containers/sheheryar_containers/yocto/fido/build/mf0200/tmp-glibc/work/cortexa9hf-vfp-neon-oe-linux-gnueabi/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/temp/log.do_compile.32468)
>
>
> My instinct is that the errors are somehow related to go-sqlite package
> required for docker. The fetcher for the package fails as its previous
> repository has been shifted or removed. Can someone help me out?
>
>
> Regards,
>
>
> Muhammad Sheheryar
>
>
>
>
>
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


More information about the meta-virtualization mailing list