[meta-virtualization] Errors in building docker

Sheheryar, Muhammad Muhammad_Sheheryar at mentor.com
Mon Apr 10 23:55:26 PDT 2017


Hi Mark,

The file command show the following output

libsqlite3.so: symbolic link to libsqlite3.so.0.8.6

Due to some reason, I think it is related to the go-net and go-sqlite packages that are required by docker in the fido branch. The fetchers for these packages fail because their repositories are removed, and I cannot find the required versions anywhere. In the later branches, they have added the support of these packages in the core of go-cross, so they do not need to be fetched separately. Do you think I can back port it to the fido branch, given that there is no go-cross in it???

Regards,

Muhammad Sheheryar Qureshi 
________________________________________
From: asselsm at gmail.com <asselsm at gmail.com> on behalf of Mark Asselstine <mark.asselstine at windriver.com>
Sent: Tuesday, April 11, 2017 12:09 AM
To: Sheheryar, Muhammad
Cc: meta-virtualization at yoctoproject.org
Subject: Re: [meta-virtualization] Errors in building docker

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