All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13796] New: Problems compiling package gst-plugins-good
@ 2021-05-07 13:12 bugzilla at busybox.net
  2021-05-10 20:00 ` [Buildroot] [Bug 13796] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2021-05-07 13:12 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13796

            Bug ID: 13796
           Summary: Problems compiling package gst-plugins-good
           Product: buildroot
           Version: 2021.02.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: alfredo.pons at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Created attachment 8936
  --> https://bugs.busybox.net/attachment.cgi?id=8936&action=edit
Configuration file and logs

With my configuration for Raspberry Pi 1, the compilation of gst-plugins-good
fails. I attach configuration file and compilation logs (extract).

To reproduce the compilation error, just load my configuration and run: 'make'

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13796] Problems compiling package gst-plugins-good
  2021-05-07 13:12 [Buildroot] [Bug 13796] New: Problems compiling package gst-plugins-good bugzilla at busybox.net
@ 2021-05-10 20:00 ` bugzilla at busybox.net
  2022-07-24 13:25 ` bugzilla
  2022-07-25 13:01 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2021-05-10 20:00 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13796

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
(In reply to Alfredo Pons Menargues from comment #0)

The failure is:

.../host/arm-linucleus-linux-gnueabihf/sysroot/usr/include/gstreamer-1.0/gst/gl/glprototypes/gstgl_compat.h:40:18:
error: conflicting declaration ?typedef void* GLsync?
   40 | typedef gpointer GLsync;
      |                  ^~~~~~

.../host/arm-linucleus-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qopengles2ext.h:24:26:
note: previous declaration as ?typedef struct __GLsync* GLsync?
   24 | typedef struct __GLsync *GLsync;
      |                          ^~~~~~

File gstgl_compat.h:

 39 #if !GST_GL_HAVE_GLSYNC
 40 typedef gpointer GLsync;
 41 #endif

File qopengles2ext.h:

   1 #ifndef __gles2_gl2ext_h_
   2 #define __gles2_gl2ext_h_ 1
   3
   4 #if 0
   5 #pragma qt_no_master_include
   6 #pragma qt_sync_skip_header_check
   7 #pragma qt_sync_stop_processing
   8 #endif
   9
  10 #ifdef __cplusplus
  11 extern "C" {
  12 #endif
  13
  14 #ifndef __gl3_h_
  15 /* These types are defined with reference to <inttypes.h>
  16  * in the Apple extension spec, but here we use the Khronos
  17  * portable types in khrplatform.h, and assume those types
  18  * are always defined.
  19  * If any other extensions using these types are defined,
  20  * the typedefs must move out of this block and be shared.
  21  */
  22 typedef khronos_int64_t GLint64;
  23 typedef khronos_uint64_t GLuint64;
  24 typedef struct __GLsync *GLsync;
  25 #endif

The problem is that gstreamer sees the original gl2ext.h file from
rpi-userland
(rpi-userland-093b30bbc2fd083d68cc3ee07e6e555c6e592d11/interface/khronos/include/GLES2/gl2ext.h)
without the additional GLint64, GLuint64 and GLsync typedef definitions but
checks for existance and if not found enables its own versions in
gstgl_compat.h,
incompatible with the later ones used from Qt (qopengles2ext.h).

An RFC patch suggested, see:

https://patchwork.ozlabs.org/project/buildroot/patch/20210510195352.13205-1-ps.report at gmx.net/

Only compile tested (yet)...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13796] Problems compiling package gst-plugins-good
  2021-05-07 13:12 [Buildroot] [Bug 13796] New: Problems compiling package gst-plugins-good bugzilla at busybox.net
  2021-05-10 20:00 ` [Buildroot] [Bug 13796] " bugzilla at busybox.net
@ 2022-07-24 13:25 ` bugzilla
  2022-07-25 13:01 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2022-07-24 13:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13796

--- Comment #2 from romain.naour@gmail.com ---
Hello,

This issue can still be reproduced from Buildroot master branch.

Khronos headers are the same since 10 years:

https://github.com/raspberrypi/userland/tree/master/interface/khronos/include/GLES2

In 2014, mesa3d updated Khronos headers to revision 24614 where GLsync moved
from gl2ext.h to gl2.h.

https://gitlab.freedesktop.org/mesa/mesa/-/commit/117d8ce27b7929c42f46f818ac038580877b3086

https://gitlab.freedesktop.org/mesa/mesa/-/commit/d519ebb34cd21cfc13987f2038d7a2ec353a5cfd

I guess it's not only a GLsync issue but a too old khronos headers.

Best regards,
Romain

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 13796] Problems compiling package gst-plugins-good
  2021-05-07 13:12 [Buildroot] [Bug 13796] New: Problems compiling package gst-plugins-good bugzilla at busybox.net
  2021-05-10 20:00 ` [Buildroot] [Bug 13796] " bugzilla at busybox.net
  2022-07-24 13:25 ` bugzilla
@ 2022-07-25 13:01 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2022-07-25 13:01 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13796

Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=e008c0bb104eb952cab27b3887912529f9e8e10e.
Thanks a lot!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-07-25 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 13:12 [Buildroot] [Bug 13796] New: Problems compiling package gst-plugins-good bugzilla at busybox.net
2021-05-10 20:00 ` [Buildroot] [Bug 13796] " bugzilla at busybox.net
2022-07-24 13:25 ` bugzilla
2022-07-25 13:01 ` bugzilla

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.