I am a newbie for AGL. please understand my shallow knowledge.
I'd like to build this repo in my AGL build system.
The command above was executed successfully.
but it'll fail when I bitbake the repo.
$ bitbake agl-hvac-demo
Loading cache: 100% |#########################################################################| Time: 0:00:00
Loaded 4929 entries from dependency cache.
Parsing recipes: 100% |#######################################################################| Time: 0:00:01
Parsing of 3222 .bb files complete (3213 cached, 9 parsed). 4938 targets, 650 skipped, 11 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-agl-linux"
MACHINE = "raspberrypi4-64"
DISTRO = "poky-agl"
DISTRO_VERSION = "17.90.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-raspberrypi = "HEAD:59a6a1b5dd1e21189adec49c61eae04ed3e70338"
meta-selinux = "HEAD:a401f4b2816a0b41ce8d9351542658c721935bcd"
meta-pipewire
meta-app-framework = "HEAD:63e5c14ba2ec13f7707e48203d5f522d9fbc5616"
meta-agl-flutter = "HEAD:4f04fd3fd733e1109c27d48a74ed34819777596e"
meta-flutter = "HEAD:19f8ee7125c5621a9ac6eb3d236c573318f7e0ec"
meta-python2 = "HEAD:f02882e2aa9279ca7becca8d0cedbffe88b5a253"
meta-agl-demo = "HEAD:953f9ca81b1da07f61f8d417fc2765cb647dcf79"
meta-networking
meta-python
meta-filesystems
meta-multimedia = "HEAD:402affcc073db39f782c1ebfd718edd5f11eed4c"
meta-clang = "HEAD:312ff1c39b1bf5d35c0321e873417eb013cea477"
meta-qt5 = "HEAD:ae8a97f79364bed1abc297636f7933d0e35f22be"
meta-oe = "HEAD:402affcc073db39f782c1ebfd718edd5f11eed4c"
meta-agl-core
meta-agl-bsp = "HEAD:63e5c14ba2ec13f7707e48203d5f522d9fbc5616"
meta
meta-poky = "HEAD:755632c2fcab43aa05cdcfa529727064b045073c"
meta-lts-mixins_rust = "HEAD:1a4a2bb94f115ba240adbe53280f8ef71f5739d0"
workspace = "<unknown>:<unknown>"
Initialising tasks: 100% |####################################################################| Time: 0:00:01
Sstate summary: Wanted 7 Local 0 Mirrors 0 Missed 7 Current 473 (0% match, 98% complete)
NOTE: Executing Tasks
ERROR: agl-hvac-demo-1.0+git999-r0 do_configure: Error calling /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile -r /home/user/agl/master/raspberrypi4/workspace/sources/agl-hvac-demo/demohvac.pro --
ERROR: agl-hvac-demo-1.0+git999-r0 do_configure: ExecutionError('/home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/run.do_configure.1515799', 1, None, None)
ERROR: Logfile of failure stored in: /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/log.do_configure.1515799
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/user/agl/master/external/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_populate_sysroot', '/home/user/agl/master/external/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_populate_sysroot', '/home/user/agl/master/external/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/user/agl/master/external/poky/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/home/user/agl/master/external/poky/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', 'virtual:native:/home/user/agl/master/external/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['qtbase-native', 'qtdeclarative', 'glibc', 'gcc-cross-aarch64', 'gcc-runtime', 'pseudo-native', 'texinfo-dummy-native', 'gnu-config-native', 'zstd-native', 'gmp-native', 'mpfr-native', 'binutils-cross-aarch64', 'xz-native', 'flex-native', 'zlib-native', 'libtool-native', 'linux-libc-headers', 'libmpc-native', 'qtbase', 'dbus-native', 'libgcc', 'gettext-minimal-native', 'm4-native', 'systemd', 'libjpeg-turbo', 'libinput', 'sqlite3', 'libxkbcommon', 'dbus', 'libdrm', 'icu', 'libpng', 'tslib', 'zlib', 'libpcre2', 'fontconfig', 'mesa', 'freetype', 'openssl', 'expat-native', 'glib-2.0-native', 'shadow', 'kmod', 'acl', 'base-passwd', 'shadow-sysroot', 'libpam', 'opkg-utils', 'libcap', 'audit', 'bash-completion', 'util-linux', 'libseccomp', 'shadow-native', 'base-files', 'libselinux', 'iptables', 'zstd', 'libevdev', 'libcheck', 'mtdev', 'libxml2', 'wayland', 'wayland-protocols', 'autoconf-archive', 'glib-2.0', 'expat', 'libpthread-stubs', 'libpciaccess', 'bzip2', 'cmake-native', 'libffi-native', 'gettext-native', 'util-linux-native', 'libpcre-native', 'python3-native', 'libxcrypt', 'attr', 'libsemanage', 'xz', 'flex', 'cracklib', 'tcp-wrappers', 'libcap-ng', 'python3', 'ncurses', 'util-linux-libuuid', 'libsepol', 'libpcre', 'libffi', 'util-macros', 'curl-native', 'ncurses-native', 'bzip2-native', 'libpcre2-native', 'libcap-ng-native', 'util-linux-libuuid-native', 'openssl-native', 'readline-native', 'libtirpc-native', 'gdbm-native', 'sqlite3-native', 'libnsl2-native', 'libnsl2', 'gdbm', 'readline', 'libtirpc', 'perl-native', 'make-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function externalsrc_configure_prefunc
| DEBUG: Python function externalsrc_configure_prefunc finished
| DEBUG: Executing shell function qmake5_base_preconfigure
| DEBUG: Shell function qmake5_base_preconfigure finished
| DEBUG: Executing shell function do_configure
| Info: creating stash file /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/agl-hvac-demo-1.0+git999/.qmake.stash
| Reading /home/user/agl/master/raspberrypi4/workspace/sources/agl-hvac-demo/app/app.pro [/home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/agl-hvac-demo-1.0+git999/app]
| Info: creating cache file /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/agl-hvac-demo-1.0+git999/app/.qmake.cache
| Project ERROR: Unknown module(s) in QT: quickcontrols2
| ERROR: Error calling /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile -r /home/user/agl/master/raspberrypi4/workspace/sources/agl-hvac-demo/demohvac.pro --
| WARNING: /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/run.do_configure.1515799:205 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1: bbfatal_log, /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/run.do_configure.1515799, line 205
| #2: die, /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/run.do_configure.1515799, line 195
| #3: qmake5_base_do_configure, /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/run.do_configure.1515799, line 181
| #4: do_configure, /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/run.do_configure.1515799, line 149
| #5: main, /home/user/agl/master/raspberrypi4/tmp/work/aarch64-agl-linux/agl-hvac-demo/1.0+git999-r0/temp/run.do_configure.1515799, line 209
ERROR: Task (/home/user/agl/master/raspberrypi4/workspace/recipes/agl-hvac-demo/agl-hvac-demo_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1666 tasks of which 1661 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/user/agl/master/raspberrypi4/workspace/recipes/agl-hvac-demo/agl-hvac-demo_git.bb:do_configure
Summary: There were 2 ERROR messages, returning a non-zero exit code.