[yocto] error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR

Abhishekh Awanti abhishekh at relysys.co.in
Thu Mar 1 03:36:42 PST 2018


yeah the pkgconfig has been inherited.
If i delete the tmp/ , again i have to recompile my whole build? Is tat you
wanted to do me?


Thanks and Regards,
Abhishek Awanti
Mob: +919620666017

On Thu, Mar 1, 2018 at 4:37 PM, Burton, Ross <ross.burton at intel.com> wrote:

> That usually means that the recipe doesn't inherit pkgconfig, but as this
> is an oe-core recipe it should be doing this.  Can you verify this, and if
> you can still reproduce it after deleting tmp/ then please attach the
> entire log.do_configure.
>
> Ross
>
> On 1 March 2018 at 10:21, Abhishekh Awanti <abhishekh at relysys.co.in>
> wrote:
>
>> Hi,
>>
>> I am trying to build the package "*harfbuzz-1.3.0" ,  *but i am getting
>> the following configure error
>>
>> *Build Configuration:*
>> *BB_VERSION        = "1.22.0"*
>> *BUILD_SYS         = "x86_64-linux"*
>> *NATIVELSBSTRING   = "Ubuntu-14.04"*
>> *TARGET_SYS        = "arm-poky-linux-gnueabi"*
>> *MACHINE           = "iwg21m"*
>> *DISTRO            = "poky"*
>> *DISTRO_VERSION    = "1.6.1"*
>> *TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa15"*
>> *TARGET_FPU        = "vfp-neon"*
>> *meta              *
>> *meta-yocto        *
>> *meta-yocto-bsp    = "hmi_tmp:9febda430a88ba23b539394e5d54b59ae87405f6"*
>> *meta-renesas      *
>> *meta-rzg1         = "master:2ea602f03b9c2378c1d7dc28675a675d18edb0e3"*
>> *meta-oe           *
>> *meta-multimedia   *
>> *meta-networking   = "hmi_tmp:dca466c074c9a35bc0133e7e0d65cca0731e2acf"*
>> *meta-linaro-toolchain =
>> "hmi_build:8a0601723c06fdb75e62aa0f0cf15fc9d7d90167"*
>> *common            *
>> *hmi-demo          = "master:2cdb73bb902ecd4462cd0a4a66d5d116d0f7c113"*
>> *meta-ndvr         = "<unknown>:<unknown>"*
>>
>> *NOTE: Preparing runqueue*
>> *NOTE: Executing SetScene Tasks*
>> *NOTE: Executing RunQueue Tasks*
>> *ERROR: Function failed: do_configure (log file is located at
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/temp/log.do_configure.451)*
>> *ERROR: Logfile of failure stored in:
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/temp/log.do_configure.451*
>> *Log data follows:*
>> *| DEBUG: Executing python function sysroot_cleansstate*
>> *| DEBUG: Python function sysroot_cleansstate finished*
>> *| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
>> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']*
>> *| DEBUG: Executing shell function autotools_preconfigure*
>> *| DEBUG: Shell function autotools_preconfigure finished*
>> *| DEBUG: Executing python function autotools_copy_aclocals*
>> *| DEBUG: Python function autotools_copy_aclocals finished*
>> *| DEBUG: Executing shell function do_configure*
>> *| automake (GNU automake) 1.14*
>> *| Copyright (C) 2013 Free Software Foundation, Inc.*
>> *| License GPLv2+: GNU GPL version 2 or later
>> <http://gnu.org/licenses/gpl-2.0.html
>> <http://gnu.org/licenses/gpl-2.0.html>>*
>> *| This is free software: you are free to change and redistribute it.*
>> *| There is NO WARRANTY, to the extent permitted by law.*
>> *| *
>> *| Written by Tom Tromey <tromey at redhat.com <tromey at redhat.com>>*
>> *|        and Alexandre Duret-Lutz <adl at gnu.org <adl at gnu.org>>.*
>> *| AUTOV is 1*
>> *| NOTE: Executing ACLOCAL="aclocal
>> --system-acdir=/home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/build/aclocal-copy/"
>> autoreconf --verbose --install --force --exclude=autopoint -I
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/harfbuzz-1.3.0/m4/*
>> *| autoreconf: Entering directory `.'*
>> *| autoreconf: configure.ac <http://configure.ac/>: not using Gettext*
>> *| autoreconf: running: aclocal
>> --system-acdir=/home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/build/aclocal-copy/
>> -I
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/harfbuzz-1.3.0/m4/
>> -I
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/harfbuzz-1.3.0/m4/
>> --force -I m4*
>> *| autoreconf: configure.ac <http://configure.ac/>: tracing*
>> *| autoreconf: running: libtoolize --copy --force*
>> *| libtoolize: putting auxiliary files in `.'.*
>> *| libtoolize: copying file `./ltmain.sh'*
>> *| libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.*
>> *| libtoolize: copying file `m4/libtool.m4'*
>> *| libtoolize: copying file `m4/ltoptions.m4'*
>> *| libtoolize: copying file `m4/ltsugar.m4'*
>> *| libtoolize: copying file `m4/ltversion.m4'*
>> *| libtoolize: copying file `m4/lt~obsolete.m4'*
>> *| autoreconf: running:
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf
>> --include=/home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/harfbuzz-1.3.0/m4/
>> --force*
>> *| configure:17934: error: possibly undefined macro:
>> PKG_CONFIG_SYSROOT_DIR*
>> *|       If this token and others are legitimate, please use
>> m4_pattern_allow.*
>> *|       See the Autoconf documentation.*
>> *| autoreconf:
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf
>> failed with exit status: 1*
>> *| ERROR: autoreconf execution failed.*
>> *| WARNING: exit code 1 from a shell command.*
>> *| ERROR: Function failed: do_configure (log file is located at
>> /home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/temp/log.do_configure.451)*
>> *ERROR: Task 5
>> (/home/bharath/Abhishek_WorkSpace/Projects/Renesas/RZG1H/iwave/build/Build_As_On_23_feb_2018/build/../poky/meta/recipes-graphics/harfbuzz/harfbuzz_1.3.0.bb
>> <http://harfbuzz_1.3.0.bb/>, do_configure) failed with exit code '1'*
>>
>> Any help will be appreciated.
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180301/6571abf2/attachment.html>


More information about the yocto mailing list