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

Failed to compile: zstd-vendor #1202

Open
henaiguo opened this issue Aug 7, 2024 · 4 comments
Open

Failed to compile: zstd-vendor #1202

henaiguo opened this issue Aug 7, 2024 · 4 comments

Comments

@henaiguo
Copy link

henaiguo commented Aug 7, 2024

ERROR: zstd-vendor-0.15.11-1-r0 do_patch: Applying patch '0001-CMakeLists.txt-prevent-building-zstd-with-ExternalPr.patch' on target directory '/home/drill/workspace/system/yocto/poky/build/tmp-glibc/work/corei7-64-oe-linux/zstd-vendor/0.15.11-1-r0/git'
CmdError('quilt --quiltrc /home/drill/workspace/system/yocto/poky/build/tmp-glibc/work/corei7-64-oe-linux/zstd-vendor/0.15.11-1-r0/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)

stderr: ')
ERROR: Logfile of failure stored in: /home/drill/workspace/system/yocto/poky/build/tmp-glibc/work/corei7-64-oe-linux/zstd-vendor/0.15.11-1-r0/temp/log.do_patch.38705
ERROR: Task (/home/drill/workspace/system/yocto/meta/meta-ros/meta-ros2-humble/generated-recipes/rosbag2/zstd-vendor_0.15.11-1.bb:do_patch) failed with exit code '1'
System: ubuntu 22.04
branch: kirkstone

I noticed a similar issue before, but I still failed to compile using the latest code under the kirstone branch

@henaiguo
Copy link
Author

henaiguo commented Aug 7, 2024

Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "x86_64-oe-linux"
MACHINE = "intel-corei7-64"
DISTRO = "ros2"
DISTRO_VERSION = "2.humble.2024-06-20.3-0"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU = ""
DISTRO_NAME = "Robot Operating System 2 (ROS 2) with OpenEmbedded Linux"
ROS_DISTRO = "humble"
ROS_VERSION = "2"
ROS_PYTHON_VERSION = "3"
meta
meta-poky
meta-yocto-bsp = "kirkstone:93ef091fb2be38866a41bf87088625fbdfb69027"
meta-intel = "kirkstone:bb7c7b0f448ab6541ab42a316dfeff1f7726252f"
meta-oe
meta-python
meta-perl = "kirkstone:52ecd66835dcfd8b4e55c9cb6325908ccea6a4e7"
meta-qt5 = "kirkstone:644ebf220245bdc06e7696ccc90acc97a0dd2566"
meta-ros-common
meta-ros2
meta-ros2-humble = "kirkstone:b4db6314bae1c78498158e267200a9c15a739cad"

@jiaxshi
Copy link
Contributor

jiaxshi commented Aug 8, 2024

Hi
I met the same error, you can refer to #1198

@henaiguo
Copy link
Author

henaiguo commented Aug 8, 2024

@jiaxshi 感谢回复(我直接中文了)
我是初次接触yocto以及meta-ros
我注意到kirkstone分支下的ros2bag中关于zstd-vendor的只有一个文件zstd-vendor_0.15.11-1.bb,结合 #1198 中的内容,是手动将zstd-vendor_0.15.11-1.bb删除即可吗?

@jiaxshi
Copy link
Contributor

jiaxshi commented Aug 9, 2024

@jiaxshi 感谢回复(我直接中文了) 我是初次接触yocto以及meta-ros 我注意到kirkstone分支下的ros2bag中关于zstd-vendor的只有一个文件zstd-vendor_0.15.11-1.bb,结合 #1198 中的内容,是手动将zstd-vendor_0.15.11-1.bb删除即可吗?

delete meta-ros2-humble/recipes-bbappends/rosbag2/zstd-vendor*

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

2 participants