Host Setup

NOTE: Observing fetch errors in VMs with Ubuntu14.x. Thus, suggesting to use VMs with Ubuntu16.x or higher.

Building

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



  • No labels

41 Comments

  1. 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.

    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$ runqemu qemuarm
    runqemu - INFO - Running MACHINE=qemuarm bitbake -e ...
    runqemu - ERROR - /build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemuarm not a directory valid DEPLOY_DIR_IMAGE
    ls: cannot access '/build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemuarm/*.qemuboot.conf': No such file or directory
    runqemu - ERROR - Command 'ls -t /build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemuarm/*.qemuboot.conf' returned non-zero exit status 2.
    runqemu - INFO - Cleaning up

    And below is the image files.


    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$ ls tmp/deploy/images/qemux86broadband/
    bzImage
    bzImage--5.4.103+gitAUTOINC+feeb59687b_80ade4d43b-r0-qemux86broadband-20220307083421.bin
    bzImage-qemux86broadband.bin
    modules--5.4.103+gitAUTOINC+feeb59687b_80ade4d43b-r0-qemux86broadband-20220307083421.tgz
    modules-qemux86broadband.tgz
    rdk-generic-broadband-image.env
    rdk-generic-broadband-image-qemux86broadband-dbg.tar.gz
    rdk-generic-broadband-image-qemux86broadband.manifest
    rdk-generic-broadband-image-qemux86broadband.qemuboot.conf
    rdk-generic-broadband-image-qemux86broadband.testdata.json
    rdk-generic-broadband-image-qemux86broadband.wic.vmdk
    systemd-bootia32.efi
    X86EMLTRBB_rdk-next_20220307101902-dbg.rootfs.tar.gz
    X86EMLTRBB_rdk-next_20220307101902.qemuboot.conf
    X86EMLTRBB_rdk-next_20220307101902.rootfs.manifest
    X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk
    X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk.bz2
    X86EMLTRBB_rdk-next_20220307101902.testdata.json
    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$
    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$
    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$ ls tmp/deploy/images/qemux86broadband/
    bzImage
    bzImage--5.4.103+gitAUTOINC+feeb59687b_80ade4d43b-r0-qemux86broadband-20220307083421.bin
    bzImage-qemux86broadband.bin
    modules--5.4.103+gitAUTOINC+feeb59687b_80ade4d43b-r0-qemux86broadband-20220307083421.tgz
    modules-qemux86broadband.tgz
    rdk-generic-broadband-image.env
    rdk-generic-broadband-image-qemux86broadband-dbg.tar.gz
    rdk-generic-broadband-image-qemux86broadband.manifest
    rdk-generic-broadband-image-qemux86broadband.qemuboot.conf
    rdk-generic-broadband-image-qemux86broadband.testdata.json
    rdk-generic-broadband-image-qemux86broadband.wic.vmdk
    systemd-bootia32.efi
    X86EMLTRBB_rdk-next_20220307101902-dbg.rootfs.tar.gz
    X86EMLTRBB_rdk-next_20220307101902.qemuboot.conf
    X86EMLTRBB_rdk-next_20220307101902.rootfs.manifest
    X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk
    X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk.bz2
    X86EMLTRBB_rdk-next_20220307101902.testdata.json

    command `runqemu tmp/deploy/images/qemux86broadband/X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk`

    also failed

    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$ ls tmp/deploy/images/qemux86broadband/X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk
    tmp/deploy/images/qemux86broadband/X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk
    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$
    rdadm@245163:/build/vic/rdkb-0307/build-qemux86broadband$ runqemu tmp/deploy/images/qemux86broadband/X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk
    runqemu - ERROR - Unknown path arg /build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemux86broadband/X86EMLTRBB_rdk-next_20220307101902.rootfs.wic.vmdk
    runqemu - INFO - Cleaning up
    rdadm@245163:/build/vic/rdkb-0307

    How can I have a try with runqemu?


    1. 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

      runqemu - WARNING - Maybe unsupported FSTYPE: vmdk
      runqemu - WARNING - /build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemux86broadband/rdk-generic-broadband-image-qemux86broadband.wic.qemuboot.conf doesn't exist
      runqemu - INFO - Running bitbake -e ...
      runqemu - INFO - Continuing with the following parameters:
      KERNEL: [/build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemux86broadband/bzImage-qemux86broadband.bin]
      MACHINE: [qemux86broadband]
      FSTYPE: [vmdk]
      ROOTFS: [/build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemux86broadband/rdk-generic-broadband-image-qemux86broadband.wic.vmdk]
      CONFFILE: [/build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemux86broadband/rdk-generic-broadband-image-qemux86broadband.qemuboot.conf]
      
      runqemu - INFO - Setting up tap interface under sudo
      runqemu - INFO - Network configuration: ip=192.168.7.2::192.168.7.1:255.255.255.0
      runqemu - INFO - Running /build/vic/rdkb-0307/build-qemux86broadband/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-i386 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=/build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemux86broadband/rdk-generic-broadband-image-qemux86broadband.wic.vmdk,if=virtio,format=vmdk -show-cursor -usb -device usb-tablet -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0   -cpu core2duo -m 256 -serial mon:vc -serial null -kernel /build/vic/rdkb-0307/build-qemux86broadband/tmp/deploy/images/qemux86broadband/bzImage-qemux86broadband.bin -append 'root=/dev/vda rw  mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 '
      1. 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.

  2. Hi, I have a problem to download source code.

    After confirm to login "https://code.rdkcentral.com", try below command.

    $ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-extsrc.xml -b dunfell
    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.

    1.  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.

  3. 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 ?

    1. 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.

  4. 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'

    1. 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

  5. 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


    1. Hi Scott Kamp ,

      Can you please patch those changes for your workspace and check whether the build goes fine . 

      Regards,
      Priyankaa KVB

  6. 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?

    1. Hi Z-Jason Politakis ,

      Can you try to install m4 version as 1.4.9 and try ?

      Regards,
      Priyankaa KVB

      1. 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

        1. Hello Priyankaa K V B 

          Any update on my issue?

          1. Hi Z-Jason Politakis ,

            Please upgrade to 1.4.19 using below steps

            m4 (1).zip

            • Go to recipes-devtools/m4
            • Place m4-1.4.19.inc , m4-native_1.4.19.bb , m4_1.4.19.bb in that path
            • Replace m4 folder i.e, recipes-devtools/m4/m4 with attached m4 folder (which holds patch files for the issue reported)
            • Go to rdk-bbmasks-rdkb-platform.inc and mask the older version of m4 files
            • bitbake -c compile -f m4
            • bitbake <complete image>

            Please try this steps and let me know how this works for you

            Regards,
            Priyankaa KVB

            1. Hello Priyankaa K V B ,

              first I encountered the issue Z-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

              errors
              NOTE: Executing Tasks
              ERROR: util-linux-native-2.35.1-r0 do_configure: configure failed
              ERROR: util-linux-native-2.35.1-r0 do_configure: Execution of '/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/temp/run.do_configure.311250' failed with exit code 1
              ERROR: Logfile of failure stored in: /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/temp/log.do_configure.311250
              Log data follows:
              | DEBUG: Executing shell function autotools_preconfigure
              | DEBUG: Shell function autotools_preconfigure finished
              | DEBUG: Executing python function autotools_aclocals
              | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
              | DEBUG: Python function autotools_aclocals finished
              | DEBUG: Executing shell function do_configure
              | automake (GNU automake) 1.16.1
              | Copyright (C) 2018 Free Software Foundation, Inc.
              | License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
              | This is free software: you are free to change and redistribute it.
              | There is NO WARRANTY, to the extent permitted by law.
              |
              | Written by Tom Tromey <tromey@redhat.com>
              |        and Alexandre Duret-Lutz <adl@gnu.org>.
              | AUTOV is 1.16
              | NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint -I /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/util-linux-2.35.1/m4/
              | autoreconf: Entering directory `.'
              | autoreconf: running: aclocal --system-acdir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/util-linux-2.35.1/m4/ --force -I m4
              | autoreconf: configure.ac: tracing
              | autoreconf: running: libtoolize --copy --force
              | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
              | libtoolize: copying file 'config/ltmain.sh'
              | libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
              | libtoolize: copying file 'm4/libtool.m4'
              | libtoolize: copying file 'm4/ltoptions.m4'
              | libtoolize: copying file 'm4/ltsugar.m4'
              | libtoolize: copying file 'm4/ltversion.m4'
              | libtoolize: copying file 'm4/lt~obsolete.m4'
              | autoreconf: running: /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/bin/autoconf --include=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/util-linux-2.35.1/m4/ --force
              | autoreconf: running: /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/bin/autoheader --include=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/util-linux-2.35.1/m4/ --force
              | autoreconf: running: automake --add-missing --copy --force-missing
              | configure.ac:13: installing 'config/compile'
              | configure.ac:14: installing 'config/missing'
              | sys-utils/Makemodule.am:198: warning: addprefix sys-utils/,$(SETARCH_LINKS: non-POSIX variable name
              | sys-utils/Makemodule.am:198: (probably a GNU make extension)
              | Makefile.am:91:   'sys-utils/Makemodule.am' included from here
              | Makefile.am: installing 'config/depcomp'
              | autoreconf: running: gnu-configize
              | autoreconf: Leaving directory `.'
              | NOTE: Running ../util-linux-2.35.1/configure  --build=x86_64-linux              --host=x86_64-linux             --target=x86_64-linux                   --prefix=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr                --exec_prefix=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr                   --bindir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/bin            --sbindir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/sbin            --libexecdir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/libexec            --datadir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share                 --sysconfdir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/etc            --sharedstatedir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/com                  --localstatedir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/var                 --libdir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/lib            --includedir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/include            --oldincludedir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/include                 --infodir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share/info              --mandir=/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share/man              --disable-silent-rules                  --disable-dependency-tracking                      --enable-libuuid --enable-libblkid         --enable-fsck --enable-kill --enable-last --enable-mesg     --enable-mount --enable-partx --enable-raw --enable-rfkill     --enable-unshare --enable-write         --disable-bfs --disable-chfn-chsh --disable-login     --disable-makeinstall-chown --disable-minix --disable-newgrp     --disable-use-tty-group --disable-vipw         --without-udev         usrsbin_execdir='/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/sbin'     --libdir='/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/lib'   --disable-su --disable-runuser --without-python --disable-pylibmount --without-readline  --without-systemd --without-systemdsystemunitdir --disable-nls --without-cap-ng --disable-setpriv --disable-hwclock-gplv3
              | configure: loading site script /home/rdk/emulator/meta-openembedded/meta-networking/site/endian-little
              | configure: loading site script /home/rdk/emulator/openembedded-core/meta/site/endian-little
              | configure: loading site script /home/rdk/emulator/openembedded-core/meta/site/common-linux
              | configure: loading site script /home/rdk/emulator/openembedded-core/meta/site/common-glibc
              | configure: loading site script /home/rdk/emulator/openembedded-core/meta/site/x86_64-linux
              | configure: loading site script /home/rdk/emulator/openembedded-core/meta/site/common
              | configure: loading site script /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/share/x86_64-linux_config_site.d/ncurses_config
              | checking for x86_64-linux-gcc... gcc
              | checking whether the C compiler works... yes
              | checking for C compiler default output file name... a.out
              | checking for suffix of executables...
              | checking whether we are cross compiling... no
              | checking for suffix of object files... o
              | checking whether we are using the GNU C compiler... yes
              | checking whether gcc  accepts -g... yes
              | checking for gcc  option to accept ISO C89... none needed
              | checking whether gcc  understands -c and -o together... yes
              | checking how to run the C preprocessor... gcc  -E
              | checking for grep that handles long lines and -e... /home/rdk/emulator/build-qemux86broadband/tmp/hosttools/grep
              | checking for egrep... /home/rdk/emulator/build-qemux86broadband/tmp/hosttools/grep -E
              | checking for ANSI C header files... (cached) yes
              | checking for sys/types.h... (cached) yes
              | checking for sys/stat.h... (cached) yes
              | checking for stdlib.h... (cached) yes
              | checking for string.h... (cached) yes
              | checking for memory.h... (cached) yes
              | checking for strings.h... (cached) yes
              | checking for inttypes.h... (cached) yes
              | checking for stdint.h... (cached) yes
              | checking for unistd.h... (cached) yes
              | checking minix/config.h usability... no
              | checking minix/config.h presence... no
              | checking for minix/config.h... no
              | checking whether it is safe to define __EXTENSIONS__... yes
              | checking for a BSD-compatible install... /home/rdk/emulator/build-qemux86broadband/tmp/hosttools/install -c
              | checking whether build environment is sane... yes
              | checking for a thread-safe mkdir -p... /home/rdk/emulator/build-qemux86broadband/tmp/hosttools/mkdir -p
              | checking for gawk... gawk
              | checking whether make sets $(MAKE)... yes
              | checking whether make supports the include directive... yes (GNU style)
              | checking whether make supports nested variables... yes
              | checking how to create a pax tar archive... gnutar
              | checking dependency style of gcc ... none
              | checking whether make supports nested variables... (cached) yes
              | checking for x86_64-linux-ar... ar
              | checking the archiver (ar) interface... ar
              | checking for gcc  option to accept ISO C99... none needed
              | checking for gcc  option to accept ISO Standard C... (cached) none needed
              | checking for bison... no
              | checking for byacc... no
              | checking build system type... x86_64-pc-linux-gnu
              | checking host system type... x86_64-pc-linux-gnu
              | checking for an ANSI C-conforming const... yes
              | checking for working volatile... yes
              | checking whether byte ordering is bigendian... (cached) no
              | checking whether compiler handles -fno-common... yes
              | checking whether compiler handles -Wall... yes
              | checking whether compiler handles -Werror=sequence-point... yes
              | checking whether compiler handles -Wextra... yes
              | checking whether compiler handles -Wextra-semi... no
              | checking whether compiler handles -Wembedded-directive... no
              | checking whether compiler handles -Wmissing-declarations... yes
              | checking whether compiler handles -Wmissing-parameter-type... yes
              | checking whether compiler handles -Wmissing-prototypes... yes
              | checking whether compiler handles -Wno-missing-field-initializers... yes
              | checking whether compiler handles -Wredundant-decls... yes
              | checking whether compiler handles -Wsign-compare... yes
              | checking whether compiler handles -Wtype-limits... yes
              | checking whether compiler handles -Wuninitialized... yes
              | checking whether compiler handles -Wunused-but-set-parameter... yes
              | checking whether compiler handles -Wunused-but-set-variable... yes
              | checking whether compiler handles -Wunused-parameter... yes
              | checking whether compiler handles -Wunused-result... yes
              | checking whether compiler handles -Wunused-variable... yes
              | checking whether compiler handles -Wnested-externs... yes
              | checking whether compiler handles -Wpointer-arith... yes
              | checking whether compiler handles -Wstrict-prototypes... yes
              | checking whether compiler handles -Wformat-security... yes
              | checking whether compiler handles -Wimplicit-function-declaration... yes
              | checking whether compiler handles -Wdiscarded-qualifiers... yes
              | checking whether compiler handles -Wno-clobbered... yes
              | checking whether compiler handles -Wno-cast-function-type... yes
              | checking whether compiler handles -Wno-unused-parameter... yes
              | checking how to print strings... printf
              | checking for a sed that does not truncate output... (cached) sed
              | checking for fgrep... /home/rdk/emulator/build-qemux86broadband/tmp/hosttools/grep -F
              | checking for ld used by gcc ... ld
              | checking if the linker (ld ) is GNU ld... yes
              | checking for BSD- or MS-compatible name lister (nm)... nm
              | checking the name lister (nm) interface... BSD nm
              | checking whether ln -s works... yes
              | checking the maximum length of command line arguments... 1572864
              | checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
              | checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
              | checking for ld  option to reload object files... -r
              | checking for x86_64-linux-objdump... objdump
              | checking how to recognize dependent libraries... pass_all
              | checking for x86_64-linux-dlltool... no
              | checking for dlltool... no
              | checking how to associate runtime and link libraries... printf %s\n
              | checking for x86_64-linux-ar... (cached) ar
              | checking for archiver @FILE support... @
              | checking for x86_64-linux-strip... strip
              | checking for x86_64-linux-ranlib... ranlib
              | checking command to parse nm output from gcc  object... ok
              | checking for sysroot... no
              | checking for a working dd... /home/rdk/emulator/build-qemux86broadband/tmp/hosttools/dd
              | checking how to truncate binary pipes... /home/rdk/emulator/build-qemux86broadband/tmp/hosttools/dd bs=4096 count=1
              | checking for x86_64-linux-mt... no
              | checking for mt... no
              | checking if : is a manifest tool... no
              | checking for dlfcn.h... yes
              | checking for objdir... .libs
              | checking if gcc  supports -fno-rtti -fno-exceptions... no
              | checking for gcc  option to produce PIC... -fPIC -DPIC
              | checking if gcc  PIC flag -fPIC -DPIC works... yes
              | checking if gcc  static flag -static works... yes
              | checking if gcc  supports -c -o file.o... yes
              | checking if gcc  supports -c -o file.o... (cached) yes
              | checking whether the gcc  linker (ld  -m elf_x86_64) supports shared libraries... yes
              | checking whether -lc should be explicitly linked in... no
              | checking dynamic linker characteristics... GNU/Linux ld.so
              | checking how to hardcode library paths into programs... immediate
              | checking whether stripping libraries is possible... yes
              | checking if libtool supports shared libraries... yes
              | checking whether to build shared libraries... yes
              | checking whether to build static libraries... yes
              | checking linker version script flag... --version-script
              | checking if version scripts can use complex wildcards... yes
              | checking for x86_64-linux-pkg-config... no
              | checking for pkg-config... /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/recipe-sysroot-native/usr/bin/pkg-config
              | checking pkg-config is at least version 0.9.0... yes
              | checking whether to build gtk-doc documentation... no
              | checking for gtkdoc-check... no
              | checking for xsltproc... no
              | checking for special C compiler options needed for large files... no
              | checking for _FILE_OFFSET_BITS value needed for large files... no
              | checking whether to enable assertions... yes
              | checking whether struct tm is in sys/time.h or time.h... time.h
              | checking for struct tm.tm_zone... yes
              | checking whether NLS is requested... no
              | checking for msgfmt... no
              | checking for gmsgfmt... :
              | checking for xgettext... no
              | checking for msgmerge... no
              | checking for ld... ld  -m elf_x86_64
              | checking if the linker (ld  -m elf_x86_64) is GNU ld... yes
              | checking for shared library run path origin... done
              | checking 32-bit host C ABI... no
              | checking for the common suffixes of directories in the library search path... lib,lib
              | checking for CFPreferencesCopyAppValue... no
              | checking for CFLocaleCopyCurrent... no
              | checking whether to use NLS... no
              | checking for linux/compiler.h... no
              | checking for linux/blkpg.h... yes
              | checking for linux/major.h... yes
              | checking asm/io.h usability... no
              | checking asm/io.h presence... no
              | checking for asm/io.h... no
              | checking err.h usability... yes
              | checking err.h presence... yes
              | checking for err.h... yes
              | checking errno.h usability... yes
              | checking errno.h presence... yes
              | checking for errno.h... yes
              | checking fcntl.h usability... yes
              | checking fcntl.h presence... yes
              | checking for fcntl.h... yes
              | checking getopt.h usability... yes
              | checking getopt.h presence... yes
              | checking for getopt.h... yes
              | checking for inttypes.h... (cached) yes
              | checking lastlog.h usability... yes
              | checking lastlog.h presence... yes
              | checking for lastlog.h... yes
              | checking libutil.h usability... no
              | checking libutil.h presence... no
              | checking for libutil.h... no
              | checking linux/btrfs.h usability... yes
              | checking linux/btrfs.h presence... yes
              | checking for linux/btrfs.h... yes
              | checking linux/cdrom.h usability... yes
              | checking linux/cdrom.h presence... yes
              | checking for linux/cdrom.h... yes
              | checking linux/falloc.h usability... yes
              | checking linux/falloc.h presence... yes
              | checking for linux/falloc.h... yes
              | checking linux/watchdog.h usability... yes
              | checking linux/watchdog.h presence... yes
              | checking for linux/watchdog.h... yes
              | checking linux/fd.h usability... yes
              | checking linux/fd.h presence... yes
              | checking for linux/fd.h... yes
              | checking linux/raw.h usability... no
              | checking linux/raw.h presence... no
              | checking for linux/raw.h... no
              | checking linux/tiocl.h usability... yes
              | checking linux/tiocl.h presence... yes
              | checking for linux/tiocl.h... yes
              | checking linux/version.h usability... yes
              | checking linux/version.h presence... yes
              | checking for linux/version.h... yes
              | checking linux/securebits.h usability... yes
              | checking linux/securebits.h presence... yes
              | checking for linux/securebits.h... yes
              | checking linux/net_namespace.h usability... yes
              | checking linux/net_namespace.h presence... yes
              | checking for linux/net_namespace.h... yes
              | checking linux/capability.h usability... yes
              | checking linux/capability.h presence... yes
              | checking for linux/capability.h... yes
              | checking locale.h usability... yes
              | checking locale.h presence... yes
              | checking for locale.h... yes
              | checking mntent.h usability... yes
              | checking mntent.h presence... yes
              | checking for mntent.h... yes
              | checking net/if.h usability... yes
              | checking net/if.h presence... yes
              | checking for net/if.h... yes
              | checking net/if_dl.h usability... no
              | checking net/if_dl.h presence... no
              | checking for net/if_dl.h... no
              | checking netinet/in.h usability... yes
              | checking netinet/in.h presence... yes
              | checking for netinet/in.h... yes
              | checking paths.h usability... yes
              | checking paths.h presence... yes
              | checking for paths.h... yes
              | checking pty.h usability... yes
              | checking pty.h presence... yes
              | checking for pty.h... yes
              | checking security/pam_appl.h usability... no
              | checking security/pam_appl.h presence... no
              | checking for security/pam_appl.h... no
              | checking for stdint.h... (cached) yes
              | checking stdio_ext.h usability... yes
              | checking stdio_ext.h presence... yes
              | checking for stdio_ext.h... yes
              | checking for stdlib.h... (cached) yes
              | checking endian.h usability... yes
              | checking endian.h presence... yes
              | checking for endian.h... yes
              | checking byteswap.h usability... yes
              | checking byteswap.h presence... yes
              | checking for byteswap.h... yes
              | checking sys/endian.h usability... no
              | checking sys/endian.h presence... no
              | checking for sys/endian.h... no
              | checking sys/disk.h usability... no
              | checking sys/disk.h presence... no
              | checking for sys/disk.h... no
              | checking sys/disklabel.h usability... no
              | checking sys/disklabel.h presence... no
              | checking for sys/disklabel.h... no
              | checking sys/file.h usability... yes
              | checking sys/file.h presence... yes
              | checking for sys/file.h... yes
              | checking sys/io.h usability... yes
              | checking sys/io.h presence... yes
              | checking for sys/io.h... yes
              | checking sys/ioccom.h usability... no
              | checking sys/ioccom.h presence... no
              | checking for sys/ioccom.h... no
              | checking sys/ioctl.h usability... yes
              | checking sys/ioctl.h presence... yes
              | checking for sys/ioctl.h... yes
              | checking sys/mkdev.h usability... no
              | checking sys/mkdev.h presence... no
              | checking for sys/mkdev.h... no
              | checking sys/mount.h usability... yes
              | checking sys/mount.h presence... yes
              | checking for sys/mount.h... yes
              | checking sys/param.h usability... yes
              | checking sys/param.h presence... yes
              | checking for sys/param.h... yes
              | checking sys/prctl.h usability... yes
              | checking sys/prctl.h presence... yes
              | checking for sys/prctl.h... yes
              | checking sys/resource.h usability... yes
              | checking sys/resource.h presence... yes
              | checking for sys/resource.h... yes
              | checking sys/signalfd.h usability... yes
              | checking sys/signalfd.h presence... yes
              | checking for sys/signalfd.h... yes
              | checking sys/socket.h usability... yes
              | checking sys/socket.h presence... yes
              | checking for sys/socket.h... yes
              | checking sys/sockio.h usability... no
              | checking sys/sockio.h presence... no
              | checking for sys/sockio.h... no
              | checking for sys/stat.h... (cached) yes
              | checking sys/sysmacros.h usability... yes
              | checking sys/sysmacros.h presence... yes
              | checking for sys/sysmacros.h... yes
              | checking sys/swap.h usability... yes
              | checking sys/swap.h presence... yes
              | checking for sys/swap.h... yes
              | checking sys/syscall.h usability... yes
              | checking sys/syscall.h presence... yes
              | checking for sys/syscall.h... yes
              | checking sys/time.h usability... yes
              | checking sys/time.h presence... yes
              | checking for sys/time.h... yes
              | checking sys/timex.h usability... yes
              | checking sys/timex.h presence... yes
              | checking for sys/timex.h... yes
              | checking sys/ttydefaults.h usability... yes
              | checking sys/ttydefaults.h presence... yes
              | checking for sys/ttydefaults.h... yes
              | checking for sys/types.h... (cached) yes
              | checking sys/ucred.h usability... no
              | checking sys/ucred.h presence... no
              | checking for sys/ucred.h... no
              | checking sys/un.h usability... yes
              | checking sys/un.h presence... yes
              | checking for sys/un.h... yes
              | checking for unistd.h... (cached) yes
              | checking shadow.h usability... yes
              | checking shadow.h presence... yes
              | checking for shadow.h... yes
              | checking utmp.h usability... yes
              | checking utmp.h presence... yes
              | checking for utmp.h... yes
              | checking utmpx.h usability... yes
              | checking utmpx.h presence... yes
              | checking for utmpx.h... yes
              | checking for linux/fs.h... no
              | checking for linux/gsmmux.h... yes
              | checking for security/pam_misc.h... no
              | checking linux/blkzoned.h usability... yes
              | checking linux/blkzoned.h presence... yes
              | checking for linux/blkzoned.h... yes
              | checking for security/openpam.h... no
              | checking langinfo.h usability... yes
              | checking langinfo.h presence... yes
              | checking for langinfo.h... yes
              | checking whether langinfo.h defines ALTMON_x constants... yes
              | checking whether langinfo.h defines _NL_ABALTMON_x constants... yes
              | checking for struct termios.c_line... yes
              | checking for struct stat.st_mtim.tv_nsec... yes
              | checking whether _NL_TIME_WEEK_1STDAY is declared... yes
              | checking whether llseek is declared... no
              | checking whether lseek64 is declared... yes
              | checking whether environ is declared... yes
              | checking whether strsignal is declared... yes
              | checking whether TIOCGLCKTRMIOS is declared... yes
              | checking whether SOCK_CLOEXEC is declared... yes
              | checking whether SOCK_NONBLOCK is declared... yes
              | checking whether SO_PASSCRED is declared... yes
              | checking for clearenv... yes
              | checking for __fpurge... yes
              | checking for fpurge... no
              | checking for __fpending... yes
              | checking for secure_getenv... yes
              | checking for __secure_getenv... no
              | checking for eaccess... yes
              | checking for err... yes
              | checking for errx... yes
              | checking for explicit_bzero... yes
              | checking for fmemopen... yes
              | checking for fsync... yes
              | checking for utimensat... yes
              | checking for getdomainname... yes
              | checking for getdtablesize... yes
              | checking for getexecname... no
              | checking for getmntinfo... no
              | checking for getrandom... yes
              | checking for getrlimit... yes
              | checking for getsgnam... yes
              | checking for inotify_init... yes
              | checking for jrand48... yes
              | checking for lchown... yes
              | checking for llseek... no
              | checking for lseek64... yes
              | checking for mempcpy... yes
              | checking for mkostemp... yes
              | checking for nanosleep... yes
              | checking for ntp_gettime... yes
              | checking for personality... yes
              | checking for pidfd_open... no
              | checking for pidfd_send_signal... no
              | checking for posix_fadvise... yes
              | checking for prctl... yes
              | checking for qsort_r... yes
              | checking for rpmatch... yes
              | checking for scandirat... yes
              | checking for setprogname... no
              | checking for setresgid... yes
              | checking for setresuid... (cached) yes
              | checking for sched_setattr... no
              | checking for sched_setscheduler... yes
              | checking for sigqueue... yes
              | checking for srandom... yes
              | checking for strnchr... no
              | checking for strndup... yes
              | checking for strnlen... yes
              | checking for sysconf... yes
              | checking for sysinfo... yes
              | checking for timegm... yes
              | checking for usleep... yes
              | checking for vwarnx... yes
              | checking for warn... yes
              | checking for warnx... yes
              | checking for _LARGEFILE_SOURCE value needed for large files... no
              | checking for openat... yes
              | checking for fstatat... yes
              | checking for unlinkat... yes
              | checking for ioperm... yes
              | checking for iopl... yes
              | checking for futimens... yes
              | checking for inotify_init1... yes
              | checking for open_memstream... yes
              | checking for reboot... yes
              | checking for updwtmpx... yes
              | checking for updwtmpx... (cached) yes
              | checking for getusershell... yes
              | checking for syscall setns... SYS_setns
              | checking for syscall pidfd_open... SYS_pidfd_open
              | checking for syscall pidfd_send_signal... SYS_pidfd_send_signal
              | checking for isnan... yes
              | checking for clock_gettime... yes
              | checking for timer_create... yes
              | checking for rtas_get_sysparm in -lrtas... no
              | checking for struct sockaddr.sa_len... no
              | checking for library containing socket... none required
              | checking for dirfd... yes
              | checking whether program_invocation_short_name is defined... yes
              | checking whether __progname is defined... yes
              | checking whether the target supports thread-local storage... yes
              | (cached) checking scanf string alloc modifiers... (%ms) yes
              | checking for openpty in -lutil... yes
              | checking for union semun... no
              | checking for loff_t... yes
              | checking wchar_t support... yes
              | checking for cpu_set_t... yes
              | checking for sighandler_t... yes
              | checking whether CPU_ALLOC is declared... yes
              | checking crypt.h usability... yes
              | checking crypt.h presence... yes
              | checking for crypt.h... yes
              | checking for x86_64-linux-ncursesw6-config... no
              | checking for ncursesw6-config... ncursesw6-config
              | checking for x86_64-linux-ncursesw5-config... no
              | checking for ncursesw5-config... ncursesw5-config
              | checking for ncursesw... yes
              | checking ncursesw/ncurses.h usability... yes
              | checking ncursesw/ncurses.h presence... yes
              | checking for ncursesw/ncurses.h... yes
              | checking ncursesw/term.h usability... yes
              | checking ncursesw/term.h presence... yes
              | checking for ncursesw/term.h... yes
              | checking for use_default_colors in -lncursesw... yes
              | checking for resizeterm in -lncursesw... yes
              | checking for tinfow... no
              | checking for tgetent in -ltinfow... no
              | checking for tinfo... yes
              | checking for syscall fallocate... SYS_fallocate
              | checking for valid fallocate() function... yes
              | checking for valid posix_fallocate() function... yes
              | checking for syscall unshare... SYS_unshare
              | checking for unshare... yes
              | checking for setns... yes
              | checking for libpcre2-8... yes
              | checking for crc32 in -lz... yes
              | checking for syscall swapon... SYS_swapon
              | checking for syscall swapoff... SYS_swapoff
              | checking for swapon... yes
              | checking for swapoff... yes
              | checking for syscall prlimit64... SYS_prlimit64
              | checking for prlimit... yes
              | checking for syscall pivot_root... SYS_pivot_root
              | configure: error: raw selected, but required raw.h header file not available
              | NOTE: The following config.log files may provide further information.
              | NOTE: /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/build/config.log
              | ERROR: configure failed
              | WARNING: /home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/temp/run.do_configure.311250:1 exit 1 from 'exit 1'
              | ERROR: Execution of '/home/rdk/emulator/build-qemux86broadband/tmp/work/x86_64-linux/util-linux-native/2.35.1-r0/temp/run.do_configure.311250' failed with exit code 1
              ERROR: Task (virtual:native:/home/rdk/emulator/openembedded-core/meta/recipes-core/util-linux/util-linux_2.35.1.bb:do_configure) failed with exit code '1'
              NOTE: Tasks Summary: Attempted 691 tasks of which 616 didn't need to be rerun and 1 failed.
              NOTE: Writing buildhistory
              NOTE: Writing buildhistory took: 4 seconds
              
              Summary: 1 task failed:
                virtual:native:/home/rdk/emulator/openembedded-core/meta/recipes-core/util-linux/util-linux_2.35.1.bb:do_configure
              Summary: There were 30 WARNING messages shown.
              Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
              
              

              Is this is still related to this issue?

              1. Have same problem, any ideas how to solve it?

                1. Hi Ivan Mytsenko 

                  The emulator build is no more maintained for latest RDK-B releases or dunfell branch. The last stable build for emulator is rdkb-2021q1 branch ( morty ). Could you try building this branch.

                  https://code.rdkcentral.com/r/plugins/gitiles/docs/+/refs/heads/rdkb-2021q1/releases/rdkb-2021q1/emu.rst

  7. Hi,

    I'm new to RDK and trying to build and setup my environment. I'm experiencing to syn my repo for dunfell.

    my env details: Ubuntu 22.04

    --------------------------------------

    lab38@lab38-NUC7i7DNKE:~/Desktop/hk4/cpe5.04L.04p2/rdk$ repo sync -j4 --no-clone-bundle
    Password for 'https://vchamarthi@code.rdkcentral.com': 
    remote: Counting objects: 1           
    remote: Counting objects: 111, done        
    remote: Finding sources:   3% (1/35)           
    remote: Finding sources:   6% (2/35)           
    remote: Finding sources:   9% (3/35)           
    remote: Finding sources:  11% (4/35)           
    remote: Finding sources:  14% (5/35)           
    remote: Finding sources:  17% (6/35)           
    remote: Finding sources:  20% (7/35)           
    remote: Finding sources:  23% (8/35)           
    remote: Finding sources:  26% (9/35)           
    remote: Finding sources:  29% (10/35)           
    remote: Finding sources:  31% (11/35)           
    remote: Finding sources:  34% (12/35)           
    remote: Finding sources:  37% (13/35)           
    remote: Finding sources:  40% (14/35)           
    remote: Finding sources:  43% (15/35)           
    remote: Finding sources:  46% (16/35)           
    remote: Finding sources:  49% (17/35)           
    remote: Finding sources:  51% (18/35)           
    remote: Finding sources:  54% (19/35)           
    remote: Finding sources:  57% (20/35)           
    remote: Finding sources:  60% (21/35)           
    remote: Finding sources:  63% (22/35)           
    remote: Finding sources:  66% (23/35)           
    remote: Finding sources:  69% (24/35)           
    remote: Finding sources:  71% (25/35)           
    remote: Finding sources:  74% (26/35)           
    remote: Finding sources:  77% (27/35)           
    remote: Finding sources:  80% (28/35)           
    remote: Finding sources:  83% (29/35)           
    remote: Finding sources:  86% (30/35)           
    remote: Finding sources:  89% (31/35)           
    remote: Finding sources:  91% (32/35)           
    remote: Finding sources:  94% (33/35)           
    remote: Finding sources:  97% (34/35)           
    remote: Finding sources: 100% (35/35)           
    remote: Finding sources: 100% (35/35)        
    remote: Total 35 (delta 33), reused 35 (delta 33)        
    Fetching:  0% (0/131) 0:00 | ..working..Username for 'https://code.rdkcentral.com': Username for 'https://code.rdkcentral.coFetching:  0% (0/131) 17:54 | 4 jobs | 17:53 components/opensource/OMI @ components/opensource/OMI
    Fetching:  0% (0/131) 24:44 | 4 jobs | 24:44 components/opensource/OMI @ components/opensource/OMI

    ----------------------------------------------

    it does not progress anything , could some one help me to resolve is there anything i'm missing.


    thanks

    Vinod

    1. Hi, same problem with ubuntu:focal's image on docker.

      Any ideas?


      Thanks

      Pablo

  8. Hi, bitbake gives me this kind of error after recipe parsing:

    ERROR: Nothing RPROVIDES 'rdk-vlanmanagercrashupload' (but /home/slan/Code/emulator_workspace/meta-rdk/recipes-core/packagegroups/packagegroup-rdk-ccsp-broadband.bb RDEPENDS on or otherwise requires it)
    NOTE: Runtime target 'rdk-vlanmanagercrashupload' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['rdk-vlanmanagercrashupload']
    NOTE: Runtime target 'packagegroup-rdk-ccsp-broadband' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['packagegroup-rdk-ccsp-broadband', 'rdk-vlanmanagercrashupload']
    ERROR: Required build target 'rdk-generic-broadband-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['rdk-generic-broadband-image', 'packagegroup-rdk-ccsp-broadband', 'rdk-vlanmanagercrashupload']

    Is this guide still up to date with current build process of qemu image? 

    1. Same issue here.  Please help.

    2. Hi Szymon Lanucha 

      The emulator build is no more maintained for latest RDK-B releases or dunfell branch. The last stable build for emulator is rdkb-2021q1 branch ( morty ). Could you try building this branch.

      https://code.rdkcentral.com/r/plugins/gitiles/docs/+/refs/heads/rdkb-2021q1/releases/rdkb-2021q1/emu.rst

      1. Hi Deepika Ganapathi Bhat 
        Thanks for the reply. I found out about it later form some other comment.
        I was able to build the emulator image from rdkb-2021q1 branch but unfortunately it was not working as described in the Emulator User Guide.

        Do I understand correctly that RPi4 is the recommended platform for testing? Has anyone tried running Raspberry Pi image with qemu (or other virtualization)?

        1. Hi Szymon Lanucha 

          Yes , currently RPI4 is the recommended platform .  For RPI4 Builds refer : RDKB_2024q1_kirkstone#BuildingforRaspberryPi4B32Bit
          running Raspberry Pi image with qemu is not verified .

  9. Hello Szymon Lanucha , Leo Cheung ,

    Fixed this build issue. Please check again.


    Thanks.

  10. Hello Manigandan Gopalakrishnan 

    I followed the steps provided for building RDK-B platform for QEMU. I see that the build gets failed at the openssl compilation stage with an illegal instruction error. 

    Below is the log snippet:

    | gcc   -I. -Iinclude -I../openssl-1.1.1l -I../openssl-1.1.1l/include -fPIC -pthread -m64 -Wa,--noexecstack -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -O2 -pipe -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/ssl-1.1\"" -DENGINESDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/engines-1.1\"" -DNDEBUG -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -MMD -MF crypto/asn1/a_print.d.tmp -MT crypto/asn1/a_print.o -c -o crypto/asn1/a_print.o ../openssl-1.1.1l/crypto/asn1/a_print.c
    | gcc   -I. -Iinclude -I../openssl-1.1.1l -I../openssl-1.1.1l/include -fPIC -pthread -m64 -Wa,--noexecstack -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -O2 -pipe -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/ssl-1.1\"" -DENGINESDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/engines-1.1\"" -DNDEBUG -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -MMD -MF crypto/asn1/a_sign.d.tmp -MT crypto/asn1/a_sign.o -c -o crypto/asn1/a_sign.o ../openssl-1.1.1l/crypto/asn1/a_sign.c
    | gcc   -I. -Iinclude -I../openssl-1.1.1l -I../openssl-1.1.1l/include -fPIC -pthread -m64 -Wa,--noexecstack -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -O2 -pipe -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/ssl-1.1\"" -DENGINESDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/engines-1.1\"" -DNDEBUG -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -MMD -MF crypto/asn1/a_strex.d.tmp -MT crypto/asn1/a_strex.o -c -o crypto/asn1/a_strex.o ../openssl-1.1.1l/crypto/asn1/a_strex.c
    | gcc   -I. -Iinclude -I../openssl-1.1.1l -I../openssl-1.1.1l/include -fPIC -pthread -m64 -Wa,--noexecstack -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -O2 -pipe -DOPENSSLDIR=/not/builtin -DENGINESDIR=/not/builtin -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/ssl-1.1\"" -DENGINESDIR="\"/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/lib/engines-1.1\"" -DNDEBUG -isystem/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/recipe-sysroot-native/usr/include -MMD -MF crypto/asn1/a_strnid.d.tmp -MT crypto/asn1/a_strnid.o -c -o crypto/asn1/a_strnid.o ../openssl-1.1.1l/crypto/asn1/a_strnid.c
    | Makefile:965: recipe for target 'crypto/asn1/a_strnid.o' failed
    | make[1]: *** [crypto/asn1/a_strnid.o] Illegal instruction
    | make[1]: *** Waiting for unfinished jobs....
    | <command-line>:0:0: warning: "OPENSSLDIR" redefined
    | <command-line>:0:0: note: this is the location of the previous definition
    | <command-line>:0:0: warning: "ENGINESDIR" redefined
    | <command-line>:0:0: note: this is the location of the previous definition
    | <command-line>:0:0: warning: "OPENSSLDIR" redefined
    | <command-line>:0:0: note: this is the location of the previous definition
    | <command-line>:0:0: warning: "ENGINESDIR" redefined
    | <command-line>:0:0: note: this is the location of the previous definition
    | <command-line>:0:0: warning: "OPENSSLDIR" redefined
    | <command-line>:0:0: note: this is the location of the previous definition
    | <command-line>:0:0: warning: "ENGINESDIR" redefined
    | <command-line>:0:0: note: this is the location of the previous definition
    | make[1]: Leaving directory '/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/build'
    | Makefile:178: recipe for target 'all' failed
    | make: *** [all] Error 2
    | ERROR: oe_runmake failed
    | WARNING: exit code 1 from a shell command.
    | ERROR: Execution of '/home/somanath/build-qemux86broadband/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/temp/run.do_compile.11658' failed with exit code 1
    ERROR: Task (virtual:native:/home/somanath/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.1.1l.bb:do_compile) failed with exit code '1'


    Could you please help to understand if there is any package or any other dependency to override this.

    Thanks,

    Somanath

    1. Hello Somanath ,

      Tried to build Emulator image even today. We did not face above mentioned issue.

      Looks like the issue is related with build environment.


      Thanks.

  11. After giving this command $ bitbake rdk-generic-broadband-image . we are getting 2 errors. Pasting the whole response

    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-restricted/recipes-qt/servicemanager/
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-restricted/recipes-qt/servicemanagerfunctionaltest/
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-restricted/recipes-qt/rdkbrowser/
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-restricted/recipes-extended/podmgr/
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-video/recipes-extended/asbluetoothrcu/
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-video/recipes-extended/mediaframework/runpod_git.bb
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-video/recipes-extended/mediaframework/rmfpodmgr_git.bb
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-video/recipes-extended/mediaframework/rmfpodmgrheaders_git.bb
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-video/recipes-extended/mediaframework/rmfpodserver_git.bb
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-video/recipes-extended/trm/qtapp_git.bb
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-video/recipes-extended/trm/wsproxy_git.bb
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk/recipes-core/packagegroups/packagegroup-rdk-qt5.bb
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk/recipes-qt/qt5/
    WARNING: BBMASK contains regular expression beginning with '|', fixing: |meta-rdk-ext/recipes-extended/libqjson/|meta-cmf-qt5/|meta-qt5/|meta-rdk-ext/recipes-qt/qt5/
    Loading cache: 100% |###########################################################################################################################################################################| Time: 0:00:00
    Loaded 4438 entries from dependency cache.
    Parsing recipes: 100% |#########################################################################################################################################################################| Time: 0:00:01
    Parsing of 3062 .bb files complete (2983 cached, 79 parsed). 4517 targets, 492 skipped, 438 masked, 0 errors.
    WARNING: No recipes available for:
      /home/ubuntu/workspace/meta-rdk-broadband/recipes-rdkb/quagga/quagga_1.2.1.bbappend
      /home/ubuntu/workspace/meta-rdk-broadband/recipes-support/libsoup/libsoup-2.4_2.74.2.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-common/ulogd/ulogd.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/bind/bind_9.18.5.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/bluez/bluez5_5.65.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/bluez5/bluez5_5.54.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/gupnp/gssdp_1.4.0.1.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/libuv/libuv_1.41.0.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/libuv/libuv_1.44.2.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/mosquitto/mosquitto_2.0.14.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/openssl/openssl_1.1.1n.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-connectivity/openssl/openssl_3.0.5.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-containers/lxc/lxc_4.0.%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/dropbear/dropbear_2020.81.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/expat/expat_2.4.%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/glib-2.0/glib-2.0_2.38%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/glib-2.0/glib-2.0_2.72%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/glib-networking/glib-networking_2.72.%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/glibc/glibc_2.35.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/libxml2/libxml2_2.9.14.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/systemd/systemd-conf_1.0.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/systemd/systemd_250.5.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-core/util-linux/util-linux_2.37.4.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-devtools/cmake/cmake-native_3.22.3.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-devtools/lua/lua_5.3.5.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-extended/pam/libpam_1.5.2.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-kernel/linux/stblinux_android-5%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-kernel/linux/stblinux_android-5.4-r-ab1.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-networking/openvswitch/openvswitch_2.13.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/c-ares/c-ares_1.18.1.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/curl/curl_7.79%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/curl/curl_7.82%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/dnsmasq/dnsmasq_2.86.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/grpc/grpc_1.14.1.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/libcap/libcap_2.65.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/libexif/libexif_0.6.21.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/libgcrypt/libgcrypt_1.9%.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/libpcre/libpcre2_10.40.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/libproxy/libproxy_0.4.13.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/libsoup/libsoup-2.4_2.74.2.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/libtinyxml2/libtinyxml2_9.0.0.bbappend
      /home/ubuntu/workspace/meta-rdk-ext/recipes-support/lvm2/lvm2_2.03.11.bbappend
      /home/ubuntu/workspace/meta-cmf-broadband/recipes-connectivity/opensync/opensync_3.2.7.bbappend
      /home/ubuntu/workspace/meta-cmf-broadband/recipes-connectivity/opensync/opensync_git.bbappend
      /home/ubuntu/workspace/meta-rdk/recipes-extended/sysint/sysint-min_git.bbappend
      /home/ubuntu/workspace/meta-rdk/recipes-support/nettle/nettle_3.7.%.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-connectivity/bluetooth/bluetooth-core_git.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-connectivity/mosquitto/mosquitto_2.0.14.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.7.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-core/images/rdk-generic-hybrid-wpe-lxc-image.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-kernel/linux/android-raspberrypi_%.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-kernel/linux/linux-meson_%.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-kernel/linux/linux-raspberrypi-rt_%.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-kernel/linux/linux-raspberrypi_%.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-kernel/linux/linux-rtk_%.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-kernel/linux/stblinux_%.bbappend
      /home/ubuntu/workspace/meta-cmf/recipes-protocols/net-snmp/net-snmp_5.9.1.bbappend
      /home/ubuntu/workspace/meta-cmf-mesh/recipes-opensync/opensync/opensync_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/dtm-analytics/dtm-analytics_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/iarmmgrs/iarmmgrs-hal-headers_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/qt5/qtbase_5.1.1.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/qtbase/qtbase_5.1.1.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/rdkservices/wpeframework-clientlibraries_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/rdkservices/wpeframework-plugins_%.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/secclient/secauthn-crypto_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/secclient/secclient_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/secclient/socprovapi-crypto_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/storagemanager/storagemanager_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-extended/wpe-framework/rdkservices-comcast_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-graphics/directfb/linux-fusion_9.0.3.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.%.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-rpi/authservice/authservice_git.bbappend
      /home/ubuntu/workspace/meta-rdk-bsp-emulator/recipes-rpi/secapi/secapi-crypto-brcm_git.bbappend
    NOTE: Resolving any missing task queue dependencies
    WARNING: preferred version 2.7 of jansson not available (for item jansson)
    WARNING: versions of jansson available: 2.13.1
    WARNING: preferred version 3.3.12 of procps not available (for item procps)
    WARNING: versions of procps available: 3.3.16
    WARNING: preferred version 1.10.10 of dbus not available (for item dbus)
    WARNING: versions of dbus available: 1.12.16
    WARNING: preferred version 1.10.10 of dbus not available (for item dbus)
    WARNING: versions of dbus available: 1.12.16
    WARNING: preferred version 2.7 of jansson not available (for item jansson)
    WARNING: versions of jansson available: 2.13.1
    WARNING: preferred version 2.7 of jansson not available (for item jansson-dev)
    WARNING: versions of jansson available: 2.13.1
    WARNING: preferred version 3.3.12 of procps not available (for item procps-dev)
    WARNING: versions of procps available: 3.3.16
    WARNING: preferred version 1.10.10 of dbus not available (for item dbus-dev)
    WARNING: versions of dbus available: 1.12.16
    WARNING: preferred version 1.10.10 of dbus not available (for item dbus-x11)
    WARNING: versions of dbus available: 1.12.16

    Build Configuration:
    BB_VERSION           = "1.46.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-22.04"
    TARGET_SYS           = "i686-rdk-linux"
    MACHINE              = "qemux86broadband"
    DISTRO               = "rdk"
    DISTRO_VERSION       = "2.0"
    TUNE_FEATURES        = "m32 core2"
    TARGET_FPU           = ""
    meta-cmf             = "HEAD:e8d1ada1a3c9f6068a1258567a33bda711a0cafc"
    meta-cmf-mesh        = "HEAD:0a93ba9c1727498ebc3019a6c3796cdd903eb838"
    meta-cmf-broadband   = "HEAD:3880935cfca3fb0ea2ef4213fb92e8f3a6bb0a4a"
    meta-cmf-bsp-emulator = "HEAD:81c581a4e2522866be1a0c36d3cd2cd3fb2ca9fe"
    meta-rdk-bsp-emulator = "HEAD:f2ccfce779ee836ca5e026dbdccb834b0f802dc3"
    meta-rtlwifi         = "HEAD:eb88c8f21115e1dd9cbbf320356cc531591989b0"
    meta-rdk             = "HEAD:debf1a47c2bf9feb1ab014e0239aa02fce2eba65"
    meta-webserver       
    meta-multimedia      
    meta-filesystems     
    meta-oe              
    meta-networking      = "HEAD:a5d4c15269b96b3d4ca4f3d8cdb3749b00622777"
    meta                 = "HEAD:07eb51b9bbbbc9a4b6ebc8ac823494e0f644fb2e"
    meta-gplv2           = "HEAD:60b251c25ba87e946a0ca4cdc8d17b1cb09292ac"
    meta-python2         = "HEAD:b901080cf57d9a7f5476ab4d96e56c30db8170a8"
    meta-virtualization  = "HEAD:77af3345cb99ae08b04a354b37c4afebd8b36981"
    meta-rdk-broadband   = "HEAD:1326f6a7c2b4ffa36b7f2e4583978fd97f0d45f0"
    meta-rdk-ext         = "HEAD:bb67996efa7038ab2c1e0406a72e61860ffd0654"
    meta-python          = "HEAD:a5d4c15269b96b3d4ca4f3d8cdb3749b00622777"
    meta-rdk-wan         = "HEAD:4b39d0b2663b1d45bbf7fa637dab035885eddb1f"

    Initialising tasks: 100% |######################################################################################################################################################################| Time: 0:00:05
    Sstate summary: Wanted 1694 Found 0 Missed 1694 Current 5 (0% match, 0% complete)
    NOTE: Executing Tasks
    ERROR: m4-native-1.4.18-r0 do_compile: oe_runmake failed
    ERROR: m4-native-1.4.18-r0 do_compile: Execution of '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/run.do_compile.24847' failed with exit code 1
    ERROR: Logfile of failure stored in: /home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_compile.24847
    Log data follows:
    | DEBUG: Executing python function autotools_aclocals
    | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
    | DEBUG: Python function autotools_aclocals finished
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 8 infodir=/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/share/info
    | make  all-recursive
    | make[1]: Entering directory '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build'
    | Making all in .
    | make[2]: Entering directory '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build'
    | make[2]: Nothing to be done for 'all-am'.
    | make[2]: Leaving directory '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build'
    | Making all in examples
    | make[2]: Entering directory '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/examples'
    | make[2]: Nothing to be done for 'all'.
    | make[2]: Leaving directory '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/examples'
    | Making all in lib
    | make[2]: Entering directory '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/lib'
    | make  all-am
    | make[3]: Entering directory '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/lib'
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o c-stack.o ../../m4-1.4.18/lib/c-stack.c
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o closein.o ../../m4-1.4.18/lib/closein.c
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o closeout.o ../../m4-1.4.18/lib/closeout.c
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/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
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o basename.o ../../m4-1.4.18/lib/basename.c
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o dirname-lgpl.o ../../m4-1.4.18/lib/dirname-lgpl.c
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o basename-lgpl.o ../../m4-1.4.18/lib/basename-lgpl.c
    | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o stripslash.o ../../m4-1.4.18/lib/stripslash.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 '/home/ubuntu/workspace/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 '/home/ubuntu/workspace/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 '/home/ubuntu/workspace/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: /home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/run.do_compile.24847:1 exit 1 from 'exit 1'
    | ERROR: Execution of '/home/ubuntu/workspace/build-qemux86broadband/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/run.do_compile.24847' failed with exit code 1
    ERROR: Task (/home/ubuntu/workspace/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 149 tasks of which 140 didn't need to be rerun and 1 failed.
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 2 seconds

    Summary: 1 task failed:
      /home/ubuntu/workspace/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile
    Summary: There were 33 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

  12. Hi Team, 
     
    At first we build the host environment by following the document "https://wiki.rdkcentral.com/display/RDK/How+to+Build#HowtoBuild-SettinguptheHostEnvironment". We are using AWS Ubuntu 18.04 LTS version. 

    In the second step, we followed every thing from this document "https://wiki.rdkcentral.com/display/RDK/RDK-B+Emulator+Dunfell+Build+Instructions". However at the last step i.e "bitbake rdk-generic-broadband-image", after giving this command we are getting the following error:

    NOTE: Resolving any missing task queue dependencies
    ERROR: Nothing PROVIDES 'ccsp-common-library' (but /home/ubuntu/workspace/meta-rdk/recipes-core/packagegroups/packagegroup-rdk-ccsp-broadband.bb DEPENDS on or otherwise requires it)
    NOTE: Runtime target 'packagegroup-rdk-ccsp-broadband' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['packagegroup-rdk-ccsp-broadband', 'ccsp-common-library']
    ERROR: Required build target 'rdk-generic-broadband-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['rdk-generic-broadband-image', 'packagegroup-rdk-ccsp-broadband', 'ccsp-common-library']


    Please help us to resolve this issue with urgency.

    Thank you

    1. Hi team,

       I'm getting the same error as the previous poster.

      Please help!

      1. Hi  Abhijith Narayan 

        Emulator is passively supported in RDKB.
        Currently RPI4 is the recommended platform.  For RPI4 Builds refer : RDKB_2024q2_kirkstone#BuildingforRaspberryPi4B32Bit

  13. I'm getting stuck when running repo sync -j4 --no-clone-bundle 

    Fetching:  0% (0/45) 0:00 | ..working..Username for 'https://code.rdkcentral.com': Username for 'https://code.rdkcentral.com': Username for 'https://code.rdkcentral.com': Username for 'https://code.rdkcentral.Fetching:  0% (0/45) 25:59 | 4 jobs | 25:59 components/opensource/OMI @ components/opensource/OMI

    Any suggestions?

  14. fatal: could not read Username for 'https://gerrit.teamccp.com': No such device or address
    when running bitbake rdk-generic-broadband-dev-image


    Any suggestions please?

  15. Youssef Kafa ,


    In case it's authentication error , then make sure your access credentials are with the licensed organization as given in License page.


    Thanks

    RK

  16. Hi Team, 

    i am getting this error please help me 

    MACHINE=qemux86broadband source meta-cmf/setup-environment
    You had no conf/local.conf file. This configuration file has therefore been
    created for you with some default values. You may wish to edit it to, for
    example, select a different MACHINE (target hardware). See conf/local.conf
    for more information as common configuration options are commented.

    You had no conf/bblayers.conf file. This configuration file has therefore been
    created for you with some default values. To add additional metadata layers
    into your configuration please add entries to conf/bblayers.conf.

    The Yocto Project has extensive documentation about OE including a reference
    manual which can be found at:
        http://yoctoproject.org/documentation

    For more information about OpenEmbedded see their website:
        http://www.openembedded.org/


    Common targets are:
        core-image-minimal
        rdk-oss-image
        rdk-generic-hybrid-image
        rdk-generic-mediaclient-image
        rdk-generic-broadband-image
        rdk-generic-camera-image
        rdk-generic-broadband-tdk-image
        rdk-generic-broadband-dev-image
        rdk-generic-hybrid-dev-image
        rdk-generic-mediaclient-dev-image

    You can also run generated qemu images with a command like 'runqemu qemuarm'

    ##
    ## WARNING: No machine configs found for 'qemux86broadband' !
    ##
    ## That looks very suspicious, you should check your configuration
    ##
    ## Possible alternatives might be:
    ##
    ##   creator-ci20
    ##   qemuarm
    ##   qemuarm64
    ##   qemuarmv5
    ##   qemumips
    ##   qemumips64
    ##   qemuppc
    ##   qemuriscv64
    ##   qemux86
    ##   qemux86-64
    ##   qemux86copy
    ##   raspberrypi
    ##   raspberrypi0
    ##   raspberrypi0-wifi
    ##   raspberrypi2
    ##   raspberrypi3
    ##   raspberrypi3-64
    ##   raspberrypi3-rdk-camera
    ##   raspberrypi4
    ##   raspberrypi4-64
    ##   raspberrypi4-64-rdk-android-hybrid
    ##   raspberrypi4-64-rdk-android-ipstb-oss
    ##   raspberrypi4-64-rdk-android-mc
    ##   raspberrypi4-64-rdk-broadband
    ##   raspberrypi4-64-rdk-hybrid
    ##   raspberrypi4-64-rdk-ipstb-oss
    ##   raspberrypi4-64-rdk-mc
    ##   raspberrypi4-64-rdk-multilib
    ##   raspberrypi4-rdk-broadband
    ##   raspberrypi4-rdk-broadband_5.10
    ##   raspberrypi4-rdk-broadband-bci
    ##   raspberrypi4-rdk-extender
    ##   raspberrypi4-rdk-hybrid-lxc
    ##   raspberrypi-cm
    ##   raspberrypi-cm3
    ##   raspberrypi-rdk-boot-time-broadband
    ##   raspberrypi-rdk-broadband
    ##   raspberrypi-rdk-hybrid
    ##   raspberrypi-rdk-hybrid-generic
    ##   raspberrypi-rdk-mc
    ##

    Configuration files have been created for the following configuration:

     DISTRO: 
     MACHINE: qemux86broadband

    dirname: missing operand
    Try 'dirname --help' for more information.

    1. Hi  Balakumar S 

      Emulator is passively supported in RDKB.
      Currently RPI4 is the recommended platform.  For RPI4 Builds refer : RDKB_2024q2_kirkstone#BuildingforRaspberryPi4B32Bit

      1. Hi Deepika Ganapathi Bhat Is it possible to set up an RDK-B emulator on a local Ubuntu machine? 

        1. Hi Balakumar S 

          Yes , RDK-B emulator cab be set up on a local Ubuntu machine , Currently not all the features are available in Emulator build. It is recommended to use RPI4 as reference.

          1. Hi Deepika Ganapathi Bhat


            Could you please provide the steps to stepup RDKB emululator? I am currently using these steps on a local Ubuntu machine.


            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


            Am getting this error.

            $ bitbake rdk-generic-broadband-image
            ERROR: Unable to start bitbake server (None)
            ERROR: Server log for this session (/home/vvdn/Desktop/sep3/manifests/build-qemux86broadband/bitbake-cookerdaemon.log):
            --- Starting bitbake server pid 81373 at 2024-09-03 14:42:21.184964 ---
            ERROR: ParseError at /home/vvdn/Desktop/sep3/manifests/build-qemux86broadband/conf/local.conf:247: Could not include required file conf/distro/include/##RDK_FLAVOR##.inc


            Please help me on this. thanks for your support