You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Yocto Build Steps

Build Steps  for Dunfell branch :


repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml

$ repo sync -j`nproc` --no-clone-bundle

$ MACHINE=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment

$ bitbake rdk-generic-broadband-image




Errors and Challenges

Recipe Layer Error/WarningRoot CauseAction 

zilker_2.2.0

meta-cmf-raspberrypi 

Error: Missing SRC_URI checksum

not added checksum Added sha256sum
checksum 
zilker_2.2.0meta-cmf-raspberrypiError:

zilker-git-r0 do_fetch: Fetcher failure for URL: 

ParseError at /home/sbeher128/rama/meta-cmf-raspberrypi/recipes-zilker/zilker-sdk/zilker_2.2.0.bb: unparsed line: 'SRC_URI

not add SRC_URI properly git://rdkcentral/zilker-sdk;protocol=${RDK_GIT_PROTOCOL};branch=${ZILKER_BRANCH};name=zilker-client"
trower-base64_1.0.bb meta-rdk-broadband

WARNING: trower-base64-git+AUTOINC+fbb9440ae2-r0 do_fetch: Failed to fetch URL git://github.com/Comcast/trower-base64.git

ERROR: trower-base64-git+AUTOINC+fbb9440ae2-r0 do_fetch: Fetcher failure: Unable to find revision fbb9440ae2bc1118866baefcea7ff814f16613dd in branch master even from upstream
ERROR: trower-base64-git+AUTOINC+fbb9440ae2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/Comcast/trower-base64.git'. Unable to fetch URL from any source.

not added related  SRC_URL 

added SRC_URI like 
git://github.com/Comcast/trower-base64.git;branch=main

File Path :

/meta-rdk-ext/recipes-support/trower-base64/trower-base64_1.0.bb

zilker_git.bbmeta-rdk-broadband 

fatal error: ccronexpr.h: No such file or directory
|   37 | #include <ccronexpr.h>
|      |         ^~~~~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.


not linked with ccronexpr libraryccronexpr file  is missing . 
added ccronexpr.h file like "ccrronexpr.h"  specified path 

zilker_git.bbmeta-rdk-broadband

 error: cannot find -lccronexpr
| /usr/src/debug/zilker/git-r0/git/source/services/automation/core/src/actions/timer.c:142: error: undefined reference to 'cron_parse_expr'
| /usr/src/debug/zilker/git-r0/git/source/services/automation/core/src/actions/timer.c:147: error: undefined reference to 'cron_next'
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

ERROR: Task (/home/sbeher128/rama/meta-cmf-broadband/recipes-iot/zilker/zilker_git.bb :do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1369 tasks of which 1368 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds

Summary: 1 task failed:
  /home/sbeher128/rama/meta-cmf-broadband/recipes-iot/zilker/zilker_git.bb:do_compile

linking Error


cloned ccronexpr library at the below path 
build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/zilker/git-r0/git/source/services/automation/core/src

zilker_git.bbmeta-rdk-broadband

./buildTools/linux/recipe.sh -t


---  build started at Tue May 25 16:34:46  2021  -----------------------------------------
Checking environment...
--------------------------------------Incorrect version of 'java'
Require JDK 1.8, but seem to have versionScript : setup_build.sh
 ver=`java -version 2>&1 | grep '1\.8' | awk '{ print $NF }'`;
    checkVer=`echo $ver | grep '1\.8'`;
    if [ -z "$checkVer" ]; then
        echo "Incorrect version of 'java'";
        echo "Require JDK 1.8, but seem to have version $ver";
        exit 1;
    fi

not having suitable java version need to install  java 1.8  version by VM Administrator 
zilker_git.bbmeta-rdk-broadband getting error while executing below command below command 

zilker_git
 error: cannot find -lccronexpr
| collect2: error: ld returned 1 exit status
linking error 
not linking ccronexpr library 

removed ccronexpr library  int he file CMakeLists.txt  from the below path, 

ccronexpr library is not required  for dependencies.

build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/zilker/git-r0/git/source/services/automation/core



CMake Error at filesystem/cmake_install.cmake:69 (file):
|   file INSTALL cannot find
|   "/home/sbeher128/rama/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/zilker/git-r0/recipe-sysroot/usr/bin/curl":
|   No such file or directory.
| Call Stack (most recent call first):
|   cmake_install.cmake:86 (include)


| FAILED: CMakeFiles/install.util
| cd /home/sbeher128/rama/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/zilker/git-r0/build && /home/sbeher128/rama/build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/zilker/git-r0/recipe-sysroot-native/usr/bin/cmake -P cmake_install.cmake
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

curl is  is missing

curl not available at below path 
build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/zilker/git-r0/recipe-sysroot/usr/bin

copied curl from below path :
build-raspberrypi-rdk-broadband/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/curl/7.69.1-r0/image/usr/bin





  • No labels