EDIT:

The following problems were solved by:


1) installing git 2.10.2 and openjdk-8-jre 
2) using a build machine with 4 cores and 16GB RAM


repo init -u 
https://code.rdkcentral.com/r/manifests -m emulator.xml -b rdkv-20200207
repo sync --no-clone-bundle
source meta-cmf/setup-environment  

tried both
38) meta-rdk-bsp-emulator/conf/machine/qemux86hyb-dev.conf
39) meta-rdk-bsp-emulator/conf/machine/qemux86hyb-dvb.conf

ERROR: wpe-webkit-0.4.3+gitAUTOINC+bc64bbadf2-r0 do_configure: Function failed: do_configure (log file is located at /home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/temp/log.do_configure.19279)
ERROR: Logfile of failure stored in: /home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/temp/log.do_configure.19279
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| -- The C compiler identification is GNU 6.4.0
| -- The CXX compiler identification is GNU 6.4.0
| -- Check for working C compiler: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/i586-rdk-linux/i586-rdk-linux-gcc
| -- Check for working C compiler: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/i586-rdk-linux/i586-rdk-linux-gcc -- works
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Check for working CXX compiler: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/i586-rdk-linux/i586-rdk-linux-g++
| -- Check for working CXX compiler: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/i586-rdk-linux/i586-rdk-linux-g++ -- works
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| -- Found Gperf: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/gperf (Required is at least version "3.0.1")
| -- Found Perl: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/perl-native/perl (found suitable version "5.22.1", minimum required is "5.10.0")
| -- Found PythonInterp: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/python-native/python2.7 (found suitable version "2.7.12", minimum required is "2.7.0")
| -- Found Ruby: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/ruby (found suitable version "2.4.3", minimum required is "1.9")
| -- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
| -- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
| -- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
| -- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
| -- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
| -- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-std=c++14
| -- Performing Test CXX_COMPILER_SUPPORTS_-std=c++14 - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
| -- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wall
| -- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wextra
| -- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
| -- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
| -- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
| -- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
| -- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wundef
| -- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings
| -- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wall
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wextra
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
| -- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Failed
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-noexcept-type
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-noexcept-type - Failed
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
| -- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
| -- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Failed
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Failed
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined
| -- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Failed
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined
| -- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Failed
| -- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
| -- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
| -- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
| -- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
| -- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
| -- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
| -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
| -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
| -- Looking for features.h
| -- Looking for features.h - found
| -- Looking for errno.h
| -- Looking for errno.h - found
| -- Looking for langinfo.h
| -- Looking for langinfo.h - found
| -- Looking for sys/mman.h
| -- Looking for sys/mman.h - found
| -- Looking for pthread_np.h
| -- Looking for pthread_np.h - not found
| -- Looking for strings.h
| -- Looking for strings.h - found
| -- Looking for sys/param.h
| -- Looking for sys/param.h - found
| -- Looking for sys/time.h
| -- Looking for sys/time.h - found
| -- Looking for sys/timeb.h
| -- Looking for sys/timeb.h - found
| -- Looking for _aligned_malloc
| -- Looking for _aligned_malloc - not found
| -- Looking for IsDebuggerPresent
| -- Looking for IsDebuggerPresent - not found
| -- Looking for localtime_r
| -- Looking for localtime_r - found
| -- Looking for strnstr
| -- Looking for strnstr - not found
| -- Looking for timegm
| -- Looking for timegm - found
| -- Looking for vasprintf
| -- Looking for vasprintf - found
| -- Looking for regexec
| -- Looking for regexec - found
| -- Looking for SIGTRAP
| -- Looking for SIGTRAP - found
| -- Performing Test HAVE_STAT_BIRTHTIME_value
| -- Performing Test HAVE_STAT_BIRTHTIME_value - Failed
| -- Performing Test HAVE_TM_GMTOFF_value
| -- Performing Test HAVE_TM_GMTOFF_value - Success
| -- Performing Test HAVE_TM_ZONE_value
| -- Performing Test HAVE_TM_ZONE_value - Success
| -- Looking for sys/types.h
| -- Looking for sys/types.h - found
| -- Looking for stdint.h
| -- Looking for stdint.h - found
| -- Looking for stddef.h
| -- Looking for stddef.h - found
| -- Check size of __int128_t
| -- Check size of __int128_t - failed
| -- Found PkgConfig: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/bin/pkg-config (found version "0.29.1")
| -- Checking for module 'atk'
| --   Found atk, version 2.20.0
| -- Found ATK: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/include/atk-1.0 (found suitable version "2.20.0", minimum required is "2.10.0")
| -- Checking for module 'icu-uc'
| --   Found icu-uc, version 64.1
| -- Checking for module 'icu-i18n'
| --   Found icu-i18n, version 64.1
| -- Found ICU header files in /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/include
| -- Found ICU libraries: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/lib/libicuuc.so
| -- Found ICU internationaliation libraries: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/lib/libicui18n.so
| -- Found ICU data libraries: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/lib/libicudata.so
| -- Looking for pthread.h
| -- Looking for pthread.h - found
| -- Looking for pthread_create
| -- Looking for pthread_create - not found
| -- Looking for pthread_create in pthreads
| -- Looking for pthread_create in pthreads - not found
| -- Looking for pthread_create in pthread
| -- Looking for pthread_create in pthread - found
| -- Found Threads: TRUE
| -- Found ZLIB: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/lib/libz.so (found version "1.2.11")
| -- Found GLIB: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/include/glib-2.0;/home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/lib/glib-2.0/include (found suitable version "2.48.2", minimum required is "2.38.0")
| -- Found Cairo: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/include/cairo (found suitable version "1.14.6", minimum required is "1.10.2")
| -- Checking for module 'fontconfig'
| --   Found fontconfig, version 2.12.1
| -- Found Fontconfig: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/lib/libfontconfig.so (Required is at least version "2.8.0")
| -- Checking for module 'freetype2'
| --   Found freetype2, version 21.0.15
| -- Found Freetype2: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/include/freetype2/freetype;/home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/include/freetype2 (Required is at least version "2.4.2")
| -- Found Harfbuzz: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/include/harfbuzz (found version "1.7.4")
| -- Found JPEG: /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/qemux86hyb-dev/usr/lib/libjpeg.so
| CMake Error at /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
|   Could NOT find LibGcrypt (missing: LIBGCRYPT_LIBRARY LIBGCRYPT_INCLUDE_DIR)
|   (Required is at least version "1.5.3")
| Call Stack (most recent call first):
|   /home/user/emulator2/build-qemux86hyb-dev/tmp/sysroots/i686-linux/usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
|   Source/cmake/FindLibGcrypt.cmake:74 (find_package_handle_standard_args)
|   Source/cmake/OptionsWPE.cmake:98 (find_package)
|   Source/cmake/WebKitCommon.cmake:59 (include)
|   CMakeLists.txt:150 (include)
|
|
| -- Configuring incomplete, errors occurred!
| See also "/home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/build/CMakeFiles/CMakeOutput.log".
| See also "/home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/build/CMakeFiles/CMakeError.log".
| WARNING: /home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/temp/run.do_configure.19279:1 exit 1 from 'cmake ${OECMAKE_SITEFILE} /home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/git -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE=/home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/toolchain.cmake -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_SHARED_LIBS=ON -DPORT=WPE -G Ninja -DEXPORT_DEPRECATED_WEBKIT2_C_API=ON -DENABLE_TOOLS=OFF -DENABLE_ACCELERATED_2D_CANVAS=ON -DENABLE_ALLINONE_BUILD=ON -DENABLE_CSS_SHAPES=ON -DENABLE_DEVICE_ORIENTATION=OFF -DENABLE_SQLITE_ENCRYPTION_EXTENSION=OFF -DENABLE_ENCRYPTED_MEDIA=ON -DENABLE_FETCH_API=ON -DENABLE_LOGS=ON -DENABLE_FULLSCREEN_API=OFF -DUSE_FUSION_API_GSTREAMER=OFF -DENABLE_GAMEPAD=OFF -DENABLE_GEOLOCATION=OFF -DENABLE_HIGH_DPI_CANVAS=OFF -DENABLE_DATABASE_PROCESS=OFF -DENABLE_INDEXED_DATABASE=OFF -DENABLE_INPUT_SPEECH=OFF -DENABLE_INTL=ON -DENABLE_MATHML=OFF -DENABLE_MEDIA_SOURCE=ON -DENABLE_MEDIA_STREAM=OFF -DENABLE_WEB_RTC=OFF -DENABLE_METER_ELEMENT=OFF -DENABLE_NATIVE_AUDIO=ON -DENABLE_NATIVE_VIDEO=OFF -DENABLE_NOTIFICATIONS=OFF -DENABLE_OPENCDM=OFF -DENABLE_PERFORMANCE_TIMELINE=ON -DENABLE_PICTURE_SIZES=ON -DENABLE_PROMISES=ON -DENABLE_PROVISIONING=OFF -DENABLE_REMOTE_INSPECTOR=OFF -DENABLE_RESOURCE_TIMING=ON -DENABLE_SAMPLING_PROFILER=ON -DENABLE_SCRIPTED_SPEECH=OFF -DENABLE_SHADOW_DOM=OFF -DENABLE_SUBTLE_CRYPTO=OFF -DENABLE_SUID_SANDBOX_LINUX=OFF -DENABLE_SVG_FONTS=OFF -DENABLE_TOUCH_EVENTS=OFF -DENABLE_VIDEO=ON -DENABLE_VIDEO_TRACK=ON -DENABLE_VP9_HDR=OFF -DENABLE_WEB_AUDIO=OFF -DUSE_WPEWEBKIT_BACKEND_WESTEROS=ON -DUSE_WPEWEBKIT_PLATFORM_WESTEROS=ON -DUSE_KEY_INPUT_HANDLING_LINUX_INPUT=OFF -DUSE_HOLE_PUNCH_GSTREAMER=ON -DUSE_HOLE_PUNCH_EXTERNAL=ON -DUSE_WESTEROS_SINK=ON -DENABLE_OPENCDM=OFF -Wno-dev'
| ERROR: Function failed: do_configure (log file is located at /home/user/emulator2/build-qemux86hyb-dev/tmp/work/i586-rdk-linux/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/temp/log.do_configure.19279)
ERROR: Task (/home/user/emulator2/meta-rdk-ext/recipes-extended/wpe-webkit/wpe-webkit_0.4.3.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2178 tasks of which 1946 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/user/emulator2/meta-rdk-ext/recipes-extended/wpe-webkit/wpe-webkit_0.4.3.bb:do_configure
Summary: There were 8 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
user@ubuntu:~/emulator2/build-qemux86hyb-dev$


  • No labels

11 Comments

  1. Please use `qemux86hyb-morty` machine.

    1. I believe that I tried that also but I will try again to be sure.


      1. i was using qemux86broadband-morty.conf i am getting the fallowing error can you help me 

        Traceback (most recent call last):
        File "/home/muddu/RDK_workspace/openembedded-core/bitbake/lib/bb/persist_data.py", line 33, in <module>
        import sqlite3
        File "/usr/local/lib/python3.6/sqlite3/__init__.py", line 23, in <module>
        from sqlite3.dbapi2 import *
        File "/usr/local/lib/python3.6/sqlite3/dbapi2.py", line 27, in <module>
        from _sqlite3 import *
        ModuleNotFoundError: No module named '_sqlite3'

        During handling of the above exception, another exception occurred:

        Traceback (most recent call last):
        File "/home/muddu/RDK_workspace/openembedded-core/bitbake/bin/bitbake", line 31, in <module>
        import bb
        File "/home/muddu/RDK_workspace/openembedded-core/bitbake/lib/bb/__init__.py", line 79, in <module>
        from bb import fetch2 as fetch
        File "/home/muddu/RDK_workspace/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 39, in <module>
        import bb.persist_data, bb.utils
        File "/home/muddu/RDK_workspace/openembedded-core/bitbake/lib/bb/persist_data.py", line 35, in <module>
        from pysqlite2 import dbapi2 as sqlite3
        ModuleNotFoundError: No module named 'pysqlite2'

  2. Confirmed - Same exact error under Morty.

    note: I see in other components there are patches related to finding LibGcrypt. I'm guessing a similar patch is missing from wpe-webkit?



  3. please try sourcing `source meta-cmf-bsp-emulator/setup-environment` instead of the one in `meta-cmf`.


  4. I cannot reproduce it. This works for me:


    repo init -u https://code.rdkcentral.com/r/manifests -m emulator.xml -b rdkv-20200207
    repo sync --no-clone-bundle
    source meta-cmf-bsp-emulator/setup-environment
    Choose "qemux86hyb-morty"
    bitbake rdk-generic-hybrid-image
    1. What is your OS?  I am using a fresh install of Ubuntu 16.04 and following instructions from here:

      RDK-V Emulator Build Instructions

      I'll try again on Sunday with a different machine with more memory (currently 6 GB).


      thanks,


      r

  5. I've tried multiple machines.

    I followed instructions here RDK-V Emulator Build Instructions

    I followed the suggested:

    repo init -u https://code.rdkcentral.com/r/manifests -m emulator.xml -b rdkv-20200207
    repo sync --no-clone-bundle
    source meta-cmf-bsp-emulator/setup-environment Choose "qemux86hyb-morty"
    bitbake rdk-generic-hybrid-image

    After about 20 attempts, I cannot get it to build. I've tried machines with 32 and 64 bit ubuntu 16.04. 4 and 8GB, 1,2,4 CPUs, vmware, virtualbox, kvm, default repos, non-default repos.

    Using different number of CPUs of course also can change results as targets are hit in a different order.

    Can anybody else report successfully building the RDK-V emulator?

    Anybody have a shell script or a Dockerfile?



    | ERROR: oe_runmake failed
    | {standard input}:155474: Error: no such instruction: `_zn7webcore22ins'
    | i586-rdk-linux-g++: internal compiler error: Killed (program cc1plus)
    | Please submit a full bug report,
    | with preprocessed source if appropriate.
    | See <http://gcc.gnu.org/bugs.html> for instructions.
    | Makefile.WebCore.Target:184923: recipe for target '.obj/release-shared/inspector/InspectorAllInOne.o' failed
    | make[2]: *** [.obj/release-shared/inspector/InspectorAllInOne.o] Error 4
    | make[2]: *** Waiting for unfinished jobs....
    | In file included from /home/local/emulator/build-qemux86hyb-morty/tmp/work/i586-rdk-linux/qtwebkit/5.1.1-r0/qtwebkit-opensource-src-5.1.1/Source/WebCore/rendering/RenderingAllInOne.cpp:46:0:
    | /home/local/emulator/build-qemux86hyb-morty/tmp/work/i586-rdk-linux/qtwebkit/5.1.1-r0/qtwebkit-opensource-src-5.1.1/Source/WebCore/rendering/RenderBlock.cpp: In member function 'bool WebCore::RenderBlock::hasNextPage(WebCore::LayoutUnit, WebCore::RenderBlock::PageBoundaryRule) const':
    | /home/local/emulator/build-qemux86hyb-morty/tmp/work/i586-rdk-linux/qtwebkit/5.1.1-r0/qtwebkit-opensource-src-5.1.1/Source/WebCore/rendering/RenderBlock.cpp:6953:76: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare]
    | RenderRegion* region = enclosingRenderFlowThread()->regionAtBlockOffset(pageOffset, this);
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
    | make[2]: Leaving directory '/home/local/emulator/build-qemux86hyb-morty/tmp/work/i586-rdk-linux/qtwebkit/5.1.1-r0/build/Source/WebCore'
    | Makefile.WebCore:64: recipe for target 'sub-Target-pri-make_first-ordered' failed
    | make[1]: *** [sub-Target-pri-make_first-ordered] Error 2
    | make[1]: Leaving directory '/home/local/emulator/build-qemux86hyb-morty/tmp/work/i586-rdk-linux/qtwebkit/5.1.1-r0/build/Source/WebCore'
    | Makefile:173: recipe for target 'sub-Source-WebCore-WebCore-pro-make_first-ordered' failed
    | make: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2
    | ERROR: Function failed: do_compile (log file is located at /home/local/emulator/build-qemux86hyb-morty/tmp/work/i586-rdk-linux/qtwebkit/5.1.1-r0/temp/log.do_compile.9623)
    ERROR: Task (/home/local/emulator/meta-qt5/recipes-qt/qt5/qtwebkit_5.1.1.bb:do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 2613 tasks of which 0 didn't need to be rerun and 2 failed.
    NOTE: Writing buildhistory

    Summary: 2 tasks failed:
    /home/local/emulator/meta-rdk-ext/recipes-extended/wpe-webkit/wpe-webkit_0.4.3.bb:do_fetch
    /home/local/emulator/meta-qt5/recipes-qt/qt5/qtwebkit_5.1.1.bb:do_compile
    Summary: There were 54 WARNING messages shown.
    Summary: There were 5 ERROR messages shown, returning a non-zero exit code.




  6. Hi Reuven,

    We have followed the below build procedure and triggered the build to re-produce this build failure issue but all the trials build was succeeded properly.

    We can't able to re-produce this issue.So can you please verify the below build procedure which we have followed and let us know if we missed  any steps to reproduce the issue.


    Followed build Procedure:

    • repo init -u https://code.rdkcentral.com/r/manifests -m emulator.xml -b rdkv-20200207
    • repo sync --no-clone-bundle
    • source meta-cmf-bsp-emulator/setup-environment Choose "qemux86hyb-morty"
    • bitbake rdk-generic-hybrid-image


    Number of Trails tried: 2 trails


    Build Output:

    Trail 1:

    NOTE: Tasks Summary: Attempted 4928 tasks of which 19 didn't need to be rerun and all succeeded.
    NOTE: Writing buildhistory
    Auto packing the repository in background for optimum performance.
    See "git help gc" for manual housekeeping.
    Auto packing the repository in background for optimum performance.
    See "git help gc" for manual housekeeping.Summary: There were 103 WARNING messages shown.
    seluma611@dvm-hoa-029:~/Gopi/build-qemux86hyb-morty$

    Trail:2

    NOTE: Tasks Summary: Attempted 4928 tasks of which 19 didn't need to be rerun and all succeeded.
    NOTE: Writing buildhistory
    Auto packing the repository in background for optimum performance.
    See "git help gc" for manual housekeeping.
    Auto packing the repository in background for optimum performance.
    See "git help gc" for manual housekeeping.Summary: There were 109 WARNING messages shown.
    seluma611@dvm-hoa-029:~/Gopi/build-qemux86hyb-morty$


    Please let us know if you need any support.


    Regards,

    Gopinath Chandran

  7. Hi Reuven,

    Thank you for your comment.  I too have been struggling to get past compiling webkit with the standard RDK-V build procedure.  About 10 times with different errors in different places, but always a "internal compiler error: Killed (program cc1plus)".  Because of your comment about trying with a different machine with more memory, I looked at my memory usage with 'top' during the compile and I saw it drop down to near zero.  This is with an 8GB fresh 18.04.  I added another 8GB VM swap space and it compiled through the very next time.

    Z-Gopinath Chandran Do you recall how much RAM memory (and swap) is in your build machine?  Are you able to build on an 8GB box?  If not, perhaps the How to Build#SettinguptheHostEnvironment should be updated with minimum DRAM requirements for the build host.

    Thanks,

      -Marvin