SolidRun / meta-solidrun-arm-imx8

6 stars 8 forks source link

hardknott fails to build imx-image-full #8

Open arunlee77 opened 2 years ago

arunlee77 commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago
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 commented 1 year ago

Please verify that your bblayers.conf file includes the meta-solidrun-arm-imx8 layer. It looks like bitbake has updated the bblayers.conf automatcally and by the error message, "MACHINE=imx8mpsolidrun is invalid", I would guess that it is not including our meta-layer.


From: Arun Ravindran @.> Sent: Wednesday, March 1, 2023 9:13 PM To: SolidRun/meta-solidrun-arm-imx8 @.> Cc: Jon Nettleton @.>; Comment @.> Subject: Re: [SolidRun/meta-solidrun-arm-imx8] hardknott fails to build imx-image-full (Issue #8)

@.***:~/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. @.***:~/work/imx-yocto/build-xwayland-imx8mpsolidrun$

— Reply to this email directly, view it on GitHubhttps://github.com/SolidRun/meta-solidrun-arm-imx8/issues/8#issuecomment-1450787379, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AINUS3DPAQV6XHM7FZZU7BLWZ6UVPANCNFSM5NGZINLQ. You are receiving this because you commented.Message ID: @.***>