RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
There are 93 Security Fixes
https://docs.yoctoproject.org/migration-guides/release-notes-4.0.html#security-fixes-in-4-0
Components where security fixes are added :- binutils, curl, epiphany, expat, ffmpeg, gcc, glibc, gmp, go, grub2, gzip, libarchive, libxml2, libxslt, lighttpd, linux-yocto, amdgpu, lua, openssl, qemu , rpm , seatd , speex , squashfs-tools , systemd , tiff , unzip , vim , virglrenderer , webkitgtk , xz , zlib
There are 318 opensource component version upgrades
https://docs.yoctoproject.org/migration-guides/release-notes-4.0.html#recipe-upgrades-in-4-0
Major opensource upgrades (Dunfell → Kirkstone) are :- GCC (9.3 → 11.3) , glibc (2.31 → 2.35) , glib-2.0 (2.62.4 → 2.72.3), systemd (244.3 → 250.5) , busybox (1.31.1 → 1.35.0)
Netflix upgrade, youtube
GCC compiler
Maintainability - Dunfell 4 years ; Kirkstone 2 years ; CVE Dunfell is sill open (Refer Yocto mailing list), Upstream dunfell 3.1.24 has open CVE
Build time - reduce number of default dependency (make build faster in first/second time)
meta-rust is in core
software bill of material (security infrastructure)
share state - c standard. faster sstsate performance due to decompression standard cstd (twice faster than xz)
license management tool improvement (more accurate license compliance)
Kirkstone need minimum 4.x kernel (refer systemd)
linux_kernel_header does not mandate
Reference :- https://docs.yoctoproject.org/migration-guides/release-notes-4.0.html
Reference :-https://code.rdkcentral.com/r/plugins/gitiles/manifests/+/refs/heads/kirkstone/oe-layers.xml (Kirkstone specific OE layers )
1 |
/home/apv547/extenter_dunfell_to_kirk/meta-cmf-raspberrypi/recipes-xravs/xr-speech-avs/xr-speech-avs_%.bbappend |
Soln: |
2 |
NOTE: Resolving any missing task queue dependencies |
Soln: |
3 |
ERROR: Nothing PROVIDES 'python' (but /home/apv547/extender_dunfell_to_kirk/meta-rdk-ext/recipes-common/nmap/nmap_7.60.bb DEPENDS on or otherwise requires it). |
Soln: |
4 | ERROR: hostapd-2.10-r0 do_patch: Applying patch 'nl80211-relax-bridge-setup.patch' on target directory '/home/apv547 /extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/hostapd/2.10-r0/hostapd-2.10' CmdError('quilt --quiltrc /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi /hostapd/2.10-r0/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch nl80211-relax-bridge-setup.patch patching file src/drivers/driver_nl80211.c Hunk #1 FAILED at 6923. 1 out of 1 hunk FAILED – rejects in file src/drivers/driver_nl80211.c Patch nl80211-relax-bridge-setup.patch does not apply (enforce with -f)stderr: ') ERROR: Logfile of failure stored in: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi /hostapd/2.10-r0/temp/log.do_patch.2538029 ERROR: Task (/home/apv547/extender_dunfell_to_kirk/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb:do_patch) failed with exit code '1' Waiting for 6 running tasks to finish: WARNING: libevent-2.1.12-r0 do_patch: Fuzz detected:Applying patch header_installation.patch patching file Makefile.am Hunk #1 succeeded at 331 with fuzz 1 (offset 105 lines). The context lines in the patches can be updated with devtool: devtool modify libevent devtool finish --force-patch-refresh libevent <layer_path>Don't forget to review changes done by devtool !WARNING: libevent-2.1.12-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] NOTE: Tasks Summary: Attempted 1146 tasks of which 1126 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 8 secondsSummary: 1 task failed: /home/apv547/extender_dunfell_to_kirk/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb:do_patch Summary: There were 94 WARNING messages. Summary: There was 1 ERROR message, returning a non-zero exit code. apv547@dvm-yocto4-docker-apv547:~/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender$ |
Soln: |
5 |
make[3]: *** [/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender /kernel-source/scripts/Makefile.build:552: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-source/Makefile:1903: make[2]: Leaving directory '/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-build-artifacts' make[1]: *** [Makefile:219: __sub-make] Error 2 make[1]: Leaving directory '/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-source' make: *** [Makefile:31: modules] Error 2 ERROR: oe_runmake failed WARNING: exit code 1 from a shell command. |
Soln: |
6 |
make[1]: Leaving directory '/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/dropbear/2020.81-r0/build/libtomcrypt' | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/apv547/extender_dunfell_to_kirk/openembedded-core/meta/recipes-core/dropbear/dropbear_2020.81.bb:do_compile) failed with exit code '1'ERROR: dropbear-2020.81-r0 do_compile: oe_runmake failed ERROR: dropbear-2020.81-r0 do_compile: ExecutionError('/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/dropbear/2020.81-r0/temp/run.do_compile.225821', 1, None, None) ERROR: Logfile of failure stored in: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/dropbear/2020.81-r0/temp/log.do_compile.225821 NOTE: recipe dropbear-2020.81-r0: task do_compile: Failed ERROR: Task (/home/apv547/extender_dunfell_to_kirk/openembedded-core/meta/recipes-core/dropbear/dropbear_2020.81.bb:do_compile) failed with exit code '1 ../dropbear-2020.81/svr-authpubkey.c:67:10: fatal error: telemetry_busmessage_sender.h: No such file or directory | 67 | #include <telemetry_busmessage_sender.h> | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make: *** [Makefile:152: svr-authpubkey.o] Error 1 | make: *** Waiting for unfinished jobs.... | ../dropbear-2020.81/svr-chansession.c: In function 'sessioncommand': | ../dropbear-2020.81/svr-chansession.c:709:17: warning: implicit declaration of function 'ssh_logging' [-Wimplicit-function-declaration] | 709 | ssh_logging("%s\n", chansess->cmd); | | ^~~~~~~~~~~ | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/apv547/extender_dunfell_to_kirk/openembedded-core/meta/recipes-core/dropbear/dropbear_2020.81.bb:do_compile) failed with exit code '1' ERROR: mt76-1.0-r0 do_compile: oe_runmake failed ERROR: mt76-1.0-r0 do_compile: ExecutionError('/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/temp/run.do_compile.222603', 1, None, None) ERROR: Logfile of failure stored in: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/temp/log.do_compile.222603 |
Soln: |
7 |
ERROR: mt76-1.0-r0 do_compile: oe_runmake failed ERROR: mt76-1.0-r0 do_compile: ExecutionError('/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/temp/run.do_compile.222603', 1, None, None) ERROR: Logfile of failure stored in: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/temp/log.do_compile.222603 NOTE: recipe mt76-1.0-r0: task do_compile: Failed ERROR: Task (/home/apv547/extender_dunfell_to_kirk/meta-cmf-raspberrypi/recipes-bsp/drivers/mt76.bb:do_compile) failed with exit code '1' | 16 | #include <linux/soc/mediatek/mtk_wed.h> | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make[3]: *** [/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-source/scripts/Makefile.build:289: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git/mt76x0/phy.o] Error 1 | In file included from /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git/mt76x0/../mt76x02.h:12, | from /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git/mt76x0/mt76x0.h:20, | from /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git/mt76x0/main.c:9: | /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git/mt76x0/../mt76.h:16:10: fatal error: linux/soc/mediatek/mtk_wed.h: No such file or directory | 16 | #include <linux/soc/mediatek/mtk_wed.h> | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make[3]: *** [/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-source/scripts/Makefile.build:289: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git/mt76x0/main.o] Error 1 | make[2]: *** [/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-source/scripts/Makefile.build:552: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git/mt76x0] Error 2 | make[1]: *** [/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-source/Makefile:1903: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/raspberrypi4_rdk_extender-rdk-linux-gnueabi/mt76/1.0-r0/git] Error 2 | make[1]: Leaving directory '/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work-shared/raspberrypi4-rdk-extender/kernel-build-artifacts' | make: *** [Makefile:64: modules] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/apv547/extender_dunfell_to_kirk/meta-cmf-raspberrypi/recipes-bsp/drivers/mt76.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 3234 tasks of which 2980 didn't need to be rerun and 2 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 10 secondsSummary: 2 tasks failed: /home/apv547/extender_dunfell_to_kirk/openembedded-core/meta/recipes-core/dropbear/dropbear_2020.81.bb:do_compile /home/apv547/extender_dunfell_to_kirk/meta-cmf-raspberrypi/recipes-bsp/drivers/mt76.bb:do_compile Summary: There were 100 WARNING messages. Summary: There were 4 ERROR messages, returning a non-zero exit code. apv547@dvm-yocto4-docker-apv547:~/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender${noformat} |
Soln: |
8 |
| src/lib/osn/src/linux/strongswan.c: In function 'strongswan_get_status_ipsec': | src/lib/osn/src/linux/strongswan.c:1302:5: error: 'fclose' called on pointer returned from a mismatched allocation function [-Werror=mismatched-dealloc] | 1302 | fclose(f); | | ^~~~~~~~~ | src/lib/osn/src/linux/strongswan.c:1198:9: note: returned from 'popen' | 1198 | f = popen(cmd, "r"); | | ^~~~~~~~~~~~~~~ | cc1: all warnings being treated as errors | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | make: *** [build/unit-build.mk:629: work/raspberrypi4-rdk-extender/obj/src.lib.osn/src/lib/osn/src/linux/strongswan.o] Error 1 ERROR: Task (/home/apv547/extender_dunfell_to_kirk/meta-rdk-opensync/recipes/opensync/opensync_git.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 4493 tasks of which 3928 didn't need to be rerun and 2 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 9 secondsSummary: 2 tasks failed: /home/apv547/extender_dunfell_to_kirk/meta-cmf-raspberrypi/recipes-protocols/ieee1905/ieee1905_git.bb:do_compile /home/apv547/extender_dunfell_to_kirk/meta-rdk-opensync/recipes/opensync/opensync_git.bb:do_compile |
Soln: |
9 |
src/psm/src/psm_ovsdb_row.c: In function 'psm_ovsdb_row_key_from_json': | src/psm/src/psm_ovsdb_row.c:537:5: error: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] | 537 | SHA256_Init(&sha_ctx); | | ^~~~~~~~~~~ | In file included from src/psm/src/psm_ovsdb_row.c:27: | /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/opensync/git-r0/recipe-sysroot/usr/include/openssl/sha.h:73:27: note: declared here | 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | | ^~~~~~~~~~~ | src/psm/src/psm_ovsdb_row.c:540:5: error: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] | 540 | SHA256_Update(&sha_ctx, table, strlen(table) + 1); | | ^~~~~~~~~~~~~ | In file included from src/psm/src/psm_ovsdb_row.c:27: | /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/opensync/git-r0/recipe-sysroot/usr/include/openssl/sha.h:74:27: note: declared here | 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | | ^~~~~~~~~~~~~ | src/psm/src/psm_ovsdb_row.c:544:5: error: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] | 544 | SHA256_Update(&sha_ctx, row_data, strlen(row_data) + 1); | | ^~~~~~~~~~~~~ | In file included from src/psm/src/psm_ovsdb_row.c:27: | /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/opensync/git-r0/recipe-sysroot/usr/include/openssl/sha.h:74:27: note: declared here | 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | | ^~~~~~~~~~~~~ | src/psm/src/psm_ovsdb_row.c:547:5: error: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] | 547 | SHA256_Final(sha_buf, &sha_ctx); | | ^~~~~~~~~~~~ | In file included from src/psm/src/psm_ovsdb_row.c:27: | /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/opensync/git-r0/recipe-sysroot/usr/include/openssl/sha.h:76:27: note: declared here | 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | | ^~~~~~~~~~~~ | cc1: all warnings being treated as errors | make: *** [build/unit-build.mk:629: work/raspberrypi4-rdk-extender/obj/src.psm/src/psm/src/psm_ovsdb_row.o] Error 1 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/apv547/extender_dunfell_to_kirk/meta-rdk-opensync/recipes/opensync/opensync_git.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 4586 tasks of which 4585 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 9 secondsSummary: 1 task failed: /home/apv547/extender_dunfell_to_kirk/meta-rdk-opensync/recipes/opensync/opensync_git.bb:do_compile Summary: There were 24 WARNING messages. Summary: There were 2 ERROR messages, returning a non-zero exit code. apv547@dvm-yocto4-docker-apv547:~/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender$ |
Soln: build/flags.mk -Wno-error=deprecated-declarationssingle patch added to handle error 8 & 9 opensync_rpi_kirk_build_error.patch===== |
10 |
src_linux/platform_crypto.c: In function 'PLATFORM_GENERATE_DH_KEY_PAIR': src_linux/platform_crypto.c:142:5: error: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 142 | if (NULL == (dh = DH_new())) | ^~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ src_linux/platform_crypto.c:151:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 151 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:156:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 156 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:160:5: error: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 160 | if (!DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) { | ^~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src_linux/platform_crypto.c:161:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 161 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:169:5: error: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 169 | if (0 == DH_generate_key(dh)) | ^~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:227:27: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ src_linux/platform_crypto.c:171:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 171 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:178:5: error: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 178 | DH_get0_key(dh, &priv_key, &pub_key); | ^~~~~~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src_linux/platform_crypto.c:188:5: error: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 188 | DH_set0_key(dh, (BIGNUM *) priv_key, (BIGNUM *) pub_key); | ^~~~~~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src_linux/platform_crypto.c:190:5: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 190 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c: In function 'PLATFORM_COMPUTE_DH_SHARED_SECRET': src_linux/platform_crypto.c:250:5: error: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 250 | if (NULL == (dh = DH_new())) | ^~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ src_linux/platform_crypto.c:261:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 261 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:266:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 266 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:270:5: error: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 270 | if (!DH_set0_pqg(dh, dhp_bn, NULL, dhg_bn)) { | ^~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src_linux/platform_crypto.c:271:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 271 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:278:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 278 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:287:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 287 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:290:5: error: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 290 | DH_set0_key(dh, (BIGNUM *) priv_key, NULL); | ^~~~~~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src_linux/platform_crypto.c:317:5: error: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 317 | rlen = DH_size(dh); | ^~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:322:5: error: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 322 | keylen = DH_compute_key(*shared_secret, pub_key, dh); | ^~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:228:27: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ src_linux/platform_crypto.c:329:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 329 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c:339:5: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 339 | DH_free(dh); | ^~~~~~~ In file included from src_linux/platform_crypto.c:60: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src_linux/platform_crypto.c: In function 'PLATFORM_HMAC_SHA256': src_linux/platform_crypto.c:409:5: error: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 409 | ctx = HMAC_CTX_new(); | ^~~ In file included from src_linux/platform_crypto.c:63: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ src_linux/platform_crypto.c:421:5: error: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 421 | HMAC_Init_ex(ctx, key, keylen, EVP_sha256(), NULL); | ^~~~~~~~~~~~ In file included from src_linux/platform_crypto.c:63: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ src_linux/platform_crypto.c:425:9: error: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 425 | HMAC_Update(ctx, addr[i], len[i]); | ^~~~~~~~~~~ In file included from src_linux/platform_crypto.c:63: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ src_linux/platform_crypto.c:428:5: error: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 428 | HMAC_Final(ctx, hmac, &mdlen); | ^~~~~~~~~~ In file included from src_linux/platform_crypto.c:63: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ src_linux/platform_crypto.c:431:5: error: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 431 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ In file included from src_linux/platform_crypto.c:63: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/recipe-sysroot/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:116: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/git/output/tmp/al/src_linux/platform_crypto.o] Error 1 make[1]: Leaving directory '/home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/git/src/al' make: *** [Makefile:217: /home/apv547/extender_dunfell_to_kirk/build-raspberrypi4-rdk-extender/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/ieee1905/git-r0/git/output/al_entity] Error 2 WARNING: exit code 2 from a shell command. apv547@dvm-yocto4-docker-apv547:~$ |
Soln: meta-cmf-raspberrypi/recipes-protocols/ieee1905/ieee1905_git.bb ieee1905 likely related for eashMesh Agent - NOT needed for opensync CFLAGS_append_extender_kirkstone =" -Wno-error=stringop-overflow -Wno-error=deprecated-declarations -Wno-error=array-parameter -Wno-error=sign-compare " |
Purchase link: RPi4 – 1No |
Purchase link: Netgear Wi-Fi Dongle – 2Nos |
---|