Hi Team,
I was adding sota in Yocto 4.0 with meta-updater layer. I found below error while performing "bitbake core-image-minimal".
ERROR:
| File "/home/OSTree_Yocto/yocto-bsp/build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/python3-pyyaml/6.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/wheel/wheelfile.py", line 147, in write
| zinfo = ZipInfo(arcname or filename, date_time=get_zipinfo_datetime(st.st_mtime))
| File "/home/OSTree_Yocto/yocto-bsp/build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/python3-pyyaml/6.0-r0/recipe-sysroot-native/usr/lib/python3.10/zipfile.py", line 376, in __init__
| raise ValueError('ZIP does not support timestamps before 1980')
| ValueError: ZIP does not support timestamps before 1980
| _yaml/__init__.py
| 1970
| _yaml/__init__.py
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/OSTree_Yocto/yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-pyyaml_6.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3344 tasks of which 3337 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/OSTree_Yocto/yocto-bsp/sources/poky/meta/recipes-devtools/python/python3-pyyaml_6.0.bb:do_compile
Summary: There were 3 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.
Please let me know what changes to be made. Any assistance or insights would be highly valuable.
Thank you in advance for your support.
Hi @hara!
Thank you for contacting NXP Support!
That layer is not provided by NXP and is not tested with our BSP.
I found a guide please try it but as I mentioned before, that feature is not tested in our BSP and we cannot be sure of the functionality of the software provided by that layer
https://docs.ota.here.com/ota-client/latest/add-ota-functonality-existing-yocto-project.html
Sorry for the mistake!
Best Regards!
Chavira