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

lx2160acex7: Error while building mc-utils #194

Open
Ossanes opened this issue Feb 17, 2022 · 2 comments
Open

lx2160acex7: Error while building mc-utils #194

Ossanes opened this issue Feb 17, 2022 · 2 comments
Assignees

Comments

@Ossanes
Copy link
Contributor

Ossanes commented Feb 17, 2022

ERROR: mc-utils-git-r0 do_deploy: ExecutionError('/home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/temp/run.do_deploy.2590674', 1, None, None)
ERROR: Logfile of failure stored in: /home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/temp/log.do_deploy.2590674
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_deploy
| cp: cannot stat '/home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/image/boot/mc-utils/*': No such file or directory
| WARNING: /home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/temp/run.do_deploy.2590674:146 exit 1 from 'cp -r /home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/image/boot/mc-utils/* /home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/deploy-mc-utils/mc-utils/'
| WARNING: Backtrace (BB generated script):
|       #1: do_deploy, /home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/temp/run.do_deploy.2590674, line 146
|       #2: main, /home/aquino/src/tests/fsl-community-bsp-platform/build/tmp/work/lx2160acex7-fslc-linux/mc-utils/git-r0/temp/run.do_deploy.2590674, line 150"

It occurs because in:

if [ -e ${S}/config/${MC_CFG}/${MC_FOLDER} ]; then
    cp -r ${S}/config/${MC_CFG}/${MC_FOLDER}/* ${D}/boot/mc-utils/
fi

The MC_FOLDER variable is equal to "LX2160A-CEX7", which points to a non-existent directory.
So nothing is copied.

Consequently and error occrus on cp -r ${D}/boot/mc-utils/* ${DEPLOYDIR}/mc-utils/ as it's source directory is empty:

do_deploy () {
        install -d ${DEPLOYDIR}/mc-utils
        cp -r ${D}/boot/mc-utils/* ${DEPLOYDIR}/mc-utils/
}
@LouisJeanneau
Copy link

Hi @Ossanes, did you eventually come to find a fix ?

@otavio
Copy link
Member

otavio commented Mar 28, 2023

No. We are more focused on i.MX. PRs are welcome 👍🏼

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

4 participants