All of lore.kernel.org
 help / color / mirror / Atom feed
* unable to pull packages in recipe
@ 2014-02-19 19:37 Roseville House
  2014-02-19 22:17 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Roseville House @ 2014-02-19 19:37 UTC (permalink / raw)
  To: poky

I have written a recipe to fetch/build/deploy an application which
requires following packages
DEPENDS = "autoconf automake libtool libpcre3-dev libjson0-dev flex bison dkms"

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libpcre3-dev' (but
/home/stangri/poky/foo/recipes-core/foo/foo.bb DEPENDS on or otherwise
requires it). Close matches:
  libpcre
ERROR: Required build target 'fwts' has no buildable providers.
Missing or unbuildable dependency chain was: ['foo', 'libpcre3-dev']


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to pull packages in recipe
  2014-02-19 19:37 unable to pull packages in recipe Roseville House
@ 2014-02-19 22:17 ` Richard Purdie
  2014-02-19 23:33   ` Roseville House
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2014-02-19 22:17 UTC (permalink / raw)
  To: Roseville House; +Cc: poky

On Wed, 2014-02-19 at 11:37 -0800, Roseville House wrote:
> I have written a recipe to fetch/build/deploy an application which
> requires following packages
> DEPENDS = "autoconf automake libtool libpcre3-dev libjson0-dev flex bison dkms"
> 
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'libpcre3-dev' (but
> /home/stangri/poky/foo/recipes-core/foo/foo.bb DEPENDS on or otherwise
> requires it). Close matches:
>   libpcre
> ERROR: Required build target 'fwts' has no buildable providers.
> Missing or unbuildable dependency chain was: ['foo', 'libpcre3-dev']

You need to use recipe names (PN), not package names in a DEPENDS line.
This would therefore be libpcre, not libpcre3. Note these are also build
time dependencies.

If you really want to specify runtime package dependencies, you can
specify RDEPENDS_${PN} to add runtime dependencies to the ${PN} package.
Note that this namespace wants untranslated dependencies, as they appear
in PACKAGES of the associated recipe so this would be libpcre-dev with
no 3 since that renaming is done later.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to pull packages in recipe
  2014-02-19 22:17 ` Richard Purdie
@ 2014-02-19 23:33   ` Roseville House
  2014-02-19 23:43     ` Changhyeok Bae
  0 siblings, 1 reply; 4+ messages in thread
From: Roseville House @ 2014-02-19 23:33 UTC (permalink / raw)
  To: Richard Purdie, poky

Thanks for your reply.

I am trying to specify build dependencies  in my recipe "foo".
>>>Build-Depends: debhelper (>= 7.0.50~), autoconf, automake, libtool, libpcre3-dev (>= 7.8), libjson0-dev (>= 0.9), flex, bison, hardening-wrapper, dh-autoreconf, dkms

Taking your advice I changed the line to
DEPENDS = "autoconf automake libtool libpcre libjson flex bison dkms"
and ran into the following error

:~/poky/build$ bitbake foo
Loading cache: 100%
|#################################################################|
ETA:  00:00:00
Loaded 1190 entries from dependency cache.
Parsing recipes: 100%
|###############################################################|
Time: 00:00:00
Parsing of 860 .bb files complete (856 cached, 4 parsed). 1194
targets, 41 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'dkms'
ERROR: Required build target 'fwts' has no buildable providers.
Missing or unbuildable dependency chain was: ['foo', 'dkms']
============================

These are details of dkms which is installed on my host machine. I can
compile the application successfully on my host but its failing within
Poky.
Homepage: http://linux.dell.com/dkms
Vcs-Browser: http://git.debian.org/?p=pkg-dkms/dkms.git
Vcs-Git: git://git.debian.org/pkg-dkms/dkms.git


On Wed, Feb 19, 2014 at 2:17 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Wed, 2014-02-19 at 11:37 -0800, Roseville House wrote:
>> I have written a recipe to fetch/build/deploy an application which
>> requires following packages
>> DEPENDS = "autoconf automake libtool libpcre3-dev libjson0-dev flex bison dkms"
>>
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing PROVIDES 'libpcre3-dev' (but
>> /home/stangri/poky/foo/recipes-core/foo/foo.bb DEPENDS on or otherwise
>> requires it). Close matches:
>>   libpcre
>> ERROR: Required build target 'fwts' has no buildable providers.
>> Missing or unbuildable dependency chain was: ['foo', 'libpcre3-dev']
>
> You need to use recipe names (PN), not package names in a DEPENDS line.
> This would therefore be libpcre, not libpcre3. Note these are also build
> time dependencies.
>
> If you really want to specify runtime package dependencies, you can
> specify RDEPENDS_${PN} to add runtime dependencies to the ${PN} package.
> Note that this namespace wants untranslated dependencies, as they appear
> in PACKAGES of the associated recipe so this would be libpcre-dev with
> no 3 since that renaming is done later.
>
> Cheers,
>
> Richard
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to pull packages in recipe
  2014-02-19 23:33   ` Roseville House
