All of lore.kernel.org
 help / color / mirror / Atom feed
* gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?
@ 2014-06-29 13:08 Jacob Kroon
  2014-06-30 12:13 ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Jacob Kroon @ 2014-06-29 13:08 UTC (permalink / raw)
  To: meta-freescale

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

Hello,

I'm seeing some unexplained changes in the buildhistory when I do
incremental builds of the SD-images. The wayland packages from
gpu-viv-bin-mx6q recipe seem to have an unspecified dependency on libffi:

 PKG = libwayland-viv0
 RPROVIDES =
-RDEPENDS = eglibc (>= 2.19)
+RDEPENDS = eglibc (>= 2.19) libffi (>= 3.0.13)

Several of the dev/debug-packages also have this change:

  libegl-dbg
  libgc-wayland-protocol-dbg
  libgc-wayland-protocol-dev
  libgc-wayland-protocol0
  libgl-dbg
  libglesv2-dbg
  libwayland-viv-dbg
  libwayland-viv-dev
  libwayland-viv0

Looking into log.do_package I see:

  log.do_package:DEBUG: libwayland-viv-mx6: Dependency libffi.so.6 requires
package libffi
  log.do_package:DEBUG: libgc-wayland-protocol-mx6: Dependency libffi.so.6
requires package libffi

In what I think is one of the older log-files I see this:

  NOTE: Couldn't find shared library provider for libffi.so.6, used by
files: [...]

So it seems to me that some of the sub-packages needs a RDEPEND on libffi.

/Jacob

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

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

* Re: gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?
  2014-06-29 13:08 gpu-viv-bin-mx6q: missing RDEPENDS on libffi ? Jacob Kroon
@ 2014-06-30 12:13 ` Otavio Salvador
  2014-06-30 12:29   ` Prabhu.Sundararaj
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2014-06-30 12:13 UTC (permalink / raw)
  To: Jacob Kroon, Prabhu Sundararaj; +Cc: meta-freescale

Hello Jacob,

On Sun, Jun 29, 2014 at 10:08 AM, Jacob Kroon <jacob.kroon@gmail.com> wrote:
> I'm seeing some unexplained changes in the buildhistory when I do
> incremental builds of the SD-images. The wayland packages from
> gpu-viv-bin-mx6q recipe seem to have an unspecified dependency on libffi:
>
>  PKG = libwayland-viv0
>  RPROVIDES =
> -RDEPENDS = eglibc (>= 2.19)
> +RDEPENDS = eglibc (>= 2.19) libffi (>= 3.0.13)
>
> Several of the dev/debug-packages also have this change:
>
>   libegl-dbg
>   libgc-wayland-protocol-dbg
>   libgc-wayland-protocol-dev
>   libgc-wayland-protocol0
>   libgl-dbg
>   libglesv2-dbg
>   libwayland-viv-dbg
>   libwayland-viv-dev
>   libwayland-viv0
>
> Looking into log.do_package I see:
>
>   log.do_package:DEBUG: libwayland-viv-mx6: Dependency libffi.so.6 requires
> package libffi
>   log.do_package:DEBUG: libgc-wayland-protocol-mx6: Dependency libffi.so.6
> requires package libffi
>
> In what I think is one of the older log-files I see this:
>
>   NOTE: Couldn't find shared library provider for libffi.so.6, used by
> files: [...]
>
> So it seems to me that some of the sub-packages needs a RDEPEND on libffi.

In fact I think it needs a 'depends' so it can resolve the runtime
dependency at this time.

Prabhu, can you confirm gpu-viv-bin-mx6q uses libffi?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?
  2014-06-30 12:13 ` Otavio Salvador
@ 2014-06-30 12:29   ` Prabhu.Sundararaj
  2014-06-30 12:33     ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Prabhu.Sundararaj @ 2014-06-30 12:29 UTC (permalink / raw)
  To: Otavio Salvador, Jacob Kroon; +Cc: meta-freescale

gpu-viv-bin-mx6q has binaries for different backends like fbdev,X11,wayland. 
In that wayland backend binaries like libEGLso, libgc-wayland-protocol depends on wayland and in turn wayland depends on libffi.

But gpu-viv-bin-mx6q does not directly depend on libffi.

Best Regards,
Prabhu

-----Original Message-----
From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: Monday, June 30, 2014 7:13 AM
To: Jacob Kroon; Sundararaj Prabhu-B36876
Cc: meta-freescale
Subject: Re: [meta-freescale] gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?

Hello Jacob,

