[yocto] autoreconf

Khem Raj raj.khem at gmail.com
Mon Jun 20 09:23:17 PDT 2016


OK its a library so debian renaming might be tricking you here.
IMAGE_INSTALL expects the output package names  ( not recipe name)
sometimes there is a package with same name as recipe name generated
so it may seem like you can use package name or recipe name but thats
not how it works. So please do this

bitbake libcap-ng

then see whats the emitted ipk or rpm in deloy/ area. Add that name to
IMAGE_INSTALL

On Mon, Jun 20, 2016 at 9:18 AM, Rajasekaran, Monica
<Monica.Rajasekaran at us.fujitsu.com> wrote:
> Yes, I did the same.
>
> Thanks,
> Monica
>
>
> -----Original Message-----
> From: Khem Raj [mailto:raj.khem at gmail.com]
> Sent: Monday, June 20, 2016 11:15 AM
> To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
> Cc: Paul Eggleton <paul.eggleton at linux.intel.com>; yocto at yoctoproject.org
> Subject: Re: [yocto] autoreconf
>
> On Mon, Jun 20, 2016 at 9:12 AM, Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com> wrote:
>> Thanks Paul and Khem, that worked!
>>
>> I also tried adding libcap-ng but it gives me the following error:
>
> where did you add it to ? it is a package so you have to add it to IMAGE_INSTALL
>
>>
>> ERROR: Nothing RPROVIDES 'libcap-ng' (but
>> /data/users/mrajase/l100_label_based_r100poc/repo/poky/meta-fss-produc
>> t/recipes-core/images/fss-image-full.bb RDEPENDS on or otherwise
>> requires it)
>>
>> But, I see it present at http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-support/libcap-ng/.....??
>>
>> Thanks,
>> Monica
>>
>> -----Original Message-----
>> From: Paul Eggleton [mailto:paul.eggleton at linux.intel.com]
>> Sent: Sunday, June 19, 2016 5:14 PM
>> To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
>> Cc: Khem Raj <raj.khem at gmail.com>; yocto at yoctoproject.org
>> Subject: Re: [yocto] autoreconf
>>
>> Hi Monica,
>>
>> As shown in Khem's original example you need to add this through EXTRA_IMAGE_FEATURES, not IMAGE_INSTALL (since tools-sdk is a feature name, not a package name).
>>
>> Cheers,
>> Paul
>>
>> On Sun, 19 Jun 2016 20:23:53 Rajasekaran, Monica wrote:
>>> I added the following line to my recipe file,
>>>
>>> IMAGE_INSTALL += "tools-sdk"
>>>
>>> But there was the following error with the build:
>>>
>>> ERROR: Nothing RPROVIDES 'tools-sdk' (but
>>> /data/users/mrajase/l100_label_based_r100poc/repo/poky/meta-fss-produ
>>> c t/rec ipes-core/images/fss-image-full.bb RDEPENDS on or otherwise
>>> requires it)
>>> NOTE: Runtime target 'tools-sdk' is unbuildable, removing...
>>> Missing or unbuildable dependency chain was: ['tools-sdk']
>>> ERROR: Required build target 'fss-image-full' has no buildable providers.
>>> Missing or unbuildable dependency chain was: ['fss-image-full',
>>> 'tools-sdk']
>>
>>> Any idea on this?
>>>
>>> Thanks,
>>> Monica
>>>
>>> -----Original Message-----
>>> From: Khem Raj [mailto:raj.khem at gmail.com]
>>> Sent: Wednesday, June 15, 2016 3:48 PM
>>> To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
>>> Cc: Paul Eggleton <paul.eggleton at linux.intel.com>;
>>> yocto at yoctoproject.org
>>> Subject: Re: [yocto] autoreconf
>>>
>>> That might work, however you might need more packages, so adding
>>> tools-sdk will cover all of them in one go
>>
>>>
>>> > On Jun 15, 2016, at 1:47 PM, Rajasekaran, Monica
>>> > <Monica.Rajasekaran at us.fujitsu.com> wrote:
>>
>>> > Hi Raj,
>>> >
>>> > Will adding a line in the image's recipe file like this work ?
>>> >
>>> > IMAGE_INSTALL = ”autoconf”
>>> >
>>> > I installed "git" and "resolvconf" in the same way. Just not sure
>>> > about the package name this time.
>>
>>> > Thanks,
>>> > Monica
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: Khem Raj [mailto:raj.khem at gmail.com]
>>> > Sent: Wednesday, June 15, 2016 3:42 PM
>>> > To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
>>> > Cc: Paul Eggleton <paul.eggleton at linux.intel.com>;
>>> > yocto at yoctoproject.org
>>> > Subject: Re: [yocto] autoreconf
>>> >
>>> > You need to add autoconf to your target image, if you do not use
>>> > Online package management
>>
>>> > EXTRA_IMAGE_FEATURES_append = “ tools-sdk”
>>> >
>>> > in local.conf might help
>>> >
>>> >
>>> >
>>> >> On Jun 15, 2016, at 1:35 PM, Rajasekaran, Monica
>>> >> <Monica.Rajasekaran at us.fujitsu.com> wrote:
>>
>>> >> Hi Paul,
>>> >>
>>> >> Thank you. This is in the target.
>>> >>
>>> >> Thanks,
>>> >> Monica
>>> >>
>>> >> -----Original Message-----
>>> >> From: Paul Eggleton [mailto:paul.eggleton at linux.intel.com]
>>> >> Sent: Wednesday, June 15, 2016 3:25 PM
>>> >> To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
>>> >> Cc: yocto at yoctoproject.org
>>> >> Subject: Re: [yocto] autoreconf
>>> >>
>>> >> Hi Monica,
>>> >>
>>> >> On Wed, 15 Jun 2016 20:17:16 Rajasekaran, Monica wrote:
>>> >>
>>> >>> What is the package to install autoreconf ? (Ubuntu equivalent:
>>> >>> apt-get install dh-autoreconf )
>>> >>>
>>> >>> I am getting the following error for one of my applications:
>>> >>> "autoreconf: command not found"
>>> >>
>>> >>
>>> >> autoreconf is part of autoconf.
>>> >>
>>> >> Where is this? On the target or within the build system?
>>> >>
>>> >> Cheers,
>>> >> Paul
>>> >>
>>> >> --
>>> >>
>>> >> Paul Eggleton
>>> >> Intel Open Source Technology Centre
>>> >> --
>>> >> _______________________________________________
>>> >> yocto mailing list
>>> >> yocto at yoctoproject.org
>>> >> https://lists.yoctoproject.org/listinfo/yocto
>>> >
>>> >
>>>
>>>
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre



More information about the yocto mailing list