meta-raspberrypi icon indicating copy to clipboard operation
meta-raspberrypi copied to clipboard

the latest meta-raspberrypi master branch for pi5 board rev1.1 d04171 ,userland can NOT pass building

Open gitgonewithwind opened this issue 5 months ago • 0 comments

Hi all sorry to bother your again. I am using pi5 board Rev1.1 d04171,so my previous image can NOT startup, so I downloaded the latest master branch commit: commit 0e56e2f1b3853f36033c713aa721e91805426411 (HEAD -> master, origin/master, origin/HEAD) Author: Khem Raj [email protected] Date: Thu Oct 23 21:51:23 2025 -0700

libpisp: Upgrade to 1.3.0 release

Drop upstreamed patch

Signed-off-by: Khem Raj <[email protected]>

and lastest poky, meta-openembedded,meta-browser... but userland can NOT pass building. I have tried to add: EXTRA_OECMAKE += "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" in meta-raspberrypi/recipes-graphics/userland/userland_git.bb PV = "20230419" ,but can NOT pass compiling:

Question 1: How can I do?

Question 2, and Do we have a simple way to change somewhere for board rev1.1 in my older master branch commit commit 1879cb831f4ea3e532cb5ce9fa0f32be917e8fa3 (HEAD -> master, origin/master, origin/HEAD) Author: Max Stepanov [email protected] Date: Thu Mar 21 13:50:55 2024 -0400

if that, I do not need to change a lots code and add patches again for my application in this commit, userland can pass compiling and the userland is same version: PV = "20230419" I am using same ubuntu 22.04 docker. it can use for yocto Whinlatter

Question 3, if do not use master branch , which branch can work well for pi5 board Rev1.1 d04171

Thank you very much.

error info for quesion 1: userland can NOT pass building

ERROR: userland-20230419-r0 do_configure: Execution of '/home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/temp/run.do_configure.19668' failed with exit code 1 ERROR: Logfile of failure stored in: /home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/temp/log.do_configure.19668 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/home/yocto/yocto/source/layers/poky/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', '/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/cmake/cmake-native_4.1.2.bb:do_populate_sysroot', '/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/gcc/gcc-cross_15.2.bb:do_populate_sysroot', '/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/gcc/gcc-runtime_15.2.bb:do_populate_sysroot', '/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/ninja/ninja_1.13.1.bb:do_populate_sysroot', 'virtual:native:/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'glibc', 'binutils-cross-aarch64', 'cmake-native', 'gcc-cross-aarch64', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'openssl-native', 'ncurses-native', 'zlib-native', 'flex-native', 'gnu-config-native', 'make-native', 'ninja-native', 'patch-native', 'perl-native', 'pkgconfig-native', 'pseudo-native', 'bzip2-native', 'xz-native', 'zstd-native', 'attr-native', 'gdbm-native', 'gmp-native', 'libmpc-native', 'mpfr-native', 're2c-native', 'sqlite3-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_configure | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! | WARNING: /home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/temp/run.do_configure.19668:160 exit 1 from 'cmake -G 'Ninja' -DCMAKE_MAKE_PROGRAM=ninja $oecmake_sitefile /home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/sources/userland-20230419 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DLIB_SUFFIX= -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=/home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/toolchain.cmake -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' -DVMCS_INSTALL_PREFIX=/usr -DARM64=ON -Wno-dev' | WARNING: Backtrace (BB generated script): | #1: cmake_do_configure, /home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/temp/run.do_configure.19668, line 160 | #2: do_configure, /home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/temp/run.do_configure.19668, line 139 | #3: main, /home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/temp/run.do_configure.19668, line 178 NOTE: recipe userland-20230419-r0: task do_configure: Failed ERROR: Task (/home/yocto/yocto/source/layers/meta-raspberrypi/recipes-graphics/userland/userland_git.bb:do_configure) failed with exit code '1' NOTE: recipe freeglut-3.4.0-r0: task do_configure: Succeeded NOTE: recipe screen-5.0.1-r0: task do_configure: Succeeded NOTE: recipe nodejs-native-22.21.0-r0: task do_compile: Succeeded NOTE: recipe gstreamer1.0-rtsp-server-1.26.5-r0: task do_configure: Succeeded NOTE: recipe gstreamer1.0-plugins-good-1.26.5-r0: task do_configure: Succeeded NOTE: recipe gettext-0.26-r0: task do_package: Succeeded NOTE: recipe strace-6.16-r0: task do_package: Succeeded NOTE: recipe opencv-4.12.0-r0: task do_configure: Succeeded NOTE: recipe glibc-locale-2.42+git-r0: task do_package: Succeeded NOTE: recipe gcc-15.2.0-r0: task do_package: Succeeded NOTE: recipe linux-raspberrypi-1_6.12.41+git-r0: task do_package: Succeeded NOTE: recipe perl-5.40.2-r0: task do_create_spdx: Succeeded Bitbake still alive (no events for 600s). Active tasks: virtual:native:/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/rust/rust_1.90.0.bb:do_install /home/yocto/yocto/source/layers/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_22.21.0.bb:do_compile Bitbake still alive (no events for 1200s). Active tasks: virtual:native:/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/rust/rust_1.90.0.bb:do_install /home/yocto/yocto/source/layers/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_22.21.0.bb:do_compile Bitbake still alive (no events for 1800s). Active tasks: virtual:native:/home/yocto/yocto/source/layers/poky/meta/recipes-devtools/rust/rust_1.90.0.bb:do_install /home/yocto/yocto/source/layers/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_22.21.0.bb:do_compile NOTE: recipe rust-native-1.90.0-r0: task do_install: Succeeded Bitbake still alive (no events for 2400s). Active tasks: /home/yocto/yocto/source/layers/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_22.21.0.bb:do_compile Bitbake still alive (no events for 3000s). Active tasks: /home/yocto/yocto/source/layers/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_22.21.0.bb:do_compile NOTE: recipe nodejs-22.21.0-r0: task do_compile: Succeeded NOTE: Tasks Summary: Attempted 8622 tasks of which 3431 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /home/yocto/yocto/source/layers/meta-raspberrypi/recipes-graphics/userland/userland_git.bb:do_configure log: /home/yocto/yocto/source/build/tmp/work/cortexa76-poky-linux/userland/20230419/temp/log.do_configure.19668 Summary: There were 7 WARNING messages. Summary: There was 1 ERROR message, returning a non-zero exit code.

gitgonewithwind avatar Oct 30 '25 14:10 gitgonewithwind