On Sun, Jun 29, 2014 at 10:08 AM, Jacob Kroon <jacob.kroon@gmail.com> wrote:
> I'm seeing some unexplained changes in the buildhistory when I do 
> incremental builds of the SD-images. The wayland packages from 
> gpu-viv-bin-mx6q recipe seem to have an unspecified dependency on libffi:
>
>  PKG = libwayland-viv0
>  RPROVIDES =
> -RDEPENDS = eglibc (>= 2.19)
> +RDEPENDS = eglibc (>= 2.19) libffi (>= 3.0.13)
>
> Several of the dev/debug-packages also have this change:
>
>   libegl-dbg
>   libgc-wayland-protocol-dbg
>   libgc-wayland-protocol-dev
>   libgc-wayland-protocol0
>   libgl-dbg
>   libglesv2-dbg
>   libwayland-viv-dbg
>   libwayland-viv-dev
>   libwayland-viv0
>
> Looking into log.do_package I see:
>
>   log.do_package:DEBUG: libwayland-viv-mx6: Dependency libffi.so.6 
> requires package libffi
>   log.do_package:DEBUG: libgc-wayland-protocol-mx6: Dependency 
> libffi.so.6 requires package libffi
>
> In what I think is one of the older log-files I see this:
>
>   NOTE: Couldn't find shared library provider for libffi.so.6, used by
> files: [...]
>
> So it seems to me that some of the sub-packages needs a RDEPEND on libffi.

In fact I think it needs a 'depends' so it can resolve the runtime dependency at this time.

Prabhu, can you confirm gpu-viv-bin-mx6q uses libffi?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

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

* Re: gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?
  2014-06-30 12:29   ` Prabhu.Sundararaj
@ 2014-06-30 12:33     ` Otavio Salvador
  2014-06-30 12:56       ` Jacob Kroon
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2014-06-30 12:33 UTC (permalink / raw)
  To: Prabhu.Sundararaj; +Cc: meta-freescale

On Mon, Jun 30, 2014 at 9:29 AM, Prabhu.Sundararaj@freescale.com
<Prabhu.Sundararaj@freescale.com> wrote:
> gpu-viv-bin-mx6q has binaries for different backends like fbdev,X11,wayland.
> In that wayland backend binaries like libEGLso, libgc-wayland-protocol depends on wayland and in turn wayland depends on libffi.
>
> But gpu-viv-bin-mx6q does not directly depend on libffi.

So the DEPENDS should be added in gpu-viv-bin-mx6q when using Wayland backend?

Jacob, can you cook a patch for this?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?
  2014-06-30 12:33     ` Otavio Salvador
@ 2014-06-30 12:56       ` Jacob Kroon
  2014-06-30 13:46         ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Jacob Kroon @ 2014-06-30 12:56 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Prabhu.Sundararaj

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

On Mon, Jun 30, 2014 at 2:33 PM, Otavio Salvador <otavio@ossystems.com.br>
wrote:

> On Mon, Jun 30, 2014 at 9:29 AM, Prabhu.Sundararaj@freescale.com
> <Prabhu.Sundararaj@freescale.com> wrote:
> > gpu-viv-bin-mx6q has binaries for different backends like
> fbdev,X11,wayland.
> > In that wayland backend binaries like libEGLso, libgc-wayland-protocol
> depends on wayland and in turn wayland depends on libffi.
> >
> > But gpu-viv-bin-mx6q does not directly depend on libffi.
>
> So the DEPENDS should be added in gpu-viv-bin-mx6q when using Wayland
> backend?
>
> Jacob, can you cook a patch for this?
>
>
I'm not entirely satisfied with that solution I'll have to admit.. I'm not
using Wayland in my builds, and I am still seeing
this floating dependency in the buildhistory package data.

[root@localhost lib]# arm-oe-linux-gnueabi-readelf libwayland-viv.so.0.0.0
-a|grep libffi
 0x00000001 (NEEDED)                     Shared library: [libffi.so.6]

Does this not mean that the libwayland-viv.so.0.0.0 library is in fact
linked directly to libffi ?
I think this is what OE's automatic dependency-scanner is picking up, and
why there is this churn in the buildhistory logs.

/Jacob

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

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

* Re: gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?
  2014-06-30 12:56       ` Jacob Kroon
@ 2014-06-30 13:46         ` Otavio Salvador
  2014-07-16 23:49           ` Jacob Kroon
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2014-06-30 13:46 UTC (permalink / raw)
  To: Jacob Kroon; +Cc: meta-freescale, Prabhu.Sundararaj

Hello Jacob,

