All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe] mpv can't find x11 components
@ 2021-03-18 10:47 Bartosz Golaszewski
  2021-03-18 17:44 ` [oe] " Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Bartosz Golaszewski @ 2021-03-18 10:47 UTC (permalink / raw
  To: openembedded-devel, Trevor Woerner

I'm trying to add mpv to an image using the minimal-x-session. The
build fails with the following error at do_configure():

| Checking for X11
     : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0 xinerama >=
1.0.0 xrandr >= 1.2.0' not found)
| You manually enabled the feature 'x11', but the autodetection check failed.

If I build the core-image-x11 image, mpv builds just fine so I assume
I'm missing something in my custom image (or rather some dependency
isn't pulled in by the recipe).

Any idea on what could be missing?

Bart

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

* Re: [oe] [meta-oe] mpv can't find x11 components
  2021-03-18 10:47 [meta-oe] mpv can't find x11 components Bartosz Golaszewski
@ 2021-03-18 17:44 ` Khem Raj
  2021-03-18 19:51   ` Bartosz Golaszewski
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2021-03-18 17:44 UTC (permalink / raw
  To: Bartosz Golaszewski; +Cc: openembedded-devel, Trevor Woerner

On Thu, Mar 18, 2021 at 11:47:30AM +0100, Bartosz Golaszewski wrote:
> I'm trying to add mpv to an image using the minimal-x-session. The
> build fails with the following error at do_configure():
> 
> | Checking for X11
>      : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0 xinerama >=
> 1.0.0 xrandr >= 1.2.0' not found)
> | You manually enabled the feature 'x11', but the autodetection check failed.
> 
> If I build the core-image-x11 image, mpv builds just fine so I assume
> I'm missing something in my custom image (or rather some dependency
> isn't pulled in by the recipe).
> 
> Any idea on what could be missing?
> 

do you have x11 in DISTRO_FEATURES looking at config.log file might
reveal more on missing dependencies.

> Bart

> 
> 
> 


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

* Re: [oe] [meta-oe] mpv can't find x11 components
  2021-03-18 17:44 ` [oe] " Khem Raj
@ 2021-03-18 19:51   ` Bartosz Golaszewski
  2021-03-18 20:26     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Bartosz Golaszewski @ 2021-03-18 19:51 UTC (permalink / raw
  To: Khem Raj; +Cc: openembedded-devel, Trevor Woerner

On Thu, Mar 18, 2021 at 6:45 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Thu, Mar 18, 2021 at 11:47:30AM +0100, Bartosz Golaszewski wrote:
> > I'm trying to add mpv to an image using the minimal-x-session. The
> > build fails with the following error at do_configure():
> >
> > | Checking for X11
> >      : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0 xinerama >=
> > 1.0.0 xrandr >= 1.2.0' not found)
> > | You manually enabled the feature 'x11', but the autodetection check failed.
> >
> > If I build the core-image-x11 image, mpv builds just fine so I assume
> > I'm missing something in my custom image (or rather some dependency
> > isn't pulled in by the recipe).
> >
> > Any idea on what could be missing?
> >
>
> do you have x11 in DISTRO_FEATURES looking at config.log file might
> reveal more on missing dependencies.
>

Yes I do. It looks like the build is looking for
/recipe-sysroot/usr/lib/pkgconfig/xrandr.pc (provided by
libxrandr-dev) and it finds it on current master but not on dunfell
that I'm using.

It doesn't look right, does it? Shouldn't it look in
recipe-sysroot-native for any such development files?

Bart

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

* Re: [oe] [meta-oe] mpv can't find x11 components
  2021-03-18 19:51   ` Bartosz Golaszewski
