Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-16 Thread Richard Purdie
On Sun, 2020-01-12 at 14:59 +0100, Carlos Rafael Giani wrote:
> * gstreamer1.0-plugins-common.inc
>   The old gstreamer1.0-plugins.inc file, adapted for meson
> * gstreamer1.0-plugins-packaging.inc
>   The old gst-plugins-package.inc file, adapted for meson
> * gstreamer1.0-ptest.inc
>   Common code for meson based PTest support; autogenerates the run-
> ptest
>   file and is designed to use the gnome-desktop-testing suite runner
>   (which is why the .inc files inherits from ptest-gnome)
> 
> Signed-off-by: Carlos Rafael Giani 
> ---
>  .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
>  .../gstreamer1.0-plugins-packaging.inc| 70
> +++
>  .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
>  3 files changed, 138 insertions(+)
>  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-
> plugins-common.inc
>  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-
> plugins-packaging.inc
>  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-
> ptest.inc

FWIW I've merged this series with some of the fixes that were also
sent. I've done this on the basis that its the correct direction we're
going and whilst there are some gremlins to sort out such as the issue
Ross mentions, some of the comments/options and so on, we may as well
move forward and we can fix those things as follow ups.

Thanks again for working on this, I know its not a simple change!

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-14 Thread Carlos Rafael Giani
Hm alright, then I guess there are no showstoppers for merging anymore. 
The qt5 thing can be added in a followup commit.


On 14.01.20 19:55, Khem Raj wrote:

On Tue, Jan 14, 2020 at 10:37 AM Carlos Rafael Giani
 wrote:

Nice find! But, there is still one issue Khem found, regarding errors in 
meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/


I have already fixed them. Also sent a patch to enable debug in
gstreamer to support shark plugin

https://patchwork.openembedded.org/patch/168874/
https://git.openembedded.org/meta-openembedded/commit/?id=ea8604a0e3fe38a5a49690b1b92b5b4964e7b5da
https://git.openembedded.org/meta-openembedded/commit/?id=449fe9920555d815dadb295d2fce61935486bce8


This, and the discussion about the qt5 packageconfig, means to me that a v2 set 
is warranted. What

do you think?

There is a packageconfig in a bbappend that I plan to propose once its in.

https://github.com/YoeDistro/meta-qt5/commit/cf2505af20c67f975dc4630e6c45e19f15103ef1

perhaps it could be in main recipe instead of bbappend.


On 14.01.20 16:51, Alexander Kanavin wrote:

I just sent a patch for this, and for the ptest issue. Should be good to merge 
now!

Alex

On Mon, 13 Jan 2020 at 19:01, Alexander Kanavin  wrote:

I have reproduced this just now. You need to set up a special 'nodistro' 
configuration like this:

bblayers.conf:
BBLAYERS ?= " \
   /home/alexander/development/poky/meta \
"
(and no other layers)

local.conf:

MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)

and build gstreamer1.0-plugins-base.

Alex


On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani  wrote:

Except that there is no such package. Also, even if I build GStreamer
from scratch with all optional packageconfigs disabled, I do not get
this error, nor do I get any warnings about potentially missing
dependencies. So, I don't know what is going on here..

On 13.01.20 13:59, Richard Purdie wrote:

On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:

Nope. This is an odd one. Are you sure there isn't a problem with
the
setup itself? In step2c, I see:

   > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
nodistro.0.sh
is not built. Build it before running the tests: 'bitbake  -c
populate_sdk' .

2c fails as earlier stepd didn't build. I think the real issue is
step1b which says:

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
|
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
|
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time 

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-14 Thread Khem Raj
On Tue, Jan 14, 2020 at 10:37 AM Carlos Rafael Giani
 wrote:
>
> Nice find! But, there is still one issue Khem found, regarding errors in 
> meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/
>

I have already fixed them. Also sent a patch to enable debug in
gstreamer to support shark plugin

https://patchwork.openembedded.org/patch/168874/
https://git.openembedded.org/meta-openembedded/commit/?id=ea8604a0e3fe38a5a49690b1b92b5b4964e7b5da
https://git.openembedded.org/meta-openembedded/commit/?id=449fe9920555d815dadb295d2fce61935486bce8

