This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: OpenCV bitbake issue

Part Number: AM5728


Tool/software: Linux

We are compiling opencv with ffmpeg enabled. We are facing the error in bitbake

bitbake command:

 MACHINE=am57xx-evm bitbake opencv

Error

Loading cache: 100% |###########################################################################################################| Time: 0:00:01
Loaded 4043 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################| Time: 0:00:10
Parsing of 3137 .bb files complete (3134 cached, 3 parsed). 4046 targets, 439 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/hiren/Facial/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
  /home/hiren/Facial/tisdk/sources/meta-processor-sdk/recipes-devtools/python/python3-native_3.5.2.bbappend
  /home/hiren/Facial/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_1.11.0.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-linux-gnueabi"
MACHINE              = "am57xx-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2018.04"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-processor-sdk   = "HEAD:264dc66c689e0e4212c43358382986ee470619d4"
meta-ros             = "HEAD:e2566402ab108a19634354a934788109422cf409"
meta-arago-distro    
meta-arago-extras    = "HEAD:d54e9d6c1d461dbf3189e691088d328bf4c4fb19"
meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5             = "HEAD:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-multimedia      = "HEAD:352531015014d1957d6444d114f4451e241c4d23"
meta-ti              = "HEAD:8555084679dc5c668e5fb60a16425ca32b10ff21"
meta-linaro-toolchain
meta-optee           = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"
meta                 = "HEAD:931a52e8698f684ccbb26ddec18764ad9d9a3e8f"

NOTE: Tainting hash to force rebuild of task /home/hiren/Facial/tisdk/sources/meta-arago/meta-arago-extras/recipes-support/opencv/opencv_3.1.bb, do_compile
WARNING: /home/hiren/Facial/tisdk/sources/meta-arago/meta-arago-extras/recipes-support/opencv/opencv_3.1.bb.do_compile is tainted from a forced run
Initialising tasks: 100% |######################################################################################################| Time: 0:00:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: doxygen-native-1.8.9.1-r0 do_compile: oe_runmake failed
ERROR: doxygen-native-1.8.9.1-r0 do_compile: Function failed: do_compile (log file is located at /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/temp/log.do_compile.3013)
ERROR: Logfile of failure stored in: /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/temp/log.do_compile.3013
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 3
| /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/make -C qtools
| make[1]: Entering directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/qtools'
| /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/make -f Makefile.qtools    all
| make[2]: Entering directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/qtools'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/qtools'
| make[1]: Leaving directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/qtools'
| /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/make -C libmd5
| make[1]: Entering directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/libmd5'
| /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools/make -f Makefile.libmd5
| make[2]: Entering directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/libmd5'
| make[2]: *** No targets.  Stop.
| make[2]: Leaving directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/libmd5'
| Makefile:22: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/doxygen-1.8.9.1/libmd5'
| Makefile:23: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/temp/run.do_compile.3013:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/hiren/Facial/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/doxygen-native/1.8.9.1-r0/temp/log.do_compile.3013)
ERROR: Task (virtual:native:/home/hiren/Facial/tisdk/sources/meta-ti/recipes-devtools/doxygen/doxygen_1.8.9.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1111 tasks of which 1108 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  virtual:native:/home/hiren/Facial/tisdk/sources/meta-ti/recipes-devtools/doxygen/doxygen_1.8.9.1.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Can u please help us

Thanks

Hiren Kumbhare

  • Please install this:

    $ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386


    and make sure that you follow host setup instructions in this guide:

    software-dl.ti.com/.../Overview.html

    If you are still seeing the error please execute:

    MACHINE=am57xx-evm bitbake -c cleansstate doxygen-native

    MACHINE=am57xx-evm bitbake doxygen-native



    Best Regards,

    Margarita