All of lore.kernel.org
 help / color / mirror / Atom feed
* Errors in building docker
@ 2017-04-10  9:51 Sheheryar, Muhammad
  2017-04-10 19:09 ` Mark Asselstine
  0 siblings, 1 reply; 3+ messages in thread
From: Sheheryar, Muhammad @ 2017-04-10  9:51 UTC (permalink / raw)
  To: meta-virtualization@yoctoproject.org

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

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







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

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

* Re: Errors in building docker
  2017-04-10  9:51 Errors in building docker Sheheryar, Muhammad
@ 2017-04-10 19:09 ` Mark Asselstine
  2017-04-11  6:55   ` Sheheryar, Muhammad
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Asselstine @ 2017-04-10 19:09 UTC (permalink / raw)
  To: Sheheryar, Muhammad; +Cc: meta-virtualization@yoctoproject.org

On Mon, Apr 10, 2017 at 5:51 AM, Sheheryar, Muhammad
<Muhammad_Sheheryar@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


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

* Re: Errors in building docker
  2017-04-10 19:09 ` Mark Asselstine
@ 2017-04-11  6:55   ` Sheheryar, Muhammad
  0 siblings, 0 replies; 3+ messages in thread
From: Sheheryar, Muhammad @ 2017-04-11  6:55 UTC (permalink / raw)
  To: mark.asselstine@windriver.com; +Cc: meta-virtualization@yoctoproject.org

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

On Mon, Apr 10, 2017 at 5:51 AM, Sheheryar, Muhammad
<Muhammad_Sheheryar@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


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

end of thread, other threads:[~2017-04-11  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-10  9:51 Errors in building docker Sheheryar, Muhammad
2017-04-10 19:09 ` Mark Asselstine
2017-04-11  6:55   ` 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.