@ 2014-02-19 23:43     ` Changhyeok Bae
  0 siblings, 0 replies; 4+ messages in thread
From: Changhyeok Bae @ 2014-02-19 23:43 UTC (permalink / raw)
  To: 'Roseville House', 'Richard Purdie', poky

You should create dkms.bb in your yocto build.

The error is occurred from missing dkms.bb
-----Original Message-----
From: poky-bounces@yoctoproject.org [mailto:poky-bounces@yoctoproject.org]
On Behalf Of Roseville House
Sent: Thursday, February 20, 2014 8:34 AM
To: Richard Purdie; poky@yoctoproject.org
Subject: Re: [poky] unable to pull packages in recipe

Thanks for your reply.

I am trying to specify build dependencies  in my recipe "foo".
>>>Build-Depends: debhelper (>= 7.0.50~), autoconf, automake, libtool, 
>>>libpcre3-dev (>= 7.8), libjson0-dev (>= 0.9), flex, bison, 
>>>hardening-wrapper, dh-autoreconf, dkms

Taking your advice I changed the line to DEPENDS = "autoconf automake
libtool libpcre libjson flex bison dkms"
and ran into the following error

:~/poky/build$ bitbake foo
Loading cache: 100%
|#################################################################|
ETA:  00:00:00
Loaded 1190 entries from dependency cache.
Parsing recipes: 100%
|###############################################################|
Time: 00:00:00
Parsing of 860 .bb files complete (856 cached, 4 parsed). 1194 targets, 41
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'dkms'
ERROR: Required build target 'fwts' has no buildable providers.
Missing or unbuildable dependency chain was: ['foo', 'dkms']
============================

These are details of dkms which is installed on my host machine. I can
compile the application successfully on my host but its failing within Poky.
Homepage: http://linux.dell.com/dkms
Vcs-Browser: http://git.debian.org/?p=pkg-dkms/dkms.git
Vcs-Git: git://git.debian.org/pkg-dkms/dkms.git


On Wed, Feb 19, 2014 at 2:17 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Wed, 2014-02-19 at 11:37 -0800, Roseville House wrote:
>> I have written a recipe to fetch/build/deploy an application which 
>> requires following packages DEPENDS = "autoconf automake libtool 
>> libpcre3-dev libjson0-dev flex bison dkms"
>>
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing PROVIDES 'libpcre3-dev' (but 
>> /home/stangri/poky/foo/recipes-core/foo/foo.bb DEPENDS on or 
>> otherwise requires it). Close matches:
>>   libpcre
>> ERROR: Required build target 'fwts' has no buildable providers.
>> Missing or unbuildable dependency chain was: ['foo', 'libpcre3-dev']
>
> You need to use recipe names (PN), not package names in a DEPENDS line.
> This would therefore be libpcre, not libpcre3. Note these are also 
> build time dependencies.
>
> If you really want to specify runtime package dependencies, you can 
> specify RDEPENDS_${PN} to add runtime dependencies to the ${PN} package.
> Note that this namespace wants untranslated dependencies, as they 
> appear in PACKAGES of the associated recipe so this would be 
> libpcre-dev with no 3 since that renaming is done later.
>
> Cheers,
>
> Richard
>
_______________________________________________
poky mailing list
poky@yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-19 23:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-19 19:37 unable to pull packages in recipe Roseville House
2014-02-19 22:17 ` Richard Purdie
2014-02-19 23:33   ` Roseville House
2014-02-19 23:43     ` Changhyeok Bae

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.