On 12/08/2019 18:05, Pierre Labastie via blfs-support wrote:
> On 12/08/2019 17:27, Riccardo G Corsi via blfs-support wrote:
>> On 12/08/19 14:24, Riccardo G Corsi wrote:
>>> Hello, compiling with jhalfs (same by hand) with BLFS last svn, I've found
>>> error in gst-plugins-goog-1.16.0:
>>>
>>> [390/737] Compiling C object
>>> 'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o'.
>>> FAILED: sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o
>>> cc -Isys/v4l2/ee6e745@@gstvideo4linux2@sha -Isys/v4l2 -I../sys/v4l2 -I.
>>> -I../ -I../gst-libs -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
>>> -I/usr/lib/glib-2.0/include -I/usr/include/gudev-1.0
>>> -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
>>> -O3 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS
>>> -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Winit-self
>>> -Wmissing-include-dirs -Wno-multichar -Wvla -Wpointer-arith
>>> -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition
>>> -Waggregate-return -Wno-unused -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ
>>> 'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o' -MF
>>> 'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o.d' -o
>>> 'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o' -c
>>> ../sys/v4l2/gstv4l2allocator.c
>>> In file included from ../sys/v4l2/ext/videodev2.h:63,
>>>                  from ../sys/v4l2/gstv4l2allocator.c:28:
>>> ../sys/v4l2/ext/types-compat.h:48:15: error: conflicting types for �gint64�
>>>    48 | #define __s64 gint64
>>>       |               ^~~~~~
>>> In file included from /usr/include/glib-2.0/glib/gtypes.h:32,
>>>                  from /usr/include/glib-2.0/glib/galloca.h:32,
>>>                  from /usr/include/glib-2.0/glib.h:30,
>>>                  from ../sys/v4l2/ext/types-compat.h:22,
>>>                  from ../sys/v4l2/ext/videodev2.h:63,
>>>                  from ../sys/v4l2/gstv4l2allocator.c:28:
>>> /usr/lib/glib-2.0/include/glibconfig.h:61:21: note: previous declaration of
>>> �gint64� was here
>>>    61 | typedef signed long gint64;
>>>       |                     ^~~~~~
>>> In file included from ../sys/v4l2/ext/videodev2.h:63,
>>>                  from ../sys/v4l2/gstv4l2allocator.c:28:
>>> ../sys/v4l2/ext/types-compat.h:44:15: error: conflicting types for �guint64�
>>>    44 | #define __u64 guint64
>>>       |               ^~~~~~~
>>> In file included from /usr/include/glib-2.0/glib/gtypes.h:32,
>>>                  from /usr/include/glib-2.0/glib/galloca.h:32,
>>>                  from /usr/include/glib-2.0/glib.h:30,
>>>                  from ../sys/v4l2/ext/types-compat.h:22,
>>>                  from ../sys/v4l2/ext/videodev2.h:63,
>>>                  from ../sys/v4l2/gstv4l2allocator.c:28:
>>> /usr/lib/glib-2.0/include/glibconfig.h:62:23: note: previous declaration of
>>> �guint64� was here
>>>    62 | typedef unsigned long guint64;
>>>       |                       ^~~~~~~
>>> ninja: build stopped: subcommand failed.
>>>
>>> Some hints to overcome it or check my installation?
>>>
>>> Thanks
>>>
>>> Riccardo 
>>
>> Problem solved in the development version. Maybe significative only if you
>> have installed (like me ) v4l-utils.
>> v4l2: Fix type compatibility issue with glibc 2.30 (#635)
>> https://github.com/GStreamer/gst-plugins-good/commit/45b6514f33b280842a381e700acc08a17cb9893c
>>
>>
> 
> I have hit this without v4l-utils. It looks like it comes from a circular type
> definition, introduced by glibc-2.30, although nobody seems to be able to
> point exactly where...
> Will make a patch. You can use
> https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/commit/29c3570901e1c145dce57824ddc9276fddf0d808.patch
> (all on one line) as a patch for now.
> 

Tested OK. Done at rev 21942.

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to