meta-virtualization.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* Re: Problems Building Docker with dunfell
       [not found] ` <04a849b5-7e46-8424-24ae-7a3201470e7c@systech.com>
@ 2021-10-26  1:41   ` Bruce Ashfield
  0 siblings, 0 replies; only message in thread
From: Bruce Ashfield @ 2021-10-26  1:41 UTC (permalink / raw)
  To: jay.foster; +Cc: meta-virtualization

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

On Mon, Oct 25, 2021 at 8:26 PM Jay Foster <jay.foster@systech.com> wrote:

> Sorry for the noise.  I think I found my silly mistake.  I checked out
> the dunfell branch instead of the yocto-3.1.11 tag, which results in a
> newer, incompatible, version of go.
>

The tip of dunfell should be fine, it doesn't take those sorts of upgrades
(incompatible go updates).

I fired off a clean build from the latest dunfell, and didn't have any
issues.

Bruce


> Jay
>
> On 10/25/2021 3:38 PM, Jay Foster wrote:
> > I am trying to build docker (virtual/docker) from dunfell
> > meta/virtualization layer with go from the dunfell
> > meta/recipes-devtools/go and cannot get it to build.  docker, runc,
> > and containerd (the go based programs) each fail with an error like:
> >
> > DEBUG: Executing shell function do_compile
> > NOTE: make -j 6 GODEBUG=1 binaries
> > 🇩 bin/ctr
> > go: cannot find main module, but found vendor.conf in
> >
> /home2/jay/work/sc-docker/sc20_linux/poky/build/tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/containerd-opencontainers/v1.2.14+gitAUTOINC+3b3e9d5f62-r0/git/src/import
> >     to create a module there, run:
> >     go mod init
> > Makefile:173: recipe for target 'bin/ctr' failed
> > make: *** [bin/ctr] Error 1
> > ERROR: oe_runmake failed
> > WARNING:
> >
> /home2/jay/work/sc-docker/sc20_linux/poky/build/tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/containerd-opencontainers/v1.2.14+gitAUTOINC+3b3e9d5f62-r0/temp/run.do_compile.23657:1
>
> > exit 1 from 'exit 1'
> > ERROR: Function failed: do_compile (log file is located at
> >
> /home2/jay/work/sc-docker/sc20_linux/poky/build/tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/containerd-opencontainers/v1.2.14+gitAUTOINC+3b3e9d5f62-r0/temp/log.do_compile.23657)
> >
> >
> > DEBUG: Executing shell function do_compile
> > NOTE: make -j 6 BUILDTAGS=${PACKAGECONFIG_CONFARGS}
> > GO=arm-oe-linux-gnueabi-go static
> > CGO_ENABLED=1 arm-oe-linux-gnueabi-go build  -tags " netgo osusergo
> > static_build" -installsuffix netgo -ldflags "-w -extldflags -static -X
> > main.gitCommit="425e105d5a03fabd737a126ad93d62a9eeede87f-dirty" -X
> > main.version=1.0.0-rc8 " -o runc .
> > go: cannot find main module, but found vendor.conf in
> >
> /home2/jay/work/sc-docker/sc20_linux/poky/build/tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/runc-docker/1.0.0-rc8+gitAUTOINC+425e105d5a-r0/git/src/import
> >     to create a module there, run:
> >     go mod init
> > Makefile:43: recipe for target 'static' failed
> > make: *** [static] Error 1
> > ERROR: oe_runmake failed
> > WARNING:
> >
> /home2/jay/work/sc-docker/sc20_linux/poky/build/tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/runc-docker/1.0.0-rc8+gitAUTOINC+425e105d5a-r0/temp/run.do_compile.23438:1
>
> > exit 1 from 'exit 1'
> > ERROR: Function failed: do_compile (log file is located at
> >
> /home2/jay/work/sc-docker/sc20_linux/poky/build/tmp-glibc/work/armv7ahf-neon-oe-linux-gnueabi/runc-docker/1.0.0-rc8+gitAUTOINC+425e105d5a-r0/temp/log.do_compile.23438)
> >
> > Am I missing something obvious or is meta/virtualization (dunfell) out
> > of sync with meta (dunfell)?
> >
> > Jay
> >
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-26  1:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <28d55e92-0471-6a72-914e-3d9b2529373b@systech.com>
     [not found] ` <04a849b5-7e46-8424-24ae-7a3201470e7c@systech.com>
2021-10-26  1:41   ` Problems Building Docker with dunfell Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).