I found also that media_build doesn't compile (at least in 8.0.2b) because of patches that can't be applied. Could you please check that ? I think this is the same for 8.0.2c.
Code Display MoreBUILD media_build (target) make[1]: Entering directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi' make -C linux/ untar make[2]: Entering directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/linux' tar xfj linux-media.tar.bz2 rm -f .patches_applied .linked_dir .git_log.md5 make[2]: Leaving directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/linux' make[1]: Leaving directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi' make[1]: Entering directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi' make -C /home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/v4l make[2]: Entering directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/v4l' Forcing kernel version to 3.14.29. scripts/make_makefile.pl make[3]: Entering directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/linux' Applying patches for kernel 3.14.29 Updating/Creating .config patch -s -f -N -p1 -i ../backports/api_version.patch make[3]: Entering directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/linux' patch -s -f -N -p1 -i ../backports/pr_fmt.patch make[4]: Entering directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/linux' Unapplying patches patch -s -f -R -p1 -i ../backports/api_version.patch make[4]: Leaving directory '/home/nabil/LIBREELEC/AFL/8.0.2b/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-04-17-rpi/linux' Applying patches for kernel 3.14.29 patch -s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/dvb-pll.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/gp8psk-fe.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/lgdt3306a.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/nxt200x.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/nxt6000.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/or51211.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/media-devnode.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/btcx-risc.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-cards.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-driver.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-gpio.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-i2c.c.rej
media_build has non standard build procedure and sometimes there is wrong file caching causing build error. Try submit command
If error is still presented, try once more again clean script.