Unable to compile LE 8.0.2.1

  • Hi!

    I'm trying to compile LE 8.2.0.1 but i'm getting an error.

    The weird thing its that i was able to compile without problems a few months ago (8.0.2 version). But now the process stops with errors (both on 8.0.2 and 8.0.2.1).

    To be sure, i've cloned again the repository in a new directory and compile from zero, but error is still here.

    I'm using Ubuntu 17.10 amd64.

    Any help is very welcome.

    Code
    libtool: compile:  /media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/bin/host-gcc -DHAVE_CONFIG_H -I. -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib -I.. -I.. -I../glib -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -O2 -Wall -pipe -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/include -Wno-format-security -MT libglib_2_0_la-genviron.lo -MD -MP -MF .deps/libglib_2_0_la-genviron.Tpo -c /media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib/genviron.c -o libglib_2_0_la-genviron.o
    libtool: compile:  /media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/bin/host-gcc -DHAVE_CONFIG_H -I. -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib -I.. -I.. -I../glib -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fvisibility=hidden -O2 -Wall -pipe -I/media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/include -Wno-format-security -MT libglib_2_0_la-gerror.lo -MD -MP -MF .deps/libglib_2_0_la-gerror.Tpo -c /media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib/gerror.c -o libglib_2_0_la-gerror.o
    /media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib/gdate.c: In function 'g_date_strftime':
    /media/Development/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/pkg-config-0.29.1/glib/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
           tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
           ^~~~~~
    cc1: some warnings being treated as errors
    make[7]: *** [Makefile:1387: libglib_2_0_la-gdate.lo] Error 1
    make[7]: *** Waiting for unfinished jobs....