RDK Resources
RDK Preferred
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
NOTE: Observing fetch errors in VMs with Ubuntu14.x. Thus, suggesting to use VMs with Ubuntu16.x or higher.
Note: Cloning the code before login once to code.rdkcentral.com, user would get the Authentication error, even though the account is in good standing and has all the required access. Please login to code.rdkcentral.com before attempting to clone.
To build, follow below instructions
Create workspace directory
mkdir <workspace dir> cd <workspace dir>
Follow below instructions to create build with external sources
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-extsrc.xml -b dunfell repo sync -j4 --no-clone-bundle MACHINE=qemux86broadband source meta-cmf/setup-environment bitbake rdk-generic-broadband-image
17 Comments
Z-Vic Lin
I'm building the image with below command:
repo init -u https:
//code
.rdkcentral.com
/r/manifests
-m rdkb-extsrc.xml -b dunfell
repo
sync
-j4 --no-clone-bundle
MACHINE=qemux86broadband
source
meta-cmf
/setup-environment
bitbake rdk-generic-broadband-image
After build OK. How can I run with runqemu?
'runqemu qemuarm' seems failed.
Below is the error log.
And below is the image files.
command `
runqemu tmp/deploy/images/qemux86broadband/X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk`
also failed
How can I have a try with runqemu?
Z-Vic Lin
Seems run with below command?
rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$ runqemu tmp/deploy/images/qemux86broadband/bzImage-qemux86broadband.bin tmp/deploy/images/qemux86broadband/rdk-generic-broadband-image-qemux86broadband.wic.vmdk
Z-Hareesha Lagidi
HI Vic Lin,
Try to download the <image>.wic.vmdk to your local PC.
Try to run the Emulator image in virtualbox .
Please follow this below link to run emulator image in vbox.
RDK-B Emulator User Guide.
Note: Emulator is still not ready yet to provide webui.
Thank you.
Z-djkim
Hi, I have a problem to download source code.
After confirm to login "https://code.rdkcentral.com", try below command.
fatal: remote error: manifests unavailable
manifests: sleeping 4.0 seconds before retrying
fatal: remote error: manifests unavailable
fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests
My test env is ubuntu 18.04LTS with VMware virtual machine.
Z-Yogomaya Maharana
Hello Z-djkim Please contact RDK Management at info@rdkcentral.com in case you need more information.
You can get all the Apache components, but for any of the RDK Components, you have to obtain the RDK License Agreement.
hhhh
hi dear
also, i have error with :
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-extsrc.xml -b dunfell
the error is not found the repo.
so, how can i get the RDK License Agreement?
must i get license fromrdkcentral ?
Z-Yogomaya Maharana
Hello , Please contact RDK Management at info@rdkcentral.com in case you need more information.
You can get all the Apache components, but for any of the RDK Components, you have to obtain the RDK License Agreement.
Scott Kamp
Build Failure , as of 10/16/22 based on RDK-B Emulator Dunfell Build Instructions
ERROR: ccsp-common-library-native-1.99+git999-r0 do_fetch: Fetcher failure for URL: 'file://0001-SSLeay_add_all_algorithms-remove-in-openssl-1.1.patch;apply=no'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: RDK-B-EMULATOR/build-qemux86broadband/tmp/work/x86_64-linux/ccsp-common-library-native/1.99+git999-r0/temp/log.do_fetch.438107
ERROR: Task (virtual:native:RDK-B-EMULATOR/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library.bb:do_fetch) failed with exit code '1'
Priyankaa K V B
Hi Scott Kamp ,
With latest code , 0001-SSLeay_add_all_algorithms-remove-in-openssl-1.1.patch is removed .
Could you please check whether the below changes are available in your workspace
https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-rdk-broadband/+/74429/
Regards,
Priyankaa KVB
Scott Kamp
Hi Priyankaa K V B Ill validate my tree however, this is not what you get following the guide verbatim, as i just cleared my tree and re-ran
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-extsrc.xml -b dunfell
repo sync -j4 --no-clone-bundle
MACHINE=qemux86broadband source meta-cmf/setup-environment
bitbake rdk-generic-broadband-image
and again,
ERROR: ccsp-common-library-native-1.99+git999-r0 do_fetch: Fetcher failure for URL: 'file://0001-SSLeay_add_all_algorithms-remove-in-openssl-1.1.patch;apply=no'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/dingo/RDKE/build-qemux86broadband/tmp/work/x86_64-linux/ccsp-common-library-native/1.99+git999-r0/temp/log.do_fetch.3460554
ERROR: Task (virtual:native:/home/dingo/RDKE/meta-rdk-broadband/recipes-ccsp/ccsp/ccsp-common-library.bb:do_fetch) failed with exit code '1'
So it appears to me that the document, is 1) incorrect, or 2) these changes are commited not in this tree.
also note the report you pointed me to references
Repo rdk/components/generic/rdk-oe/meta-rdk-…
Branch rdk-next
Priyankaa K V B
Hi Scott Kamp ,
Can you please patch those changes for your workspace and check whether the build goes fine .
Regards,
Priyankaa KVB
Jason Politakis
Hello,
I am trying to build build-qemux86broadband on Ubuntu 22.04.1 64bit
and I get the following error:
| gcc -I. -I../../m4-1.4.18/lib -isystem/media/jp/RDK/testingrdk/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -isystem/media/jp/RDK/testingrdk/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o dirname.o ../../m4-1.4.18/lib/dirname.c
| In file included from /usr/include/signal.h:328,
| from ./signal.h:52,
| from ../../m4-1.4.18/lib/c-stack.c:49:
| ../../m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before token "("
| 55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
| | ^~~~~~~~
| make[3]: *** [Makefile:1915: c-stack.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: Leaving directory '/media/jp/RDK/testingrdk/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/lib'
| make[2]: *** [Makefile:1674: all] Error 2
| make[2]: Leaving directory '/media/jp/RDK/testingrdk/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/lib'
| make[1]: *** [Makefile:1572: all-recursive] Error 1
| make[1]: Leaving directory '/media/jp/RDK/testingrdk/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build'
| make: *** [Makefile:1528: all] Error 2
| ERROR: oe_runmake failed
| WARNING: /media/jp/RDK/testingrdk/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/run.do_compile.36666:1 exit 1 from 'exit 1'
| ERROR: Execution of '/media/jp/RDK/testingrdk/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/run.do_compile.36666' failed with exit code 1
ERROR: Task (/media/jp/RDK/testingrdk/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile) failed with exit code '1'
WARNING: libpcre2-native-10.34-r0 do_fetch: Failed to fetch URL https://ftp.pcre.org/pub/pcre/pcre2-10.34.tar.bz2, attempting MIRRORS if available
Is this related to 64 bit vs 32bit? do I need another source maybe?
Priyankaa K V B
Hi Jason Politakis ,
Can you try to install m4 version as 1.4.9 and try ?
Regards,
Priyankaa KVB
Jason Politakis
Hello Priyankaa K V B
Thank you for your reply.
Can you explain how i can do that?
Do I need to modify the recipe? (which I dont know how to do to be honest)
Do I just go to openembedded-core/meta/recipes-devtools/m4 and download the m4 version as 1.4.9?
Br,
Jason
Jason Politakis
Hello Priyankaa K V B
Any update on my issue?
Priyankaa K V B
Hi Jason Politakis ,
Please upgrade to 1.4.19 using below steps
m4 (1).zip
Please try this steps and let me know how this works for you
Regards,
Priyankaa KVB
Roland Akinson
Hello Priyankaa K V B ,
first I encountered the issue Jason Politakis also mentioned. With your instruction on patching the m4 version, I was able to come beyond this point but now the build fails with this
Is this is still related to this issue?