@ 2021-03-18 20:26     ` Khem Raj
  2021-03-19 11:00       ` Bartosz Golaszewski
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2021-03-18 20:26 UTC (permalink / raw
  To: Bartosz Golaszewski; +Cc: openembedded-devel, Trevor Woerner

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

On Thursday, March 18, 2021, Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> On Thu, Mar 18, 2021 at 6:45 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Thu, Mar 18, 2021 at 11:47:30AM +0100, Bartosz Golaszewski wrote:
> > > I'm trying to add mpv to an image using the minimal-x-session. The
> > > build fails with the following error at do_configure():
> > >
> > > | Checking for X11
> > >      : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0 xinerama >=
> > > 1.0.0 xrandr >= 1.2.0' not found)
> > > | You manually enabled the feature 'x11', but the autodetection check
> failed.
> > >
> > > If I build the core-image-x11 image, mpv builds just fine so I assume
> > > I'm missing something in my custom image (or rather some dependency
> > > isn't pulled in by the recipe).
> > >
> > > Any idea on what could be missing?
> > >
> >
> > do you have x11 in DISTRO_FEATURES looking at config.log file might
> > reveal more on missing dependencies.
> >
>
> Yes I do. It looks like the build is looking for
> /recipe-sysroot/usr/lib/pkgconfig/xrandr.pc (provided by
> libxrandr-dev) and it finds it on current master but not on dunfell
> that I'm using.
>
> It doesn't look right, does it? Shouldn't it look in
> recipe-sysroot-native for any such development files?


Yeah sometime with-x option is needed to let it find in right sysroot
otherwise autoconf has mind of its own at times and pokes at build host


> Bart
>

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

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

* Re: [oe] [meta-oe] mpv can't find x11 components
  2021-03-18 20:26     ` Khem Raj
@ 2021-03-19 11:00       ` Bartosz Golaszewski
  0 siblings, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2021-03-19 11:00 UTC (permalink / raw
  To: Khem Raj; +Cc: openembedded-devel, Trevor Woerner

On Thu, Mar 18, 2021 at 9:26 PM Khem Raj <raj.khem@gmail.com> wrote:
>
>
>
> On Thursday, March 18, 2021, Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>>
>> On Thu, Mar 18, 2021 at 6:45 PM Khem Raj <raj.khem@gmail.com> wrote:
>> >
>> > On Thu, Mar 18, 2021 at 11:47:30AM +0100, Bartosz Golaszewski wrote:
>> > > I'm trying to add mpv to an image using the minimal-x-session. The
>> > > build fails with the following error at do_configure():
>> > >
>> > > | Checking for X11
>> > >      : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0 xinerama >=
>> > > 1.0.0 xrandr >= 1.2.0' not found)
>> > > | You manually enabled the feature 'x11', but the autodetection check failed.
>> > >
>> > > If I build the core-image-x11 image, mpv builds just fine so I assume
>> > > I'm missing something in my custom image (or rather some dependency
>> > > isn't pulled in by the recipe).
>> > >
>> > > Any idea on what could be missing?
>> > >
>> >
>> > do you have x11 in DISTRO_FEATURES looking at config.log file might
>> > reveal more on missing dependencies.
>> >
>>
>> Yes I do. It looks like the build is looking for
>> /recipe-sysroot/usr/lib/pkgconfig/xrandr.pc (provided by
>> libxrandr-dev) and it finds it on current master but not on dunfell
>> that I'm using.
>>
>> It doesn't look right, does it? Shouldn't it look in
>> recipe-sysroot-native for any such development files?
>
>
> Yeah sometime with-x option is needed to let it find in right sysroot otherwise autoconf has mind of its own at times and pokes at build host
>

I haven't made myself clear - the xrandr.pc file is not there on
dunfell but it is present on master. Looks like libxrandr-dev isn't
pulled in on dunfell but is on master.

Bart

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

end of thread, other threads:[~2021-03-19 11:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-18 10:47 [meta-oe] mpv can't find x11 components Bartosz Golaszewski
2021-03-18 17:44 ` [oe] " Khem Raj
2021-03-18 19:51   ` Bartosz Golaszewski
2021-03-18 20:26     ` Khem Raj
2021-03-19 11:00       ` Bartosz Golaszewski

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.