-
Notifications
You must be signed in to change notification settings - Fork 4
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
Attempting to build packagegroup-petalinux-ros in a petalinux 2022.2 project ... errors out at "uncrustify-vendor" package #1
Comments
I also tried wtih the KV260 petalinux 2022.2 BSP (xilinx-kv260-starterkit-v2022.2-10141622.bsp I am getting the same error for the uncrustify-vendor package ... |
Hi @AlbertaBeef , It looks this repository hasn't got a lot of activity. Maybe you can try this one: See https://discourse.ros.org/t/meta-ros-bof-at-roscon/27862 and https://discourse.ros.org/t/ros-openembedded-working-group-2022-01-19-3pm-utc/29222 |
@grsandeep85 helped me get through my issue. |
Resolved, thank you :) |
Fix patch fuzz QA issue with yaml-cpp-vendor. ERROR: yaml-cpp-vendor-8.0.2-1-r0 do_patch: QA Issue: Fuzz detected: Applying patch 0001-Use-platform-yaml-cpp.patch patching file CMakeLists.txt Hunk #1 succeeded at 13 with fuzz 2 (offset 5 lines). Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch failed to apply with below errors. Rebase patch with humble release. ERROR: zstd-vendor-0.15.8-1-r0 do_patch: Applying patch '0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch' on target directory '/scratch/sandeep/yocto/master/yp-dev/build-zynqmp/tmp/work/cortexa72-cortexa53-xilinx-linux/zstd-vendor/0.15.8-1/git' CmdError('quilt --quiltrc /scratch/sandeep/yocto/master/yp-dev/build-zynqmp/tmp/work/cortexa72-cortexa53-xilinx-linux/zstd-vendor/0.15.8-1/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch patching file CMakeLists.txt patching file cmake_minimum_required_2.8.12.patch patching file no_internal_headers.patch Hunk #1 FAILED at 1. Not deleting file no_internal_headers.patch as content differs from patch 1 out of 1 hunk FAILED -- rejects in file no_internal_headers.patch Patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch does not apply (enforce with -f) Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Fix patch fuzz QA issue with yaml-cpp-vendor. ERROR: yaml-cpp-vendor-8.0.2-1-r0 do_patch: QA Issue: Fuzz detected: Applying patch 0001-Use-platform-yaml-cpp.patch patching file CMakeLists.txt Hunk #1 succeeded at 13 with fuzz 2 (offset 5 lines). Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch failed to apply with below errors. Rebase patch with iron release. ERROR: zstd-vendor-0.15.8-1-r0 do_patch: Applying patch '0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch' on target directory '/scratch/sandeep/yocto/master/yp-dev/build-zynqmp/tmp/work/cortexa72-cortexa53-xilinx-linux/zstd-vendor/0.15.8-1/git' CmdError('quilt --quiltrc /scratch/sandeep/yocto/master/yp-dev/build-zynqmp/tmp/work/cortexa72-cortexa53-xilinx-linux/zstd-vendor/0.15.8-1/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch patching file CMakeLists.txt patching file cmake_minimum_required_2.8.12.patch patching file no_internal_headers.patch Hunk #1 FAILED at 1. Not deleting file no_internal_headers.patch as content differs from patch 1 out of 1 hunk FAILED -- rejects in file no_internal_headers.patch Patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch does not apply (enforce with -f) Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Fix patch fuzz QA issue with yaml-cpp-vendor. ERROR: yaml-cpp-vendor-8.0.2-1-r0 do_patch: QA Issue: Fuzz detected: Applying patch 0001-Use-platform-yaml-cpp.patch patching file CMakeLists.txt Hunk #1 succeeded at 13 with fuzz 2 (offset 5 lines). Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch failed to apply with below errors. Rebase patch with rolling release. ERROR: zstd-vendor-0.15.8-1-r0 do_patch: Applying patch '0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch' on target directory '/scratch/sandeep/yocto/master/yp-dev/build-zynqmp/tmp/work/cortexa72-cortexa53-xilinx-linux/zstd-vendor/0.15.8-1/git' CmdError('quilt --quiltrc /scratch/sandeep/yocto/master/yp-dev/build-zynqmp/tmp/work/cortexa72-cortexa53-xilinx-linux/zstd-vendor/0.15.8-1/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch patching file CMakeLists.txt patching file cmake_minimum_required_2.8.12.patch patching file no_internal_headers.patch Hunk #1 FAILED at 1. Not deleting file no_internal_headers.patch as content differs from patch 1 out of 1 hunk FAILED -- rejects in file no_internal_headers.patch Patch 0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch does not apply (enforce with -f) Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
example-interfaces fails to build with below errors. | /scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux/../../libexec/aarch64-xilinx-linux/gcc/aarch64-xilinx-linux/13.3.0/ld: /scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/recipe-sysroot-native/opt/ros/jazzy/lib/libaction_msgs__rosidl_generator_c.so: error adding symbols: file in wrong format | collect2: error: ld returned 1 exit status | ninja: build stopped: subcommand failed. | | WARNING: /scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/temp/run.do_compile.1049629:165 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/build' "$@" -- ${EXTRA_OECMAKE_BUILD}' | WARNING: Backtrace (BB generated script): | #1: cmake_runcmake_build, /scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/temp/run.do_compile.1049629, line 165 | #2: cmake_do_compile, /scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/temp/run.do_compile.1049629, line 159 | #3: do_compile, /scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/temp/run.do_compile.1049629, line 154 | #4: main, /scratch/sandeep/yocto/2024.2/yp-dev/build-ros/tmp/work/cortexa72-cortexa53-xilinx-linux/example-interfaces/0.12.0-3/temp/run.do_compile.1049629, line 178 ERROR: Task (/scratch/sandeep/yocto/2024.2/yp-dev/sources/poky/../meta-ros/meta-ros2-jazzy/generated-recipes/example-interfaces/example-interfaces_0.12.0-3.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 3124 tasks of which 3099 didn't need to be rerun and 1 failed. This is due to missing target build dependencies. Hence add action-msgs as a build dependency to prevent linking against action-msgs-native libraries. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Attempting to build packagegroup-petalinux-ros in a petalinux 2022.2 project ...
errors out at "uncrustify-vendor" package 👍
ERROR: Task (virtual:native:/media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/components/yocto/layers/meta-ros/meta-ros2-humble/generated-recipes/uncrustify-vendor/uncrustify-vendor_2.0.2-2.bb:do_compile) failed with exit code '1'
Building on Ubuntu 22.04.
Added package in petalinux-image-minimal.bb file, with the Avnet zub1cg-sbc-base machine.
Full log below:
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build --target all --
| [1/7] cd /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/src && /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/recipe-sysroot-native/usr/bin/cmake -P /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/tmp/uncrustify-0.72.0-gitclone.cmake && /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/recipe-sysroot-native/usr/bin/cmake -E touch /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/src/uncrustify-0.72.0-stamp/uncrustify-0.72.0-download
| FAILED: uncrustify-0.72.0-prefix/src/uncrustify-0.72.0-stamp/uncrustify-0.72.0-download /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/src/uncrustify-0.72.0-stamp/uncrustify-0.72.0-download
| cd /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/src && /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/recipe-sysroot-native/usr/bin/cmake -P /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/tmp/uncrustify-0.72.0-gitclone.cmake && /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/recipe-sysroot-native/usr/bin/cmake -E touch /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/src/uncrustify-0.72.0-stamp/uncrustify-0.72.0-download
| Cloning into 'uncrustify-0.72.0'...
| fatal: unable to access 'https://github.com/uncrustify/uncrustify.git/': error setting certificate verify locations: CAfile: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt CApath: none
| Cloning into 'uncrustify-0.72.0'...
| fatal: unable to access 'https://github.com/uncrustify/uncrustify.git/': error setting certificate verify locations: CAfile: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt CApath: none
| Cloning into 'uncrustify-0.72.0'...
| fatal: unable to access 'https://github.com/uncrustify/uncrustify.git/': error setting certificate verify locations: CAfile: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt CApath: none
| -- Had to git clone more than once:
| 3 times.
| CMake Error at /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build/uncrustify-0.72.0-prefix/tmp/uncrustify-0.72.0-gitclone.cmake:31 (message):
| Failed to clone repository: 'https://github.com/uncrustify/uncrustify.git'
|
|
| ninja: build stopped: subcommand failed.
| WARNING: /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/temp/run.do_compile.874829:170 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| WARNING: Backtrace (BB generated script):
| #1: cmake_runcmake_build, /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/temp/run.do_compile.874829, line 170
| #2: cmake_do_compile, /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/temp/run.do_compile.874829, line 164
| #3: do_compile, /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/temp/run.do_compile.874829, line 159
| #4: main, /media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/build/tmp/work/x86_64-linux/uncrustify-vendor-native/2.0.2-2-r0/temp/run.do_compile.874829, line 183
ERROR: Task (virtual:native:/media/albertabeef/Rocinante/Avnet_2022_2/petalinux/projects/zub1cg_sbc_2022_2_vai_3_0_ros2/components/yocto/layers/meta-ros/meta-ros2-humble/generated-recipes/uncrustify-vendor/uncrustify-vendor_2.0.2-2.bb:do_compile) failed with exit code '1'
The text was updated successfully, but these errors were encountered: