[oe] Failed to build opencv_1.0.0.bb recipe

Koen Kooi k.kooi at student.utwente.nl
Thu Oct 1 13:16:39 UTC 2009


Don't use -b unless you know what you are doing

On 01-10-09 13:41, Ali Akbar Zarezadeh wrote:
> Hi,
>
> I am trying to build opencv_1.0.0.bb recipe with this command:
>
> bitbake -b /opt/local/oe/openembedded/recipes/opencv/opencv_1.0.0.bb
>
> I've just faced with this error: "oe_runconf: command not found"
>
> Maybe this log would be helpful to get the point what happened:
>
> -------------------------------------------------------------------------------------------------
>
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Running task 5 of 17 (ID:
> 5, /opt/local/oe/openembedded/recipes/opencv/opencv_1.0.0.bb,
> do_configure)
> __builtin__:6: DeprecationWarning: raising a string exception is
> deprecated
> NOTE: No Python in STAGING_INCDIR. Forgot to build python-native ?:None
> while evaluating:
> ${@python_dir(d)}
> /opt/local/oe/bitbake/lib/bb/data_smart.py:92: DeprecationWarning:
> raising a string exception is deprecated
>    raise
> NOTE: No Python in STAGING_INCDIR. Forgot to build python-native ?:None
> while evaluating:
> --disable-debug  --without-gtk --without-python --disable-apps
> az_python_cspec=${STAGING_INCDIR}/${PYTHON_DIR}
> NOTE: No Python in STAGING_INCDIR. Forgot to build python-native ?:None
> while evaluating:
> 	if [ -x ${S}/configure ] ; then
> 		cfgcmd="${S}/configure \
> 		    --build=${BUILD_SYS} \
> 		    --host=${HOST_SYS} \
> 		    --target=${TARGET_SYS} \
> 		    --prefix=${prefix} \
> 		    --exec_prefix=${exec_prefix} \
> 		    --bindir=${bindir} \
> 		    --sbindir=${sbindir} \
> 		    --libexecdir=${libexecdir} \
> 		    --datadir=${datadir} \
> 		    --sysconfdir=${sysconfdir} \
> 		    --sharedstatedir=${sharedstatedir} \
> 		    --localstatedir=${localstatedir} \
> 		    --libdir=${libdir} \
> 		    --includedir=${includedir} \
> 		    --oldincludedir=${oldincludedir} \
> 		    --infodir=${infodir} \
> 		    --mandir=${mandir} \
> 			${EXTRA_OECONF} \
> 		    $@"
> 		oenote "Running $cfgcmd..."
> 		$cfgcmd || oefatal "oe_runconf failed"
> 	else
> 		oefatal "no configure script found"
> 	fi
>
> ERROR: function do_configure failed
> ERROR: log data follows
> (/opt/local/oe/tmp/work/ppc405-angstrom-linux/opencv-1.0.0-r2/temp/log.do_configure.24130)
> | /opt/local/oe/tmp/work/ppc405-angstrom-linux/opencv-1.0.0-r2/temp/run.do_configure.24130: line 745: oe_runconf: command not found
> NOTE: Task
> failed: /opt/local/oe/tmp/work/ppc405-angstrom-linux/opencv-1.0.0-r2/temp/log.do_configure.24130
> ERROR: TaskFailed event exception, aborting
> ERROR: Build
> of /opt/local/oe/openembedded/recipes/opencv/opencv_1.0.0.bb
> do_configure failed
> ERROR: Task 5
> (/opt/local/oe/openembedded/recipes/opencv/opencv_1.0.0.bb,
> do_configure) failed
> NOTE: Tasks Summary: Attempted 5 tasks of which 5 didn't need to be
> rerun and 1 failed.
> ERROR: '/opt/local/oe/openembedded/recipes/opencv/opencv_1.0.0.bb'
> failed
>
> -------------------------------------------------------------------------------------------------
>
> I would be grateful if somebody would help me to figure out the problem.
>
> CIAO
> Ali






More information about the Openembedded-devel mailing list