Re: [oe] [meta-oe] mpv can't find x11 components

2021-03-19 Thread Bartosz Golaszewski
On Thu, Mar 18, 2021 at 9:26 PM Khem Raj  wrote:
>
>
>
> On Thursday, March 18, 2021, Bartosz Golaszewski  wrote:
>>
>> On Thu, Mar 18, 2021 at 6:45 PM Khem Raj  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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90220): 
https://lists.openembedded.org/g/openembedded-devel/message/90220
Mute This Topic: https://lists.openembedded.org/mt/81426155/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] mpv can't find x11 components

2021-03-18 Thread Khem Raj
On Thursday, March 18, 2021, Bartosz Golaszewski  wrote:

> On Thu, Mar 18, 2021 at 6:45 PM Khem Raj  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
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90210): 
https://lists.openembedded.org/g/openembedded-devel/message/90210
Mute This Topic: https://lists.openembedded.org/mt/81426155/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] mpv can't find x11 components

2021-03-18 Thread Bartosz Golaszewski
On Thu, Mar 18, 2021 at 6:45 PM Khem Raj  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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90209): 
https://lists.openembedded.org/g/openembedded-devel/message/90209
Mute This Topic: https://lists.openembedded.org/mt/81426155/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] mpv can't find x11 components

2021-03-18 Thread Khem Raj
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

> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90206): 
https://lists.openembedded.org/g/openembedded-devel/message/90206
Mute This Topic: https://lists.openembedded.org/mt/81426155/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe] mpv can't find x11 components

2021-03-18 Thread Bartosz Golaszewski
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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90201): 
https://lists.openembedded.org/g/openembedded-devel/message/90201
Mute This Topic: https://lists.openembedded.org/mt/81426155/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-