All of lore.kernel.org
 help / color / mirror / Atom feed
* attr dependency on linux-yocto
@ 2020-01-16 23:22 Vladimir Molokov
  2020-01-17 10:35 ` Alexander Kanavin
  2020-01-17 14:23 ` Ross Burton
  0 siblings, 2 replies; 5+ messages in thread
From: Vladimir Molokov @ 2020-01-16 23:22 UTC (permalink / raw)
  To: openembedded-core

Hi,

Question about attr. I'm not familiar with it.

On a clean poky is it normal(not a bug?) to have deps such as

"attr.do_build" -> "linux-libc-headers.do_package_write_rpm"
"attr.do_build" -> "linux-yocto.do_deploy"
"attr.do_build" -> "linux-yocto.do_package_write_rpm"

How they are appear? I didn't find anything in attr which could be the cause.
It's just a clean poky from a repo, after . oe-init-build-env and
bitbake -g attr.
Appreciate any hints.

BR,
Vladimir.


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

* Re: attr dependency on linux-yocto
  2020-01-16 23:22 attr dependency on linux-yocto Vladimir Molokov
@ 2020-01-17 10:35 ` Alexander Kanavin
  2020-01-17 14:23 ` Ross Burton
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2020-01-17 10:35 UTC (permalink / raw)
  To: Vladimir Molokov; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

Those are indirect dependencies; this means you can't install all of the
packages coming from the attr recipes without also installing packages from
linux-libc-headers and linux-yocto.

Alex

On Fri, 17 Jan 2020 at 00:22, Vladimir Molokov <vladimir.molokov@gmail.com>
wrote:

> Hi,
>
> Question about attr. I'm not familiar with it.
>
> On a clean poky is it normal(not a bug?) to have deps such as
>
> "attr.do_build" -> "linux-libc-headers.do_package_write_rpm"
> "attr.do_build" -> "linux-yocto.do_deploy"
> "attr.do_build" -> "linux-yocto.do_package_write_rpm"
>
> How they are appear? I didn't find anything in attr which could be the
> cause.
> It's just a clean poky from a repo, after . oe-init-build-env and
> bitbake -g attr.
> Appreciate any hints.
>
> BR,
> Vladimir.
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 1648 bytes --]

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

* Re: attr dependency on linux-yocto
  2020-01-16 23:22 attr dependency on linux-yocto Vladimir Molokov
  2020-01-17 10:35 ` Alexander Kanavin
@ 2020-01-17 14:23 ` Ross Burton
  2020-01-17 16:07   ` Vladimir Molokov
  1 sibling, 1 reply; 5+ messages in thread
From: Ross Burton @ 2020-01-17 14:23 UTC (permalink / raw)
  To: openembedded-core

On 16/01/2020 23:22, Vladimir Molokov wrote:
> Hi,
> 
> Question about attr. I'm not familiar with it.
> 
> On a clean poky is it normal(not a bug?) to have deps such as
> 
> "attr.do_build" -> "linux-libc-headers.do_package_write_rpm"
> "attr.do_build" -> "linux-yocto.do_deploy"
> "attr.do_build" -> "linux-yocto.do_package_write_rpm"
> 
> How they are appear? I didn't find anything in attr which could be the cause.
> It's just a clean poky from a repo, after . oe-init-build-env and
> bitbake -g attr.
> Appreciate any hints.

It's a long and convoluted dependency chain that only happens if you 
have ptest enabled.  I can't recall the exact details but at some point 
attr-ptest RDEPENDS on util-linux and util-linux-ptest recommends 
kernel-module-scsi-debug.

As bitbake wants to ensure dependencies are satisfiable, building attr 
will ensure a kernel is built.

Ross


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

* Re: attr dependency on linux-yocto
  2020-01-17 14:23 ` Ross Burton
@ 2020-01-17 16:07   ` Vladimir Molokov
  2020-01-20 12:38     ` Ross Burton
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Molokov @ 2020-01-17 16:07 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]

whoa, thanks for the information
though I think it is not great,
when applications, like vim, get linux dependecies.

did anyone try to fix this?
could it be considered as a bug?
i can try to file the bug and fix it


On Fri, 17 Jan 2020, 15:23 Ross Burton, <ross.burton@intel.com> wrote:

> On 16/01/2020 23:22, Vladimir Molokov wrote:
> > Hi,
> >
> > Question about attr. I'm not familiar with it.
> >
> > On a clean poky is it normal(not a bug?) to have deps such as
> >
> > "attr.do_build" -> "linux-libc-headers.do_package_write_rpm"
> > "attr.do_build" -> "linux-yocto.do_deploy"
> > "attr.do_build" -> "linux-yocto.do_package_write_rpm"
> >
> > How they are appear? I didn't find anything in attr which could be the
> cause.
> > It's just a clean poky from a repo, after . oe-init-build-env and
> > bitbake -g attr.
> > Appreciate any hints.
>
> It's a long and convoluted dependency chain that only happens if you
> have ptest enabled.  I can't recall the exact details but at some point
> attr-ptest RDEPENDS on util-linux and util-linux-ptest recommends
> kernel-module-scsi-debug.
>
> As bitbake wants to ensure dependencies are satisfiable, building attr
> will ensure a kernel is built.
>
> Ross
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2721 bytes --]

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

* Re: attr dependency on linux-yocto
  2020-01-17 16:07   ` Vladimir Molokov
@ 2020-01-20 12:38     ` Ross Burton
  0 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2020-01-20 12:38 UTC (permalink / raw)
  To: Vladimir Molokov; +Cc: openembedded-core

On 17/01/2020 16:07, Vladimir Molokov wrote:
> whoa, thanks for the information
> though I think it is not great,
> when applications, like vim, get linux dependecies.
> 
> did anyone try to fix this?
> could it be considered as a bug?
> i can try to file the bug and fix it

It won't affect installation, it's just that bitbake wants to ensure all 
possible dependencies are built.

Ross




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

end of thread, other threads:[~2020-01-20 12:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 23:22 attr dependency on linux-yocto Vladimir Molokov
2020-01-17 10:35 ` Alexander Kanavin
2020-01-17 14:23 ` Ross Burton
2020-01-17 16:07   ` Vladimir Molokov
2020-01-20 12:38     ` Ross Burton

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.