> This, and the discussion about the qt5 packageconfig, means to me that a v2 
> set is warranted. What
do you think?

There is a packageconfig in a bbappend that I plan to propose once its in.

https://github.com/YoeDistro/meta-qt5/commit/cf2505af20c67f975dc4630e6c45e19f15103ef1

perhaps it could be in main recipe instead of bbappend.

>
> On 14.01.20 16:51, Alexander Kanavin wrote:
>
> I just sent a patch for this, and for the ptest issue. Should be good to 
> merge now!
>
> Alex
>
> On Mon, 13 Jan 2020 at 19:01, Alexander Kanavin  
> wrote:
>>
>> I have reproduced this just now. You need to set up a special 'nodistro' 
>> configuration like this:
>>
>> bblayers.conf:
>> BBLAYERS ?= " \
>>   /home/alexander/development/poky/meta \
>> "
>> (and no other layers)
>>
>> local.conf:
>>
>> MACHINE ??= "qemuarm"
>> DISTRO ?= "nodistro"
>> INHERIT += 'uninative'
>> require conf/distro/include/yocto-uninative.inc
>> ... (dl_dir, sstate etc)
>>
>> and build gstreamer1.0-plugins-base.
>>
>> Alex
>>
>>
>> On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani  
>> wrote:
>>>
>>> Except that there is no such package. Also, even if I build GStreamer
>>> from scratch with all optional packageconfigs disabled, I do not get
>>> this error, nor do I get any warnings about potentially missing
>>> dependencies. So, I don't know what is going on here..
>>>
>>> On 13.01.20 13:59, Richard Purdie wrote:
>>> > On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:
>>> >> Nope. This is an odd one. Are you sure there isn't a problem with
>>> >> the
>>> >> setup itself? In step2c, I see:
>>> >>
>>> >>   > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
>>> >> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
>>> >> glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
>>> >> nodistro.0.sh
>>> >> is not built. Build it before running the tests: 'bitbake  -c
>>> >> populate_sdk' .
>>> > 2c fails as earlier stepd didn't build. I think the real issue is
>>> > step1b which says:
>>> >
>>> > | Compiler for C supports arguments -Wdeclaration-after-statement: YES
>>> > | Found pkg-config: 
>>> > /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
>>> >  (0.29.2)
>>> > | Run-time dependency x11 found: YES 1.6.9
>>> > | Run-time dependency glib-2.0 found: YES 2.62.4
>>> > | Run-time dependency gobject-2.0 found: YES 2.62.4
>>> > | Run-time dependency gio-2.0 found: YES 2.62.4
>>> > | Run-time dependency gio-unix-2.0 found: YES 2.62.4
>>> > | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
>>> > | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
>>> > | Dependency gtk+-3.0 skipped: feature examples disabled
>>> > | Dependency gtk+-x11-3.0 skipped: feature examples disabled
>>> > | Run-time dependency gstreamer-1.0 found: YES 1.16.1
>>> > | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
>>> > | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
>>> > | Found CMake: NO
>>> > | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and 
>>> > cmake)
>>> > | Looking for a fallback subproject for the dependency gstreamer-check-1.0
>>> > | Subproject directory not found and gstreamer.wrap file not found
>>> > | Subproject  subprojects/gstreamer is buildable: NO (disabling)
>>> > | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer 
>>> > found: NO
>>> > |
>>> > | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep 
>>> > in subproject gstreamer
>>> > |
>>> > | A full log can be found at 
>>> > /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
>>> > | WARNING: 
>>> > /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
>>> >  exit 1 from 'exit 1'
>>> > |
>>> > NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: 
>>> > Failed
>>> >
>>> > | Compiler for C supports arguments -Wdeclaration-after-statement: YES
>>> > | Found pkg-config: 
>>> > 

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-14 Thread Carlos Rafael Giani
Nice find! But, there is still one issue Khem found, regarding errors in 
meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/


This, and the discussion about the qt5 packageconfig, means to me that a 
v2 set is warranted. What do you think?


