Skip to content

hardknott fails to build imx-image-full #8

@arunlee77

Description

@arunlee77

Following the README, building imx-image-full failed.

ERROR: runc-opencontainers-1.0.0-rc93+gitAUTOINC+249bca0a13-r0 do_fetch: Fetcher failure: Unable to find revision 249bca0a1316129dcd5bd38b5d75572274181cb5 in branch master even from upstream
ERROR: runc-opencontainers-1.0.0-rc93+gitAUTOINC+249bca0a13-r0 do_fetch: Fetcher failure for URL: 'git://github.com/opencontainers/runc;branch=master'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/aravind2/work/imx-yocto/build-xwayland-imx8mpsolidrun/tmp/work/cortexa53-crypto-poky-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+249bca0a13-r0/temp/log.do_fetch.11330
ERROR: Task (/home/aravind2/work/imx-yocto/sources/meta-virtualization/recipes-containers/runc/runc-opencontainers_git.bb:do_fetch) failed with exit code '1'
WARNING

Changing the branch name to main (of github.com/opencontainers/runc) brings in new set of failure..

| /usr/lib/go-tmp/go-build307362452/b086/cgo-gcc-prolog:58: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
| CGO_ENABLED=1 aarch64-poky-linux-go build -trimpath -tags " netgo osusergo" -ldflags "-w -extldflags -static -X main.gitCommit="249bca0a1316129dcd5bd38b5d75572274181cb5" -X main.version=1.0.0-rc93+dev " -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty
| # github.com/opencontainers/runc/contrib/cmd/recvtty
| cannot find package runtime/cgo (using -importcfg)
| /home/aravind2/work/imx-yocto/build-xwayland-imx8mpsolidrun/tmp/work/cortexa53-crypto-poky-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+249bca0a13-r0/recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: cannot open file : open : no such file or directory
| Makefile:40: recipe for target 'static' failed
| make: *** [static] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/aravind2/work/imx-yocto/build-xwayland-imx8mpsolidrun/tmp/work/cortexa53-crypto-poky-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+249bca0a13-r0/temp/run.do_compile.14328' failed with exit code 1
ERROR: Task (/home/aravind2/work/imx-yocto/sources/meta-virtualization/recipes-containers/runc/runc-opencontainers_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7200 tasks of which 2716 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/aravind2/work/imx-yocto/sources/meta-virtualization/recipes-containers/runc/runc-opencontainers_git.bb:do_compile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions