Get the following error while compiling a LE 8.0.1 image.
Last lines of the output:
Code
UNPACK bcm2835-driver
UNPACK dtc
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 2
@libreelec:~/LibreELEC.tv$
Based on the output I get that the unpack of dtc fails.
But don't see an issue with the file.
Code
cd ~/LibreELEC.tv/sources/dtc
$ cat dtc-1.4.2.tar.xz.md5
04891daf4544da49958b60109ed4beb1 sources/dtc/dtc-1.4.2.tar.xz
$ md5sum dtc-1.4.2.tar.xz
04891daf4544da49958b60109ed4beb1 dtc-1.4.2.tar.xz
$ tar -tvf dtc-1.4.2.tar.xz
drwxrwxr-x root/root 0 2016-09-03 13:02 1.4.2/
-rw-rw-r-- root/root 130 2016-09-03 13:02 1.4.2/.gitignore
-rw-rw-r-- root/root 57 2016-09-03 13:02 1.4.2/.travis.yml
drwxrwxr-x root/root 0 2016-09-03 13:02 1.4.2/Documentation/
-rw-rw-r-- root/root 1275 2016-09-03 13:02 1.4.2/Documentation/dtc-paper.bib
<snip>
-rw-rw-r-- root/root 6165 2016-09-03 13:02 1.4.2/treesource.c
-rw-rw-r-- root/root 9598 2016-09-03 13:02 1.4.2/util.c
-rw-rw-r-- root/root 7674 2016-09-03 13:02 1.4.2/util.h
:~/LibreELEC.tv/sources/dtc$
Display More
Compiled on a newly created VM with Ubuntu 16.04
Commands used.
Code
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gcc make git
sudo dpkg-reconfigure dash
cd ~
git clone [url]https://github.com/LibreELEC/LibreELEC.tv.git[/url]
cd ~/LibreELEC.tv
git checkout 8.0.1
PREFER_PACKAGE_MIRROR=yes PROJECT=RPi2 ARCH=arm tools/download-tool
PROJECT=RPi2 ARCH=arm make image
Link to last ~2000 lines output.
https://forum.libreelec.tv/thread-7906.html - Pastebin.com