Unable to install mongodb package in yocto(jethro)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to install mongodb package in yocto(jethro)

1,490 Views
meghaverma
Contributor I

~/fsl-community-bsp/build$ bitbake mongodb
Loading cache: 100% |###########################################################################################################| ETA:  00:00:00
Loaded 2223 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6ulevk"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.3"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa7"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "HEAD:e08994ce953ff5ab49b260e7763a40bfad4285ca"
meta-oe           
meta-multimedia   = "HEAD:2ea8d7f54a061e902657c4f8ea1f7f7c25c6c4e1"
meta-fsl-arm      = "HEAD:417f669e4dede244a81e11aa6d8b60c4e333e589"
meta-fsl-arm-extra = "HEAD:dd074c47af53948041f6c5671e519fbf815b0980"
meta-fsl-demos    = "HEAD:8bffde8d803dd2362fbded79781ce084d723b048"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: scons build execution failed.
ERROR: Function failed: do_compile (log file is located at /home/vvdn/fsl-community-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/mongodb/2.6.0+gitAUTOINC+be1905c24c-r0/temp/log.do_compile.2764)
ERROR: Logfile of failure stored in: /home/vvdn/fsl-community-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/mongodb/2.6.0+gitAUTOINC+be1905c24c-r0/temp/log.do_compile.2764
Log data follows:
| DEBUG: Executing shell function do_compile
| scons: Reading SConscript files ...
| scons version: 2.3.6
| python version: 2 7 6 'final' 0
| Checking whether the C++ compiler works... (cached) yes
| Checking whether the C compiler works... (cached) yes
| Checking if C++ compiler "arm-poky-linux-gnueabi-g++  -march=armv7-a -marm  -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7 --sysroot=/home/vvdn/fsl-community-bsp/build/tmp/sysroots/imx6ulevk" is GCC... (cached) yes
| Checking if C compiler "arm-poky-linux-gnueabi-gcc  -march=armv7-a -marm  -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7 --sysroot=/home/vvdn/fsl-community-bsp/build/tmp/sysroots/imx6ulevk" is GCC... (cached) yes
| Checking if C compiler supports -Wno-unused-local-typedefs... (cached) yes
| Checking if C compiler supports -Wno-unused-function... (cached) yes
| Checking if C compiler supports -Wno-unused-private-field... (cached) no
| Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes
| Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no
| Checking if C compiler supports -Wno-unused-const-variable... (cached) no
| Checking if C compiler supports -fno-builtin-memcmp... (cached) yes
| Checking for __thread... (cached) no
| Checking for C library pcre... (cached) no
| Checking for C library pcrecpp... (cached) no
| Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes
| Checking for C++ library boost_thread-mt... (cached) no
| Checking for C++ library boost_thread... (cached) no
| Checking for C++ library boost_filesystem-mt... (cached) no
| Checking for C++ library boost_filesystem... (cached) no
| Checking for C++ library boost_program_options-mt... (cached) no
| Checking for C++ library boost_program_options... (cached) no
| Checking for C++ library boost_system-mt... (cached) no
| Checking for C++ library boost_system... (cached) no
| Checking for C header file unistd.h... (cached) yes
| Checking whether clock_gettime is declared... (cached) yes
| Checking for C library rt... (cached) no
| Checking for C++ header file execinfo.h... (cached) yes
| Checking whether backtrace is declared... (cached) yes
| Checking whether backtrace_symbols is declared... (cached) yes
| Checking whether backtrace_symbols_fd is declared... (cached) yes
| Checking for C library pcap... (cached) no
| Checking for C library wpcap... (cached) no
| not building shell
| scons: done reading SConscript files.
| scons: Building targets ...
| Target 'build/linux2/disable-scripting/ld_arm-poky-linux-gnueabi-g++/ssl/use-system-boost/use-system-pcre/use-system-tcmalloc/mongo/mongod' depends on the availability of a system provided library for 'boost_program_options', but no suitable library was found during configuration.
| Target 'build/linux2/disable-scripting/ld_arm-poky-linux-gnueabi-g++/ssl/use-system-boost/use-system-pcre/use-system-tcmalloc/mongo/mongod' depends on the availability of a system provided library for 'boost_program_options', but no suitable library was found during configuration.
| scons: *** [build/linux2/disable-scripting/ld_arm-poky-linux-gnueabi-g++/ssl/use-system-boost/use-system-pcre/use-system-tcmalloc/mongo/mongod] Error 1
| scons: building terminated because of errors.
| ERROR: scons build execution failed.
| ERROR: Function failed: do_compile (log file is located at /home/vvdn/fsl-community-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/mongodb/2.6.0+gitAUTOINC+be1905c24c-r0/temp/log.do_compile.2764)
ERROR: Task 6 (/home/vvdn/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/mongodb/mongodb_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 696 tasks of which 689 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/vvdn/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/mongodb/mongodb_git.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 Kudos
1 Reply

938 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello megha verma,

The package mongodb has already been put into the blacklist, please refer to the following patch.

https://git.congatec.com/yocto/meta-openembedded/commit/d2e228d754e362f42c3da6e042a407e6cb761a50

Thanks,

Yiping

0 Kudos