On 14.01.20 16:51, Alexander Kanavin wrote:
I just sent a patch for this, and for the ptest issue. Should be good 
to merge now!


Alex

On Mon, 13 Jan 2020 at 19:01, Alexander Kanavin 
mailto:alex.kana...@gmail.com>> wrote:


I have reproduced this just now. You need to set up a special
'nodistro' configuration like this:

bblayers.conf:
BBLAYERS ?= " \
  /home/alexander/development/poky/meta \
"
(and no other layers)

local.conf:

MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)

and build gstreamer1.0-plugins-base.

Alex


On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani
mailto:crg7...@mailbox.org>> wrote:

Except that there is no such package. Also, even if I build
GStreamer
from scratch with all optional packageconfigs disabled, I do
not get
this error, nor do I get any warnings about potentially missing
dependencies. So, I don't know what is going on here..

On 13.01.20 13:59, Richard Purdie wrote:
> On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:
>> Nope. This is an odd one. Are you sure there isn't a
problem with
>> the
>> setup itself? In step2c, I see:
>>
>>   > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
>> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
>> glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
>> nodistro.0.sh 
>> is not built. Build it before running the tests: 'bitbake
 -c
>> populate_sdk' .
> 2c fails as earlier stepd didn't build. I think the real
issue is
> step1b which says:
>
> | Compiler for C supports arguments
-Wdeclaration-after-statement: YES
> | Found pkg-config:

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
(0.29.2)
> | Run-time dependency x11 found: YES 1.6.9
> | Run-time dependency glib-2.0 found: YES 2.62.4
> | Run-time dependency gobject-2.0 found: YES 2.62.4
> | Run-time dependency gio-2.0 found: YES 2.62.4
> | Run-time dependency gio-unix-2.0 found: YES 2.62.4
> | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
> | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
> | Dependency gtk+-3.0 skipped: feature examples disabled
> | Dependency gtk+-x11-3.0 skipped: feature examples disabled
> | Run-time dependency gstreamer-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
> | Found CMake: NO
> | Run-time dependency gstreamer-check-1.0 found: NO (tried
pkgconfig and cmake)
> | Looking for a fallback subproject for the dependency
gstreamer-check-1.0
> | Subproject directory not found and gstreamer.wrap file not
found
> | Subproject  subprojects/gstreamer is buildable: NO (disabling)
> | Dependency gstreamer-check-1.0 from subproject
subprojects/gstreamer found: NO
> |
> | meson.build:309:0: ERROR: Could not find dependency
gst_controller_dep in subproject gstreamer
> |
> | A full log can be found at

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
> | WARNING:

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
exit 1 from 'exit 1'
> |
> NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failed
>
> | Compiler for C supports arguments
-Wdeclaration-after-statement: YES
> | Found pkg-config:

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
(0.29.2)
> | Run-time dependency x11 found: YES 1.6.9
> | Run-time dependency glib-2.0 found: YES 2.62.4
> | Run-time dependency gobject-2.0 found: YES 2.62.4
> | Run-time dependency gio-2.0 found: YES 2.62.4
> | Run-time dependency 

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-14 Thread Alexander Kanavin
I just sent a patch for this, and for the ptest issue. Should be good to
merge now!

Alex

On Mon, 13 Jan 2020 at 19:01, Alexander Kanavin 
wrote:

> I have reproduced this just now. You need to set up a special 'nodistro'
> configuration like this:
>
> bblayers.conf:
> BBLAYERS ?= " \
>   /home/alexander/development/poky/meta \
> "
> (and no other layers)
>
> local.conf:
>
> MACHINE ??= "qemuarm"
> DISTRO ?= "nodistro"
> INHERIT += 'uninative'
> require conf/distro/include/yocto-uninative.inc
> ... (dl_dir, sstate etc)
>
> and build gstreamer1.0-plugins-base.
>
> Alex
>
>
> On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani 
> wrote:
>
>> Except that there is no such package. Also, even if I build GStreamer
>> from scratch with all optional packageconfigs disabled, I do not get
>> this error, nor do I get any warnings about potentially missing
>> dependencies. So, I don't know what is going on here..
>>
>> On 13.01.20 13:59, Richard Purdie wrote:
>> > On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:
>> >> Nope. This is an odd one. Are you sure there isn't a problem with
>> >> the
>> >> setup itself? In step2c, I see:
>> >>
>> >>   > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
>> >> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
>> >> glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
>> >> nodistro.0.sh
>> >> is not built. Build it before running the tests: 'bitbake  -c
>> >> populate_sdk' .
>> > 2c fails as earlier stepd didn't build. I think the real issue is
>> > step1b which says:
>> >
>> > | Compiler for C supports arguments -Wdeclaration-after-statement: YES
>> > | Found pkg-config:
>> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
>> (0.29.2)
>> > | Run-time dependency x11 found: YES 1.6.9
>> > | Run-time dependency glib-2.0 found: YES 2.62.4
>> > | Run-time dependency gobject-2.0 found: YES 2.62.4
>> > | Run-time dependency gio-2.0 found: YES 2.62.4
>> > | Run-time dependency gio-unix-2.0 found: YES 2.62.4
>> > | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
>> > | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
>> > | Dependency gtk+-3.0 skipped: feature examples disabled
>> > | Dependency gtk+-x11-3.0 skipped: feature examples disabled
>> > | Run-time dependency gstreamer-1.0 found: YES 1.16.1
>> > | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
>> > | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
>> > | Found CMake: NO
>> > | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig
>> and cmake)
>> > | Looking for a fallback subproject for the dependency
>> gstreamer-check-1.0
>> > | Subproject directory not found and gstreamer.wrap file not found
>> > | Subproject  subprojects/gstreamer is buildable: NO (disabling)
>> > | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer
>> found: NO
>> > |
>> > | meson.build:309:0: ERROR: Could not find dependency
>> gst_controller_dep in subproject gstreamer
>> > |
>> > | A full log can be found at
>> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
>> > | WARNING:
>> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
>> exit 1 from 'exit 1'
>> > |
>> > NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure:
>> Failed
>> >
>> > | Compiler for C supports arguments -Wdeclaration-after-statement: YES
>> > | Found pkg-config:
>> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
>> (0.29.2)
>> > | Run-time dependency x11 found: YES 1.6.9
>> > | Run-time dependency glib-2.0 found: YES 2.62.4
>> > | Run-time dependency gobject-2.0 found: YES 2.62.4
>> > | Run-time dependency gio-2.0 found: YES 2.62.4
>> > | Run-time dependency gio-unix-2.0 found: YES 2.62.4
>> > | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
>> > | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
>> > | Dependency gtk+-3.0 skipped: feature examples disabled
>> > | Dependency gtk+-x11-3.0 skipped: feature examples disabled
>> > | Run-time dependency gstreamer-1.0 found: YES 1.16.1
>> > | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
>> > | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
>> > | Found CMake: NO
>> > | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig
>> and cmake)
>> > | Looking for a fallback subproject for the dependency
>> gstreamer-check-1.0
>> > | Subproject directory not found and gstreamer.wrap file not found
>> > | Subproject  subprojects/gstreamer is buildable: NO (disabling)
>> > 

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Khem Raj
On Mon, Jan 13, 2020 at 12:18:32PM +, Richard Purdie wrote:
> On Sun, 2020-01-12 at 14:59 +0100, Carlos Rafael Giani wrote:
> > * gstreamer1.0-plugins-common.inc
> >   The old gstreamer1.0-plugins.inc file, adapted for meson
> > * gstreamer1.0-plugins-packaging.inc
> >   The old gst-plugins-package.inc file, adapted for meson
> > * gstreamer1.0-ptest.inc
> >   Common code for meson based PTest support; autogenerates the run-ptest
> >   file and is designed to use the gnome-desktop-testing suite runner
> >   (which is why the .inc files inherits from ptest-gnome)
> > 
> > Signed-off-by: Carlos Rafael Giani 
> > ---
> >  .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
> >  .../gstreamer1.0-plugins-packaging.inc| 70 +++
> >  .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
> >  3 files changed, 138 insertions(+)
> >  create mode 100644 
> > meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
> >  create mode 100644 
> > meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
> >  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc
> 
> Thanks for this, I know its not an easy patch set to sort out!
> 
> I ran it on the autobuilder for testing since there was bandwidth
> available and there was one issue:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/1455
> 
> which was in a plain OE-Core + bitbake build (no poky, so nodistro).
> 
> Any idea what is wrong there?

gcc: fatal error: cannot execute ‘cc1obj’: execvp: No such file or directory

seems it needs objC ?

> 
> Cheers,
> 
> Richard
> 
> -- 
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Alexander Kanavin
I have reproduced this just now. You need to set up a special 'nodistro'
configuration like this:

bblayers.conf:
BBLAYERS ?= " \
  /home/alexander/development/poky/meta \
"
(and no other layers)

local.conf:

MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)

and build gstreamer1.0-plugins-base.

Alex


On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani 
wrote:

> Except that there is no such package. Also, even if I build GStreamer
> from scratch with all optional packageconfigs disabled, I do not get
> this error, nor do I get any warnings about potentially missing
> dependencies. So, I don't know what is going on here..
>
> On 13.01.20 13:59, Richard Purdie wrote:
> > On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:
> >> Nope. This is an odd one. Are you sure there isn't a problem with
> >> the
> >> setup itself? In step2c, I see:
> >>
> >>   > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
> >> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
> >> glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
> >> nodistro.0.sh
> >> is not built. Build it before running the tests: 'bitbake  -c
> >> populate_sdk' .
> > 2c fails as earlier stepd didn't build. I think the real issue is
> > step1b which says:
> >
> > | Compiler for C supports arguments -Wdeclaration-after-statement: YES
> > | Found pkg-config:
> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
> (0.29.2)
> > | Run-time dependency x11 found: YES 1.6.9
> > | Run-time dependency glib-2.0 found: YES 2.62.4
> > | Run-time dependency gobject-2.0 found: YES 2.62.4
> > | Run-time dependency gio-2.0 found: YES 2.62.4
> > | Run-time dependency gio-unix-2.0 found: YES 2.62.4
> > | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
> > | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
> > | Dependency gtk+-3.0 skipped: feature examples disabled
> > | Dependency gtk+-x11-3.0 skipped: feature examples disabled
> > | Run-time dependency gstreamer-1.0 found: YES 1.16.1
> > | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
> > | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
> > | Found CMake: NO
> > | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and
> cmake)
> > | Looking for a fallback subproject for the dependency
> gstreamer-check-1.0
> > | Subproject directory not found and gstreamer.wrap file not found
> > | Subproject  subprojects/gstreamer is buildable: NO (disabling)
> > | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer
> found: NO
> > |
> > | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep
> in subproject gstreamer
> > |
> > | A full log can be found at
> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
> > | WARNING:
> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
> exit 1 from 'exit 1'
> > |
> > NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure:
> Failed
> >
> > | Compiler for C supports arguments -Wdeclaration-after-statement: YES
> > | Found pkg-config:
> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
> (0.29.2)
> > | Run-time dependency x11 found: YES 1.6.9
> > | Run-time dependency glib-2.0 found: YES 2.62.4
> > | Run-time dependency gobject-2.0 found: YES 2.62.4
> > | Run-time dependency gio-2.0 found: YES 2.62.4
> > | Run-time dependency gio-unix-2.0 found: YES 2.62.4
> > | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
> > | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
> > | Dependency gtk+-3.0 skipped: feature examples disabled
> > | Dependency gtk+-x11-3.0 skipped: feature examples disabled
> > | Run-time dependency gstreamer-1.0 found: YES 1.16.1
> > | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
> > | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
> > | Found CMake: NO
> > | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and
> cmake)
> > | Looking for a fallback subproject for the dependency
> gstreamer-check-1.0
> > | Subproject directory not found and gstreamer.wrap file not found
> > | Subproject  subprojects/gstreamer is buildable: NO (disabling)
> > | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer
> found: NO
> > |
> > | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep
> in subproject gstreamer
> > |
> > | A full log can be found at
> 

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Alexander Kanavin
 ${GST_TEST_SUITE_NAME} is not actually defined anywhere? I believe this
has the undesired effect of running all installed test suites rather than
just gstreamer, including glib and others.


Alex

On Sun, 12 Jan 2020 at 15:31, Carlos Rafael Giani 
wrote:

> * gstreamer1.0-plugins-common.inc
>   The old gstreamer1.0-plugins.inc file, adapted for meson
> * gstreamer1.0-plugins-packaging.inc
>   The old gst-plugins-package.inc file, adapted for meson
> * gstreamer1.0-ptest.inc
>   Common code for meson based PTest support; autogenerates the run-ptest
>   file and is designed to use the gnome-desktop-testing suite runner
>   (which is why the .inc files inherits from ptest-gnome)
>
> Signed-off-by: Carlos Rafael Giani 
> ---
>  .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
>  .../gstreamer1.0-plugins-packaging.inc| 70 +++
>  .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
>  3 files changed, 138 insertions(+)
>  create mode 100644
> meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
>  create mode 100644
> meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
>  create mode 100644
> meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc
>
> diff --git
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
> new file mode 100644
> index 00..ccf55500a9
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
> @@ -0,0 +1,47 @@
> +# This .inc file contains the common setup for the gstreamer1.0-plugins-*
> +# plugin set recipes.
> +
> +# SUMMARY is set in the actual .bb recipes
> +HOMEPAGE = "https://gstreamer.freedesktop.org/;
> +BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer;
> +SECTION = "multimedia"
> +
> +DEPENDS = "gstreamer1.0 glib-2.0-native"
> +
> +inherit gettext meson pkgconfig upstream-version-is-even
> +
> +require gstreamer1.0-plugins-packaging.inc
> +
> +# Orc enables runtime JIT compilation of data processing routines from Orc
> +# bytecode to SIMD instructions for various architectures (currently SSE,
> MMX,
> +# MIPS, Altivec and NEON are supported).
> +# This value is used in the PACKAGECONFIG values for each plugin set
> recipe.
> +# By modifying it, Orc can be enabled/disabled in all of these recipes at
> once.
> +GSTREAMER_ORC ?= "orc"
> +
> +PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
> +
> +# TODO: put this in a gettext.bbclass patch (with variables to allow for
> +# configuring the option name and the enabled/disabled values).
> +def gettext_oemeson(d):
> +if d.getVar('USE_NLS') == 'no':
> +return '-Dnls=disabled'
> +# Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set
> +if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d,
> 'cross-canadian'):
> +return '-Dnls=disabled'
> +return '-Dnls=enabled'
> +
> +# Not all plugin sets contain examples, so the -Dexamples
> +# option needs to be added conditionally.
> +GST_PLUGIN_SET_HAS_EXAMPLES ?= "1"
> +
> +EXTRA_OEMESON += " \
> +${@bb.utils.contains('GST_PLUGIN_SET_HAS_EXAMPLES', '1',
> '-Dexamples=disabled', '', d)} \
> +${@gettext_oemeson(d)} \
> +"
> +
> +GIR_MESON_ENABLE_FLAG = "enabled"
> +GIR_MESON_DISABLE_FLAG = "disabled"
> +
> +# Dynamically generate packages for all enabled plugins
> +PACKAGES_DYNAMIC = "^${PN}-.*"
> diff --git
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
> new file mode 100644
> index 00..9a7a1b6afe
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
> @@ -0,0 +1,70 @@
> +# This .inc file contains functionality for automatically splitting
> +# built plugins into individual packages for each plugin. A -meta
> +# package is also set up that has no files of its own, but contains
> +# the names of all plugin packages in its RDEPENDS list.
> +#
> +# This is mainly used by the gstreamer1.0-plugins-* plugin set recipes,
> +# but can be used in any recipe that produces GStreamer plugins.
> +
> +PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages "
> +PACKAGESPLITFUNCS_append = " set_gstreamer10_metapkg_rdepends "
> +
> +python split_gstreamer10_packages () {
> +gst_libdir = d.expand('${libdir}/gstreamer-1.0')
> +postinst = d.getVar('plugin_postinst')
> +glibdir = d.getVar('libdir')
> +
> +# GStreamer libraries
> +do_split_packages(d, glibdir, r'^lib(.*)\.so\.*', 'lib%s', 'GStreamer
> 1.0 %s library', extra_depends='', allow_links=True)
> +# GStreamer plugin shared objects
> +do_split_packages(d, gst_libdir, r'libgst(.*)\.so$',
> d.expand('${PN}-%s'), 'GStreamer 1.0 plugin for %s', postinst=postinst,
> extra_depends='')
> +# GObject introspection files for GStreamer plugins
> +do_split_packages(d, 

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Carlos Rafael Giani
Except that there is no such package. Also, even if I build GStreamer 
from scratch with all optional packageconfigs disabled, I do not get 
this error, nor do I get any warnings about potentially missing 
dependencies. So, I don't know what is going on here..


On 13.01.20 13:59, Richard Purdie wrote:

On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:

Nope. This is an odd one. Are you sure there isn't a problem with
the
setup itself? In step2c, I see:

  > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
nodistro.0.sh
is not built. Build it before running the tests: 'bitbake  -c
populate_sdk' .

2c fails as earlier stepd didn't build. I think the real issue is
step1b which says:

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
|
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
|
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
|
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
|
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

missing a check dependency?

Cheers,

Richard



--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Richard Purdie
On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:
> Nope. This is an odd one. Are you sure there isn't a problem with
> the 
> setup itself? In step2c, I see:
> 
>  > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain 
> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
> glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
> nodistro.0.sh 
> is not built. Build it before running the tests: 'bitbake  -c 
> populate_sdk' .

2c fails as earlier stepd didn't build. I think the real issue is
step1b which says:

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
| 
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
| 
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
| 
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
| 
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
| 
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
| 
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

missing a check dependency?

Cheers,

Richard


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the 
setup itself? In step2c, I see:


> ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh 
is not built. Build it before running the tests: 'bitbake  -c 
populate_sdk' .


On 13.01.20 13:18, Richard Purdie wrote:

On Sun, 2020-01-12 at 14:59 +0100, Carlos Rafael Giani wrote:

* gstreamer1.0-plugins-common.inc
   The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
   The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
   Common code for meson based PTest support; autogenerates the run-ptest
   file and is designed to use the gnome-desktop-testing suite runner
   (which is why the .inc files inherits from ptest-gnome)

Signed-off-by: Carlos Rafael Giani 
---
  .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
  .../gstreamer1.0-plugins-packaging.inc| 70 +++
  .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
  3 files changed, 138 insertions(+)
  create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
  create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc

Thanks for this, I know its not an easy patch set to sort out!

I ran it on the autobuilder for testing since there was bandwidth
available and there was one issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/1455

which was in a plain OE-Core + bitbake build (no poky, so nodistro).

Any idea what is wrong there?

Cheers,

Richard


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Richard Purdie
On Sun, 2020-01-12 at 14:59 +0100, Carlos Rafael Giani wrote:
> * gstreamer1.0-plugins-common.inc
>   The old gstreamer1.0-plugins.inc file, adapted for meson
> * gstreamer1.0-plugins-packaging.inc
>   The old gst-plugins-package.inc file, adapted for meson
> * gstreamer1.0-ptest.inc
>   Common code for meson based PTest support; autogenerates the run-ptest
>   file and is designed to use the gnome-desktop-testing suite runner
>   (which is why the .inc files inherits from ptest-gnome)
> 
> Signed-off-by: Carlos Rafael Giani 
> ---
>  .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
>  .../gstreamer1.0-plugins-packaging.inc| 70 +++
>  .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
>  3 files changed, 138 insertions(+)
>  create mode 100644 
> meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
>  create mode 100644 
> meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
>  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc

Thanks for this, I know its not an easy patch set to sort out!

I ran it on the autobuilder for testing since there was bandwidth
available and there was one issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/1455

which was in a plain OE-Core + bitbake build (no poky, so nodistro).

Any idea what is wrong there?

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core