On Mon, Jun 30, 2014 at 9:56 AM, Jacob Kroon <jacob.kroon@gmail.com> wrote:
> On Mon, Jun 30, 2014 at 2:33 PM, Otavio Salvador <otavio@ossystems.com.br>
> wrote:
>>
>> On Mon, Jun 30, 2014 at 9:29 AM, Prabhu.Sundararaj@freescale.com
>> <Prabhu.Sundararaj@freescale.com> wrote:
>> > gpu-viv-bin-mx6q has binaries for different backends like
>> > fbdev,X11,wayland.
>> > In that wayland backend binaries like libEGLso, libgc-wayland-protocol
>> > depends on wayland and in turn wayland depends on libffi.
>> >
>> > But gpu-viv-bin-mx6q does not directly depend on libffi.
>>
>> So the DEPENDS should be added in gpu-viv-bin-mx6q when using Wayland
>> backend?
>>
>> Jacob, can you cook a patch for this?
>>
>
> I'm not entirely satisfied with that solution I'll have to admit.. I'm not
> using Wayland in my builds, and I am still seeing
> this floating dependency in the buildhistory package data.
>
> [root@localhost lib]# arm-oe-linux-gnueabi-readelf libwayland-viv.so.0.0.0
> -a|grep libffi
>  0x00000001 (NEEDED)                     Shared library: [libffi.so.6]
>
> Does this not mean that the libwayland-viv.so.0.0.0 library is in fact
> linked directly to libffi ?

Yes.

> I think this is what OE's automatic dependency-scanner is picking up, and
> why there is this churn in the buildhistory logs.

You're right.

I think that in case we're not using the Wayland backend we could drop
those files I think.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: gpu-viv-bin-mx6q: missing RDEPENDS on libffi ?
  2014-06-30 13:46         ` Otavio Salvador
@ 2014-07-16 23:49           ` Jacob Kroon
  0 siblings, 0 replies; 7+ messages in thread
From: Jacob Kroon @ 2014-07-16 23:49 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Prabhu.Sundararaj

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

Hi Otavio,

On Mon, Jun 30, 2014 at 3:46 PM, Otavio Salvador <otavio@ossystems.com.br>
wrote:

> Hello Jacob,
>
> On Mon, Jun 30, 2014 at 9:56 AM, Jacob Kroon <jacob.kroon@gmail.com>
> wrote:
> > On Mon, Jun 30, 2014 at 2:33 PM, Otavio Salvador <
> otavio@ossystems.com.br>
> > wrote:
> >>
> >> On Mon, Jun 30, 2014 at 9:29 AM, Prabhu.Sundararaj@freescale.com
> >> <Prabhu.Sundararaj@freescale.com> wrote:
> >> > gpu-viv-bin-mx6q has binaries for different backends like
> >> > fbdev,X11,wayland.
> >> > In that wayland backend binaries like libEGLso, libgc-wayland-protocol
> >> > depends on wayland and in turn wayland depends on libffi.
> >> >
> >> > But gpu-viv-bin-mx6q does not directly depend on libffi.
> >>
> >> So the DEPENDS should be added in gpu-viv-bin-mx6q when using Wayland
> >> backend?
> >>
> >> Jacob, can you cook a patch for this?
> >>
> >
> > I'm not entirely satisfied with that solution I'll have to admit.. I'm
> not
> > using Wayland in my builds, and I am still seeing
> > this floating dependency in the buildhistory package data.
> >
> > [root@localhost lib]# arm-oe-linux-gnueabi-readelf
> libwayland-viv.so.0.0.0
> > -a|grep libffi
> >  0x00000001 (NEEDED)                     Shared library: [libffi.so.6]
> >
> > Does this not mean that the libwayland-viv.so.0.0.0 library is in fact
> > linked directly to libffi ?
>
> Yes.
>
> > I think this is what OE's automatic dependency-scanner is picking up, and
> > why there is this churn in the buildhistory logs.
>
> You're right.
>
> I think that in case we're not using the Wayland backend we could drop
> those files I think.
>
>
I just sent a patch to ml, adding libffi as a DEPENDS. But maybe I was
acting hastily here. Are you
suggesting that we should only generate those packages that correspond to
actually enabled distro features ?
If it is possible, I could try and do it like that, since that would also
get rid of the buildhistory churn I'm getting.
(Since I'm not using Wayland)

/Jacob

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

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

end of thread, other threads:[~2014-07-16 23:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-29 13:08 gpu-viv-bin-mx6q: missing RDEPENDS on libffi ? Jacob Kroon
2014-06-30 12:13 ` Otavio Salvador
2014-06-30 12:29   ` Prabhu.Sundararaj
2014-06-30 12:33     ` Otavio Salvador
2014-06-30 12:56       ` Jacob Kroon
2014-06-30 13:46         ` Otavio Salvador
2014-07-16 23:49           ` Jacob Kroon

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.