recipe | layer | error/warning | root cause | action |
---|
N/A | N/A | Layer should set LAYERSERIES_COMPAT in its conf/layer.conf file to list the core layer names it is compatible with. | Newer version of bitbake throws warning if we don’t set LAYERSERIES_COMPAT in its conf/layer.conf in the respective layers. | Set LAYERSERIES_COMPAT_<layer name> = "dunfell" in all layers. E.g LAYERSERIES_COMPAT_rdk = "dunfell" for meta-rdk layer. |
N/A | meta-rdk-ext | bb.data_smart.ExpansionError: Failure expanding variable AVAILABLE_LICENSES[:=], expression was ${@' '.join(available_licenses(d))} which triggered exception FileNotFoundError: [Errno 2] No such file or directory. | There is no directory called licenses in the corresponding meta layer. | Need to create a licenses directory under the meta-layer and add RDK license file to it |
N/A | meta-rdk-restricted meta-rdk-video meta-rdk-ext meta-rdk-containers meta-rdk | Error due to the usage of base_contains in multiple recipes. | base_contains is deprecated. | use bb.utils.contains instead of deprecated base_contains in the respective recipes. |
N/A | N/A | Error due to the usage of some of the functions in pythonnative.bbclass in multiple recipes. | pythonnative.bbclass is not available in newer version. | Add meta-python2 layer to get support for legacy pyhton code(E.g pythonnative.bbclass) |
openssl.inc openssl-0.9.inc image_container_generator.bbclass rdk.conf | meta-rdk meta-rdk-ext | Error due to the usage of base_conditional in multiple recipes. | base_conditional is deprecated. | use oe.utils.conditional instead of deprecated base_conditional in the respective recipes. |
uclibc.inc | meta-rdk-ext | Error due to the usage of oe_filter_out in multiple recipes. | oe_filter_out is deprecated. | use oe.utils.str_filter_out instead of deprecated oe_filter_out in the respective recipes. |
gssdp_0.14.10.bb | meta-rdk-ext | Could not include required file recipes-connectivity/gupnp/gssdp.inc in gssdp_0.14.10.bb | The required file is not present in the location. | Replace "require" directive to "include" to specify a loose dependency. |
rdk-generic-broadband-dev-image.bb rdk-generic-hybrid-dev-image.bb rdk-generic-mediaclient-dev-image.bb | meta-rdk | Errors due to required files not being present in yocto 3.1(dunfell) oe layers. | Those file are not available in newer version of Yocto. | Replace "require" directive to "include" to specify a loose dependency. |
rmfhalheaders_git.bb
| meta-rdk-video | Error while parsing LIC_FILES_CHKSUM in rmfhalheaders | The recipe uses "files://" instead "file://" in LIC_FILES_CHKSUM field | Update the LIC_FILES_CHKSUM field accordingly. |
busybox_%.bbappend | meta-rdk-ext | Error in busybox as busybox_1.31.1.bb:do_patch: failed with exit code '1' | Build error in do_package task due to some of the older patches available | The following patches are removed from busybox recipe for dunfell build 1. udhcp.patch 2. 0001-networking-add-ip-neigh-command.patch 3. ip6_neigh_show_ Crash.patch |
glib-networking_2.54.1.bb rdk.conf | meta-rdk-ext meta-rdk | Glib-networking require gnutls >= 3.4.6 | gnutls 3.3.x is the last branch which supports.nettle 2.7.1. So it is not possible to increase the version, | Used glib-networking-2.54.1 instead of updating gnutls. |
gstreamer1.0-plugins-bad.inc | meta-rdk-ext | Error while inheriting bluetooth.bbclass | bluetooth.bbclass is not available in newer version of yocto | inherit bluetooth on a conditional basis as shown below: inherit gettext ${@bb.utils.contains('DISTRO_CODENAME', 'dunfell', '', 'bluetooth', d)} |
glib-2.0_2.62%.bbappend | meta-rdk-ext | Error reported for glib-2.0-native-1_2.62.4-r0 patch | Unable to apply the 2nd hunk due to version changes. | rebased RDK patch to glib 2.62.4 |
openssl_1.1.0g.bb | meta-rdk-ext | Error while fetching openssl_1.1.0g | Recipe version 1.1.0 is moved to a different location. | SRC_URI updated with the new changes. |
systemd_216.bb | meta-rdk-ext | Error while parsing systemd_216 legacy recipe | Circular dependency problem with systemd_216. | Skip this recipe by specifying the COMPATIBLE_HOST in bb file as shown below: COMPATIBLE_HOST_dunfell = "null"
|
netsrvmgr_git.bbappend | meta-cmf-video | Error due to invalid version of netsrvmgr. | SRCREV expects a valid revision on dunfell framework. | SRCREV for netsrvmgr set to AUTOREV |
iptables_%.bbappend | meta-rdk-ext | Error while installing iptables | sysint provides it's own iptables systemd service file which gives a conflict on do_rootfs() | Remove systemd service in the bbappend file to avoid conflict as shown below: do_install_append_client() { rm ${D}${systemd_system_unitdir}/${PN}.service } SYSTEMD_SERVICE_${PN}_remove_client = "${PN}.service" |
dropbear_%.bbappend
| meta-rdk-ext | Patch error while building dropbear-2019.78 | Older version of patches were giving build error. | Rebase patches to build on dunfell. |
openssl_1.0.2o.bb | meta-rdk-ext | Circular dependency problems with openssl 1.0.2o for dunfell builds. | Higher versions of the recipes are available for newer builds. | Skip this recipe by specifying the COMPATIBLE_HOST in bb file as shown below: COMPATIBLE_HOST_dunfell = "null" |
setup-environment | meta-rdk | dunfell codename not reflected in DISTRO_CODENAME. | Bitbake version is not updated for dunfell branch. | Update DISTRO_CODENAME based on the bitbake version in setip-environment script E.g:- 1.44.*|1.46.*) _DISTRO_CODENAME="dunfell" |
RDK | meta-cmf | ExpansionError: Failure expanding variable AVAILABLE_LICENSES[:=], expression was ${@' '.join(available_licenses(d))} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: | RDK licence file not present in the preferred location. | Add RDK licence file to the licenses directory in the corresponding layer. |
qtbase-native_5.1.1.bbappend | meta-cmf-qt5 | qtbase-native: fix build error due to gcc 9.x | qtbase native pkg throws build error due to gcc 9.2. | The following patch file is available in the repo to resolve the issue: 0001-RDK-27410-qtbase-native-build-error-due-to-gcc-versi.patch We need to conditionally enable this for dunfell builds. |
logrotate_%.bbappend | meta-rdk-ext | Sysint trying to install logrotate.service, logrotate.timer but it is already installed by logrotate. | as sysint provides logrotate's systemd service, actual recipe's service gives conflict | As sysint installs RDK specific logrotate's systemd service file, we can remove them as shown below: SYSTEMD_SERVICE_${PN}_remove = " \ ${BPN}.service \ ${BPN}.timer \ "
do_install_append() { rm ${D}${systemd_system_unitdir}/${BPN}.service rm ${D}${systemd_system_unitdir}/${BPN}.timer } |
dnsmasq_%.bbappend | meta-rdk-ext | Postinstall scriptlets of ['systemd'] failed. | As systemd in dunfell provides resolv.conf, no need to install again from dnsmasq. | Removed resolv.conf from do_install for dunfell |
qtbase_5.1.1.bbappend
| meta-cmf-qt5 | Declaration conflict for qopengl's GLdouble because of this qtbase throws build error. | GLdouble is typedefed as GLFloat in qopengl.h this leads to a conflict with the earlier definition of GLdouble as double. | We can typedef GLdouble to double. |
msgpack-c_2.1.1.bb | meta-rdk-ext | Error about 'copying an object of non-trivial type' in msgpack-c. | Typecasting is missing while using memcpy(). | Insteadof using std::memcpy(&o, &v, sizeof(v)), we can typecast the object as shown below std::memcpy(static_cast<void*>(&o), &v, sizeof(v)) |
wpe-webkit.inc | meta-rdk-ext | dunfell build throws do_package_qa error as libWPEWebKit.so requires libTTSClient.so | Unable to satisfy runtime dependency libTTSClient.so | Add tts package in the RDEPENDS for wpe-webkit |
ledmgr-extended-noop_git.bb | meta-rdk-video | fatal error: sysMgr.h: No such file or directory | sysMgr.h file not avalable in the sysroot directory. | Add iarmmgrs in the DEPENDS of meta-rdk-video/recipes-extended/ledmgr/ledmgr-extended-noop_git.bb |
aamp_git.bb | meta-rdk-video | irMgr.h not found | irMgr.h file not avalable in the sysroot directory. | Add iarmmgrs in the DEPENDS of meta-cmf-video/recipes-extended/aamp/aamp_git.bbappend |
wrp-c_1.0.bb | meta-rdk-ext | error: 'strncpy' output truncated before terminating nul copying 23 bytes from a string of the same length. | Use of strncpy for coping. | Replace strncpy with memcpy. |
ledmgr_git.bb | meta-rdk-video | yocto dunfell framework throws do_package_qa() filedeps error while building the packages. | required runtime dependencies are missing. | Add devicesettings in RDEPENDS of meta-rdk-video/recipes-extended/ledmgr/ledmgr_git.bb |
tr69hostif_git.bb | meta-rdk-video | yocto dunfell framework throws do_package_qa() filedeps error while building the packages. | required runtime dependencies are missing. | Add devicesettings in RDEPENDS of meta-rdk-video/recipes-thirdparty/tr69/tr69hostif_git.bb |
tr69hostif, tr69agent | meta-rdk-video | Error: -lproc not found | from morty or higher versions, procps provides libprocps.so | already this was addressed by --enable-morty. But this name makes confusion on dunfell builds so, changed --enable-morty to --enable-latest-procps 39301, 39342, 39273 |
bluetooth-core | N/A | fatal error: bluetooth/audio/a2dp-codecs.h: No such file or directory | a2dp codec macros are changed in newer bluez version (5.54) from oe-core dunfell branch. | We can add definitions for MIN_BITPOOL and MAX_BITPOOL in btrCore_avMedia.c as shown below #ifndef MIN_BITPOOL #define MIN_BITPOOL SBC_MIN_BITPOOL #endif #ifndef MAX_BITPOOL #define MAX_BITPOOL SBC_MAX_BITPOOL #endif |
bluetooth_mgr | N/A | undefined reference error for bluetooth-mgr | bluetooth-mgr main.c calls sd_notify() API but not linked libsystemd.so which is causing undefined reference error | Update AM_LDFLAGS with -lsystemd to resolve undefined reference error. |
bluetooth_mgr | N/A | memcpy issue for MediaElementListInfo. | Improper structure size was mentioned in the memcpy. | Replace sizeof(BTRMGR_IARMMediaElementListInfo_t) with sizeof(BTRMGR_MediaElementListInfo_t) in the following function in btmgr_iarm_external_interface.c memcpy (mediaElementListInfo, &mediaElementList.m_mediaTrackListInfo, sizeof(BTRMGR_IARMMediaElementListInfo_t)) |
bluetooth-core | N/A | Error due to incorrect to use of AdapterInfo struct. | appropriate structure is not mentioned in sizeof(). | Replace sizeof(stBTDeviceInfo) in the following function with sizeof(stBTAdapterInfo) in btCore_dbus_bluez5.c memset(&lstBTAdapterInfo, 0, sizeof(stBTDeviceInfo)) |
fog | N/A | Error when HLSPlaylistsDownload.ccp in fogcli calls 'SHA1' API | -lcrypto not included in the Makefile | Update fogcli_LDFLAGS in Makefile.am with -lcrypto. |
sectionfilter-hal-noop_git.bb | meta-rdk-video | Error due to missing dependencies in sectionfilter-hal | dunfell framework expects all possible dependencies to be mentioned in DEPENDS. | Update sectionfilter-hal-noop_git.bb DEPENDS with jansson. |
sys-utils_git.bb | meta-rdk-video | package_qa error while building sys-utils_git.bb | dunfell framework expects to mention all runtime deps to avoid package_qa error. | Add devicesettings in the RDEPENDS field of sys-utils_git.bb |
iarmmgrs_git.bbappend | meta-cmf-video | package_qa error while building iarmmgrs_git.bb | hybrid specific runtime deps overriding basic runtime deps which causes package_qa error. | Use append instead of simple assignment for the runtime dependency for iarmmgrs as shown below: RDEPENDS_${PN}_append_hybrid = " virtual/mfrlib" |
cairo_%.bbappend | meta-rdk-ext | Conflict due to patches available in other layers while patching cairo. | meta-wpe also maintains cairo patches that makes conflict while apply. | apply patches conditionally based on meta-wpe as shown below: SRC_URI_append = " \ ${@'file://cairo-egl-device-create-for-egl-surface.patch' if 'wpe-layer' not in d.getVar('BBFILE_COLLECTIONS').split() else ''} \ ${@'file://0008-add-noaa-compositor.patch' if 'wpe-layer' not in d.getVar('BBFILE_COLLECTIONS').split() else ''} \ " |
rmfgeneric | meta-rdk-video | ERROR: rmfgeneric-yocto-dunfell-upgrade+gitAUTOINC+f9cb9ffc6b_1a102d71ed-r0 do_package: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', '/mnt/home/mbaska691/mty/y3.1/rpi/hyb/1905/build-raspberrypi-rdk-hybrid/tmp/work/raspberrypi_rdk_hybrid-rdk-linux-gnueabi/rmfgeneric/yocto-dunfell-upgrade+gitAUTOINC+f9cb9ffc6b_1a102d71ed-r0/package/usr/lib/librbi.a']): dwarfsrcfiles: /mnt/home/mbaska691/mty/y3.1/rpi/hyb/1905/build-raspberrypi-rdk-hybrid/tmp/work/raspberrypi_rdk_hybrid-rdk-linux-gnueabi/rmfgeneric/yocto-dunfell-upgrade+gitAUTOINC+f9cb9ffc6b_1a102d71ed-r0/package/usr/lib/librbi.a: no error | librbi.a is not proper with debug symbols | Fixed by inhibiting package debug split INHIBIT_PACKAGE_DEBUG_SPLIT_hybrid = "1" 39475 |
xupnp | NA | | ../../git/src/xcal-device.c:1955:19: error: too many arguments to function 'gupnp_context_new' | 1955 | upnpContext = gupnp_context_new (NULL, devConf->bcastIf, devConf->bcastPort, &error); | | ^~~~~~~~~~~~~~~~~ | Makefile:665: recipe for target 'xcal-device.o' failed | make[2]: *** [xcal-device.o] Error 1 | make[2]: Leaving directory '.../build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/xupnp/yocto-dunfell-upgrade-r0/build/src' | Makefile:442: recipe for target 'all-recursive' failed | make: *** [all-recursive] Error 1 | WARNING: exit code 1 from a shell command. ERROR: Task (.../meta-rdk/recipes-connectivity/xupnp/xupnp_git.bb:do_compile) failed with exit code '1' | Openembedded-core dunfell branch provide GUPNP v 1.2. Higher version API to be supported on xupnp | Higher version API are implemented. Also backward compatibility also done 39399 |
camgr | meta-cmf-video-restricted | | /bin/sh: 1: gdbus-codegen: not found | ninja: build stopped: subcommand failed. | WARNING: exit code 1 from a shell command. | camgr expects glib-2.0-native dependency (dunfell expects all dependency in place) | glib-2.0-native is added in DEPENDS 39515 |
subttxrend-gfx | NA (In compoenent component src) | | build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/subttxrend-gfx/1.0-r0/git/subttxrend-gfx/src/WaylandBackend.cpp:74:18: error: '%s' directive argument is null [-Werror=format-overflow=] | 74 | g_logger.info("%s - Connecting to display: %s", __func__, displayName); | | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | cc1plus: all warnings being treated as errors | gcc 9.x won't allow nullptr arguments in printf format | displayname to be printed only if it is not null 39516 |
subttxrend-socksrc | NA (In compoenent component src) | | build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/subttxrend-socksrc/1.0-r0/git/subttxrend-socksrc/src/UnixSocketSource.cpp:220:49: error: cast between incompatible function types from 'gboolean (*)(GSocket*, GIOCondition, gpointer)' {aka 'int (*)(_GSocket*, GIOCondition, void*)'} to 'GSourceFunc' {aka 'int (*)(void*)'} [-Werror=cast-function-type] | 220 | (GSourceFunc) UnixSocketSource::socketSourceCallback, this, | | | gcc 9.x treats all warnings into errors | TODO |
cobalt | meta-cmf | | ../../build/build_config.h:205:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] | 205 | # if SB_IS(WCHAR_T_UNSIGNED) | | ^~~~~~~~~~~~~~~~~~~~~~ | cc1plus: all warnings being treated as errors | gcc 9.x treats all warnings into errors | Hard to fix this as so , many places the error was reported. -Wno-expansion-to-defined to be added in wayland/compiler_cflags.gypi |
| ../../third_party/starboard/raspi/wayland/cobalt_source.cc:97:13: error: G_ADD_PRIVATE [-Werror] | 97 | GstCobaltSrcPrivate* priv = GST_COBALT_SRC_GET_PRIVATE(src); | | ^~~~~~~~~~~~~~~ | cc1plus: all warnings being treated as errors | gcc 9.x treats all warnings into errors | As a workaround, -Werror was removed fom compiler cflags to skip this error |
websocket-ipplayer2-utils | NA (In compoenent component src) | | build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/websocket-ipplayer2-utils/git-r0/git/src/ipp2/PlaybackProperties.cpp:30:10: fatal error: boost/uuid/sha1.hpp: No such file or directory | 30 | #include <boost/uuid/sha1.hpp> | | ^~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | openembedded-core dunfell branch provides higher version of boost which restructures the provided headers | correct header is mentioned with help of boost's version macro 39633 |
camgr-proxy | NA (In compoenent component src) | | build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/camgr-proxy/1.0-r0/git/camgr-proxy/src/camgr-proxy.cpp:351:1: error: no return statement in function returning non-void [-Werror=return-type] | 351 | } | | ^ | cc1plus: all warnings being treated as errors | gcc 9.x treats all warnings into errors | return NULL is added in the erroneous function 39594 |
subttxrend-app | NA (In component src) | | build-raspberrypi-rdk-hybrid/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/subttxrend-app/1.0-r0/git/subttxrend-app/src/ScteSubController.cpp:111:1: error: no return statement in function returning non-void [-Werror=return-type] | 111 | } | | ^ | cc1plus: all warnings being treated as errors | gcc 9.x treats all warnings into errors | return value provided to the erroneous function 39639 |