Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardknott fails to build imx-image-full #8

Open
arunlee77 opened this issue Jan 31, 2022 · 4 comments
Open

hardknott fails to build imx-image-full #8

arunlee77 opened this issue Jan 31, 2022 · 4 comments

Comments

@arunlee77
Copy link

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

@jnettlet
Copy link
Member

Is this still an issue? If possible I recommend you switch to the kirkstone release since it is an LTS yocto release and has many NXP bug fixes included.

@arunlee77
Copy link
Author

kirkstone release doesn't even show the full image option

[](Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
http://www.openembedded.org/

You can now run 'bitbake '

Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

Your build environment has been configured with:

MACHINE=imx8mpsolidrun
SDKMACHINE=i686
DISTRO=fsl-imx-xwayland
EULA=

BSPDIR=
BUILD_DIR=.
meta-freescale directory found
)

@arunlee77
Copy link
Author

aravind2@tmsbuild012:~/work/imx-yocto/build-xwayland-imx8mpsolidrun$ bitbake imx-image-full              NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    MACHINE=imx8mpsolidrun is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.


Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.
aravind2@tmsbuild012:~/work/imx-yocto/build-xwayland-imx8mpsolidrun$

@jnettlet
Copy link
Member

jnettlet commented Mar 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants