All of lore.kernel.org
 help / color / mirror / Atom feed
* gstreamer-plugins-bad build error in dunfell for SABRESD platform
@ 2020-09-28 16:17 Georg Hartinger
  2020-09-28 17:26 ` [meta-freescale] " Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Georg Hartinger @ 2020-09-28 16:17 UTC (permalink / raw)
  To: meta-freescale


[-- Attachment #1.1: Type: text/plain, Size: 2475 bytes --]

Hi all,

I get build errors when building plain yocto Dunfell for the iMX6 SABRESD plattform (not mainline)

The setup was (under Ubuntu 16.04):
$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dunfell
$ MACHINE=imx6qdlsabresd DISTRO=fsl-wayland source setup-environment build-fsl-wayland
$ bitbake fsl-image-machine-test


The error is in gstreamer1.0-plugins-bad_1.16.imx:

a2e124a@@gstwaylandsink@sha/wlvideoformat.c.o' -c ../git/ext/wayland/wlvideoformat.c
| In file included from ../git/ext/wayland/wlvideoformat.c:30:
| ../git/ext/wayland/wlvideoformat.h:29:10: fatal error: drm_fourcc.h: No such file or directory
|    29 | #include <drm_fourcc.h>

The correct include path for this file would be <libdrm/drm_fourcc.h> so if I change all those includes it works.
But also all "#include <drm.h>" inside the recipe-sysroot folder have to be replaced with "#include <libdrm/drm.h>".

The strange thing is, that the gstreamer1.0-plugins-base does have that extended include path (also in the recipe-sysroot folder)

Any idea on how to fix this? I know I could write a patch for the sources itself, but how to handle the recipe-sysroot folder stuff?


Best Regards,

Georg Hartinger
Software Engineer ARM
congatec AG

Mit freundlichen Grüßen / Best regards,

Georg Hartinger
Software Engineer ARM

Tel: +49 (991) 2700-169
Email: Georg.Hartinger@congatec.com
Fax: +49 (991) 2700-27169
Web: www.congatec.com
_____________________________________________________________________


congatec AG|Auwiesenstraße 5|94469
Deggendorf|Germany
_____________________________________________________________________
Vorstand/Executive Board: Jason Carlson (CEO), G. Edi, J. Wenzl, T. Schultze
​Aufsichtsratsvorsitzender/Chairman of Supervisory Board: Dr. Wolfgang Hanrieder
​HRB Deggendorf 2731

Datenschutz - Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie sie bitte und
benachrichtigen Sie bitte umgehend per Antwort-E-Mail den Absender. In diesem Fall darf die E-Mail weder kopiert oder
für andere Zwecke verwendet, noch darf ihr Inhalt anderen Personen offengelegt werden.
Privacy Policy - Any e-mail sent from congatec may contain information which is confidential. If you are not the intended recipient, you may not
disclose, copy or use it; please notify the sender immediately and delete this e-mail and any copies from your systems.

[-- Attachment #1.2: Type: text/html, Size: 13969 bytes --]

[-- Attachment #2: image315492.png --]
[-- Type: image/png, Size: 19205 bytes --]

[-- Attachment #3: image774698.png --]
[-- Type: image/png, Size: 4852 bytes --]

[-- Attachment #4: image441343.png --]
[-- Type: image/png, Size: 475 bytes --]

[-- Attachment #5: image364203.png --]
[-- Type: image/png, Size: 489 bytes --]

[-- Attachment #6: image464047.png --]
[-- Type: image/png, Size: 520 bytes --]

[-- Attachment #7: image041448.png --]
[-- Type: image/png, Size: 467 bytes --]

[-- Attachment #8: image434645.png --]
[-- Type: image/png, Size: 646 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [meta-freescale] gstreamer-plugins-bad build error in dunfell for SABRESD platform
@ 2020-09-30 18:18 Otavio Salvador
  2020-10-02 13:14 ` Georg Hartinger
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2020-09-30 18:18 UTC (permalink / raw)
  To: Georg Hartinger; +Cc: meta-freescale

Hello,

Em qua., 30 de set. de 2020 às 14:51, Georg Hartinger
<Georg.Hartinger@congatec.com> escreveu:
> > We merged the dunfell-next so please upgrade your 'fslc' (using repo
> > sync) and please give it a go.
>
> Build is ok except uboot (which is now 2020.04), mesa and imx-test.

Please open issues on github for those errors.

> Is it possible that you apply the appended patch on meta-freescale to fix the imx-test package? It adds a patchfile and the patch filename to the recipe.

Please prepare a PR on github so we can review and apply.

> > The 'fsl-wayland' uses the fsl pinned versions. We don't apply many fixes on
> > those. The 'fslc-wayland' would be the equivalent one using the 'fslc' fixed
> > forks.
> >
> Is it possible to build the fsl-image-machine-test with fslc-wayland? I thought it is a bad idea to mix fsl images with fslc distros. But I try it.

Yes. If you use the NXP BSP this is mostly the same.

...
> From: Georg Hartinger <georg.hartinger@congatec.com>
> Date: Wed, 30 Sep 2020 16:30:01 +0200
> Subject: [PATCH 1/1] imx-test: fix compile issue format-not-a-string-literal

Please add the Upstream-Status header so we know this patch is pending.

> Signed-off-by: Georg Hartinger <georg.hartinger@congatec.com>


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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [meta-freescale] gstreamer-plugins-bad build error in dunfell for SABRESD platform
  2020-10-02 13:14 ` Georg Hartinger
@ 2020-10-02 13:23 Otavio Salvador
  2020-10-05  7:51 ` Georg Hartinger
  -1 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2020-10-02 13:23 UTC (permalink / raw)
  To: Georg Hartinger; +Cc: meta-freescale

Hello Georg,

Em sex., 2 de out. de 2020 às 10:14, Georg Hartinger
<Georg.Hartinger@congatec.com> escreveu:
> > > Is it possible to build the fsl-image-machine-test with fslc-wayland? I thought it is a bad idea to mix fsl images with fslc distros. But I try it.
> >Yes. If you use the NXP BSP this is mostly the same.
>
> Also an error occured on sources/poky/meta/recipes-kernel/lttng/lttng-modules_2.11.2.bb:do_compile:
>
> /home/devel/src/bsp-dunfell-fslc/build-fslc-wayland/tmp/work/imx6qdlsabresd-fslc-linux-gnueabi/lttng-modules/2.11.2-r0/lttng-modules-2.11.2/probes/../probes/lttng-tracepoint-event-impl.h:130:6: error: conflicting types for 'trace_writeback_queue_io'
>   130 | void trace_##_name(_proto);
>       |      ^~~~~~

Verify using Poky (dunfell-next) as there is a queued fix for it.

> The setup was:
> MACHINE=imx6qdlsabresd DISTRO=fslc-wayland source setup-environment build-fslc-wayland
> bitbake -k fsl-image-machine-test
>
> Where to open a ticket for errors in poky layer? Also on https://github.com/Freescale/meta-freescale?

You can open there and if it is not meta-freescale specific we try to
address and reassign.

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

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

end of thread, other threads:[~2020-10-05  7:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 16:17 gstreamer-plugins-bad build error in dunfell for SABRESD platform Georg Hartinger
2020-09-28 17:26 ` [meta-freescale] " Otavio Salvador
2020-09-30 18:18 Otavio Salvador
2020-10-02 13:14 ` Georg Hartinger
2020-10-02 13:23 [meta-freescale] " Otavio Salvador
2020-10-05  7:51 ` Georg Hartinger

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.