do_cofigure fail

Patrick Venture venture at google.com
Thu Jan 10 05:05:09 AEDT 2019


On Wed, Jan 9, 2019 at 12:16 AM Sheldon 13 <tssheldonpotter at gmail.com> wrote:
>
> After I add a new application (such as sdbus or phosphor-fan-presence) using DEVTOOL, I build it with BITBAKE, but it always get error like this:
> ##########################################################
> NOTE: Executing RunQueue Tasks
> ERROR: sdbusplus-1.0+git999-r0 do_configure: configure failed
> ERROR: sdbusplus-1.0+git999-r0 do_configure: Function failed: do_configure (log file is located at /home/sheldon13/dev/openbmc-2.2/build/tmp/work/armv5e-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r0/temp/log.do_configure.114229)
> ERROR: Logfile of failure stored in: /home/sheldon13/dev/openbmc-2.2/build/tmp/work/armv5e-openbmc-linux-gnueabi/sdbusplus/1.0+git999-r0/temp/log.do_configure.114229
> Log data follows:
> | DEBUG: Executing python function externalsrc_configure_prefunc
> ############################################################
>
>
>
> My recipe file sdbusplus_git.bb was automatically generated by the DEVTOOL command ,it is like this:
> ##################################################################################################################
> # Recipe created by recipetool
> # This is the basis of a recipe and may need further editing in order to be fully functional.
> # (Feel free to remove these comments when editing.)
>
> # WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
> # your responsibility to verify that the values are complete and correct.
> #
> # The following license files were not able to be identified and are
> # represented as "Unknown" below, you will need to check them yourself:
> #   LICENSE
> LICENSE = "Unknown"
> LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
>
> SRC_URI = "git://github.com/openbmc/sdbusplus.git;protocol=https"
>
> # Modify these as desired
> PV = "1.0+git${SRCPV}"
> SRCREV = "09c981700d7bd98eed54a670e959a424585dcd84"
>
> S = "${WORKDIR}/git"
>
> # NOTE: the following library dependencies are unknown, ignoring: gtest gmock
> #       (this is based on recipes that have previously been built and packaged)
> DEPENDS = "gtest systemd"
>
> # NOTE: if this software is not capable of being built in a separate build directory
> # from the source, you should replace autotools with autotools-brokensep in the
> # inherit line
> inherit pkgconfig pythonnative autotools
>
> # Specify any options you want to pass to the configure script using EXTRA_OECONF:
> EXTRA_OECONF = ""
> ###############################################################################################################
> and I didn't change the recipe and didn't know how to change it. Can you help me build my project?

Can you provide your full steps to reproduce your workspace, such as,
git clone openbmc, git clone sdbusplus, and so on, as I haven't had
issues recently with devtool.


More information about the openbmc mailing list