Re: [yocto] error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR

2018-03-02 Thread Abhishekh Awanti
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?

On Fri, Mar 2, 2018 at 11:25 AM, Khem Raj <raj.k...@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:8a0601723c06fdb75e6
>> 2aa0f0cf15fc9d7d90167"/
>> /common /
>> /hmi-demo  = "master:2cdb73bb902ecd4462cd0a4a66d5d116d0f7c113"/
>> /meta-ndvr = ":"/
>> /
>> /
>> /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/cortex
>> a15hf-vfp-neon-poky-linux-gnueabi/harfbuzz/1.3.0-r0/
>> temp/log.do_configure.451)/
>> /ERROR: Logfile of failure stored in: /home/bharath/Abhishek_WorkSpa
>> ce/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 <tro...@redhat.com <mailto:tro...@redhat.com>>/
>> /|and Alexandre Duret-Lutz <a...@gnu.org <mailto:a...@gnu.org>>./
>> /| AUTOV is 1/
>> /| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/bharath/A
>> bhishek_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/cortex
>> a15hf-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/A
>> bhishek_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/RZ

Re: [yocto] error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR

2018-03-01 Thread Abhishekh Awanti
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.bur...@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 <abhish...@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 = ":"*
>>
>> *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 <tro...@redhat.com <tro...@redhat.com>>*
>> *|and Alexandre Duret-Lutz <a...@gnu.org <a...@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/b

[yocto] error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR

2018-03-01 Thread Abhishekh Awanti
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 = ":"*

*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
>*
*| 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 >*
*|and Alexandre Duret-Lutz >.*
*| 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 : 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 : 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:

[yocto] OPKG package management issue

2017-04-18 Thread Abhishekh Awanti
Hi,

I am trying to install *.ipk* with *opkg* in yocto.

 If i run below command

*opkg install *.ipk*

 I am getting the below error:-


* Collected errors: * opkg_conf_load: Could not create lock file
/var/lib/opkg/lock: No such file or directory.*

I did some research and followed this link

http://wiki.hioproject.org/index.php?title=Yocto:_Opkg_Package_Management_System_Set_Up

I came to know that one should add in the *conf/local.conf*

*EXTRA_IMAGE_FEATURES = "package-management"*
>
> *IMAGE_INSTALL_append = " opkg "*
>
> *PACKAGE_CLASSES = "package_ipk"*
>

Even though i am getting the same error.

*"/var/lib/opkg/"*  is existed in my image build directory, but after
installing the image to the target device the *"/var/lib/opkg/"* is not
appearing.

I am guessing that, the disappearance of the */var/lib/opkg* folder may be
causing the opkg error.

Can anybody please help me on this problem.

Thank you,
Abhishek
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto