On Mon, Oct 25, 2021 at 8:26 PM Jay Foster <[email protected]> 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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6853): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6853
Mute This Topic: https://lists.yoctoproject.org/mt/86593783/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to