gst-plugins-bad build fail

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-plugins-bad build fail

Russel Winder
I am guessing that:

1. Update gst-build clone
2. Run ./git-update in gst-build clone
3. Run ninja in the Meson constructed build directory for gst-build

is the right way of keeping up to date for the whole of the standard
GStreamer system.

Today 2017-01-12T07:00+00:00, for the gst-plugins-bad, git-update
reports:


Updating gst-plugins-bad...
  -> 95c842a - codecparsers: remove problematic 'extern inline'


but when Ninja is running I get build fails. I ran this a few times to
ensure, I even cleaned to avoid any hysteresis in the build. I am on
Debian Sid fully up to date. Is this a genuine problem or something
silly I have done at my end?


|> ninja clean
[2/2] 'Cleaning'
Cleaning... 570 files.
535 anglides:~/BuildArea/GStreamer_Build 
|> ninja
[541/2417] Compiling c object 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfeature.c.o'
FAILED: subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfeature.c.o 
cc  '-Isubprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha' '-fdiagnostics-color=always' '-Isubprojects/gst-plugins-bad/gst-libs/gst/gl' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl' '-Isubprojects/gst-plugins-bad/.' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/.' '-Isubprojects/gst-plugins-bad/gst-libs' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs' '-Isubprojects/gstreamer/libs' '-I../../../../Checkouts/Git/GST_Build/subprojects/gstreamer/libs' '-Isubprojects/gstreamer/.' '-I../../../../Checkouts/Git/GST_Build/subprojects/gstreamer/.' '-Isubprojects/gst-plugins-base/gst-libs' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-base/gst-libs' '-pipe' '-Wall' '-Winvalid-pch' '-DHAVE_CONFIG_H' '-DGST_USE_UNSTABLE_API' '-DGST_EXPORTS' '-O0' '-g' '-fPIC' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/orc-0.4' '-pthread' '-I/usr/include/libdrm' '-pthread' '-Isubprojects/gstreamer/gst' '-Isubprojects/gst-plugins-base/gst-libs/gst/video' '-MMD' '-MQ' 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfeature.c.o' '-MF' 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfeature.c.o.d' -o 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfeature.c.o' -c ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfeature.c
In file included from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglapi.h:81:0,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gl.h:29,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfeature.c:27:
../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/glprototypes/gstgl_compat.h:40:18: error: conflicting types for ‘GLsync’
 typedef gpointer GLsync;
                  ^~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglapi.h:65,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gl.h:29,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfeature.c:27:
/usr/include/GL/glext.h:1385:26: note: previous declaration of ‘GLsync’ was here
 typedef struct __GLsync *GLsync;
                          ^~~~~~
[542/2417] Compiling c object 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfilter.c.o'
FAILED: subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfilter.c.o 
cc  '-Isubprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha' '-fdiagnostics-color=always' '-Isubprojects/gst-plugins-bad/gst-libs/gst/gl' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl' '-Isubprojects/gst-plugins-bad/.' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/.' '-Isubprojects/gst-plugins-bad/gst-libs' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs' '-Isubprojects/gstreamer/libs' '-I../../../../Checkouts/Git/GST_Build/subprojects/gstreamer/libs' '-Isubprojects/gstreamer/.' '-I../../../../Checkouts/Git/GST_Build/subprojects/gstreamer/.' '-Isubprojects/gst-plugins-base/gst-libs' '-I../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-base/gst-libs' '-pipe' '-Wall' '-Winvalid-pch' '-DHAVE_CONFIG_H' '-DGST_USE_UNSTABLE_API' '-DGST_EXPORTS' '-O0' '-g' '-fPIC' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/orc-0.4' '-pthread' '-I/usr/include/libdrm' '-pthread' '-Isubprojects/gstreamer/gst' '-Isubprojects/gst-plugins-base/gst-libs/gst/video' '-MMD' '-MQ' 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfilter.c.o' '-MF' 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfilter.c.o.d' -o 'subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl-1.0@sha/gstglfilter.c.o' -c ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfilter.c
In file included from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglapi.h:81:0,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gl.h:29,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfilter.h:29,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfilter.c:38:
../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/glprototypes/gstgl_compat.h:40:18: error: conflicting types for ‘GLsync’
 typedef gpointer GLsync;
                  ^~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglapi.h:65,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gl.h:29,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfilter.h:29,
                 from ../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglfilter.c:38:
/usr/include/GL/glext.h:1385:26: note: previous declaration of ‘GLsync’ was here
 typedef struct __GLsync *GLsync;
                          ^~~~~~
[550/2417] Compiling c object 'subprojects/gst-plugins-base/tests/check/libs/rtp@exe/libs_rtp.c.o'
ninja: build stopped: subcommand failed.


--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gst-plugins-bad build fail

Tim Müller
On Thu, 2017-01-12 at 07:07 +0000, Russel Winder wrote:

Hi Russel,

> I am guessing that:
>
> 1. Update gst-build clone
> 2. Run ./git-update in gst-build clone
> 3. Run ninja in the Meson constructed build directory for gst-build
> is the right way of keeping up to date for the whole of the standard
> GStreamer system.

Yes, there's also a git-update target IIRC so you can just do

  ninja -C build git-update

> Updating gst-plugins-bad...
>   -> 95c842a - codecparsers: remove problematic 'extern inline'
>
> but when Ninja is running I get build fails. I ran this a few times
> to ensure, I even cleaned to avoid any hysteresis in the build. I am
> on Debian Sid fully up to date. Is this a genuine problem or
> something silly I have done at my end?

../../../../Checkouts/Git/GST_Build/subprojects/gst-plugins-bad/gst-
> libs/gst/gl/gstglfilter.c:38:
> /usr/include/GL/glext.h:1385:26: note: previous declaration of
> ‘GLsync’ was here
>  typedef struct __GLsync *GLsync;
>                           ^~~~~~

It builds fine for me on sid. I'd say it's unlikely to be something you
did wrong. Please file a bug in bugzilla with the full meson log and
build output. Thanks!

Cheers
 -Tim
>
---
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-plugins-bad build fail

Russel Winder
On Thu, 2017-01-12 at 11:00 +0000, Tim Müller wrote:
> […]

> Yes, there's also a git-update target IIRC so you can just do
>
>   ninja -C build git-update

Aha, I shall just use that ninja target in the build directory in
future. This is even nicer!

[…]
>
> It builds fine for me on sid. I'd say it's unlikely to be something
> you
> did wrong. Please file a bug in bugzilla with the full meson log and
> build output. Thanks!

If it builds for you with Debian Sid then it must be something I have
installed you do not, or vice versa.

https://bugzilla.gnome.org/show_bug.cgi?id=777167 created. Hopefully Iattached what you asked for.

[…]
--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment