[yocto] error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR
Khem Raj
raj.khem at gmail.com
Fri Mar 2 07:22:23 PST 2018
On Fri, Mar 2, 2018 at 4:38 AM, Abhishekh Awanti
<abhishekh at relysys.co.in> wrote:
> Hi,
> Before i was trying to build the baseline version only, due to this error i
> moved to latest version.
> As Ross said i deleted tmp/ and now the package can able to build
> successfully.
> Should i move to original version only?
>
if you have no pressing need to upgrade
staying with original version is better since thats the tested set.
> On Fri, Mar 2, 2018 at 11:25 AM, Khem Raj <raj.khem at gmail.com> wrote:
>>
>>
>>
>> On 3/1/18 2:21 AM, Abhishekh Awanti wrote:
>>>
>>> Hi,
>>>
>>> I am trying to build the package "/harfbuzz-1.3.0" , /but i am getting
>>> the following configure error
>>
>>
>> your build seems to be a bit mixed, the baseline seems to be daisy based (
>> 1.6 ) but you are building harfbuzz which is introduced in morty ( 2.2 )
>> release. Doe the original version work ?
>>
>>>
>>> /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 <mailto:tromey at redhat.com>>/
>>> /| and Alexandre Duret-Lutz <adl at gnu.org <mailto: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.
>>>
>>>
>
More information about the yocto
mailing list