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

build fails with "conan" command not found #13

Open
gg6663 opened this issue Sep 1, 2021 · 0 comments
Open

build fails with "conan" command not found #13

gg6663 opened this issue Sep 1, 2021 · 0 comments

Comments

@gg6663
Copy link

gg6663 commented Sep 1, 2021

Hi All,
I have followed the steps provided in https://docs.conan.io/en/latest/integrations/cross_platform/yocto.html and integrated layer "meta-conan" into Yocto build ( Sumo ).
I have cloned the meta-conan from branch "thud"

Created a recipe file to fetch binary from conan as shown below

inherit conan

DESCRIPTION = "Zebra Chimera Core Library.."
LICENSE = "CLOSED"

DEPENDS = " python-cson-native"
DEPENDS += " python3-cython-native"
DEPENDS += " python3-idna-native"

CONAN_PROFILE_PATH ="${TOPDIR}/conf/armv8"

CONAN_REMOTE_URL = "https://artifactory-ny.zebra.com/artifactory/api/conan/dcs-con-dev"
CONAN_REMOTE_NAME = "dev"

CONAN_PKG = "ChiCore/[>1.0.0]@chi/protected"

When i try to compile/install chimera-chicore using command " bitbake -c install chimera-chicore" below error is shown up

ERROR: chimera-chicore-1.0-r0 do_install: Function failed: do_install (log file is located at /data/work/builds/work-space/xs4070/layercake/bld-xs1020/tmp/work/aarch64-poky-linux/chimera-chicore/1.0-r0/temp/log.do_install.13643)
ERROR: Logfile of failure stored in: /data/work/builds/work-space/xs4070/layercake/bld-xs1020/tmp/work/aarch64-poky-linux/chimera-chicore/1.0-r0/temp/log.do_install.13643
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/data/work/builds/work-space/xs4070/layercake/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot', '/data/work/builds/work-space/xs4070/layercake/sources/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', '/data/work/builds/work-space/xs4070/layercake/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/data/work/builds/work-space/xs4070/layercake/sources/meta-openembedded/meta-python/recipes-extended/python-cson/python-cson_git.bb:do_populate_sysroot', 'virtual:native:/data/work/builds/work-space/xs4070/layercake/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.6.bb:do_populate_sysroot', 'virtual:native:/data/work/builds/work-space/xs4070/layercake/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.28.2.bb:do_populate_sysroot', 'virtual:native:/data/work/builds/work-space/xs4070/layercake/sources/meta-zebra-bsp/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/data/work/builds/work-space/xs4070/layercake/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gcc-runtime', 'gcc-cross-aarch64', 'quilt-native', 'python-cson-native', 'python3-idna-native', 'python3-cython-native', 'pseudo-native', 'glibc', 'libgcc', 'linux-libc-headers', 'python-setuptools-native', 'python-native', 'python3-setuptools-native', 'python3-native', 'texinfo-dummy-native', 'libmpc-native', 'autoconf-native', 'xz-native', 'zlib-native', 'gmp-native', 'libtool-native', 'binutils-cross-aarch64', 'gnu-config-native', 'flex-native', 'mpfr-native', 'automake-native', 'unzip-native', 'sqlite3-native', 'readline-native', 'gdbm-native', 'pkgconfig-native', 'db-native', 'bzip2-native', 'openssl-native', 'expat-native', 'm4-native', 'gettext-minimal-native', 'bison-native', 'ncurses-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| Arch value 'x86_64' from 'BUILD_ARCH' mapped to 'x86_64'
| Arch value 'aarch64' from 'HOST_ARCH' mapped to 'armv8'
| Arch value 'x86_64' from 'BUILD_ARCH' mapped to 'x86_64'
| Arch value 'aarch64' from 'HOST_ARCH' mapped to 'armv8'
| Configuring the Conan remote:
| https://artifactory-ny.zebra.com/artifactory/api/conan/dcs-con-dev
| /data/work/builds/work-space/xs4070/layercake/bld-xs1020/tmp/work/aarch64-poky-linux/chimera-chicore/1.0-r0/temp/run.do_install.13643: 122: /data/work/builds/work-space/xs4070/layercake/bld-xs1020/tmp/work/aarch64-poky-linux/chimera-chicore/1.0-r0/temp/run.do_install.13643: conan: not found
| WARNING: exit code 127 from a shell command.
| ERROR: Function failed: do_install (log file is located at /data/work/builds/work-space/xs4070/layercake/bld-xs1020/tmp/work/aarch64-poky-linux/chimera-chicore/1.0-r0/temp/log.do_install.13643)
ERROR: Task (/data/work/builds/work-space/xs4070/layercake/sources/meta-zebra-bsp/recipes-chimera/chimera-executable/chimera-chicore.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 379 tasks of which 378 didn't need to be rerun and 1 failed.
NOTE: No commit since BUILDHISTORY_COMMIT != '1'

Summary: 1 task failed:
/data/work/builds/work-space/xs4070/layercake/sources/meta-zebra-bsp/recipes-chimera/chimera-executable/chimera-chicore.bb:do_install

Please revive my changes and let me know if i missed any steps..

Thanks
Girish

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

1 participant