Display MoreI tried following these steps and am having a bit of trouble.
Unfortunately, I don't have enough free space on my local drive to do this. So I am trying off an external drive, but it fails with an error.
To start with, when I follow these instructions to the letter, the build works, but fails when it fills the available space. I stayed with it for some 10 minutes, then left it to run overnight and when I came back, the error message was pretty explicit with "drive full", well into the build.
Now, I am trying off an external HDD connected to USB and it fails after about 1 minute with this:
Code Display Moremake install-exec-hook make[4]: Entering directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu/src' rm /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/toolchain/bin/sem || true rm: cannot remove '/home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/toolchain/bin/sem': No such file or directory ln -s parallel /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/toolchain/bin/sem make[4]: Leaving directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu/src' make[3]: Leaving directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu/src' make[2]: Leaving directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu/src' make[2]: Entering directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu' make[3]: Entering directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu' make[2]: Leaving directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu' make[1]: Leaving directory '/media/louisnichols/Seagate_Expansion_Drive/build.LibreELEC-RPi2.arm-9.2-devel/parallel-20190722/.x86_64-linux-gnu' Packages loaded : 857 Build trigger(s): 1 [image] Package steps : 251 config/functions: line 1257: /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/.threads/locks/ccache:host.build: Invalid argument FAILURE: scripts/build ccache:host has failed! [001/251] [FAIL] build ccache:host The following logs for this failure are available: stdout: /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/.threads/logs/3/stdout stderr: /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/.threads/logs/3/stderr parallel: This job failed: package_worker 3 3 251 'build ccache:host' Parallel build failure - see log for details. Time of failure: Sun Dec 19 19:42:01 CET 2021 make: *** [Makefile:12: image] Error 1
stdout and stderr don't show any additional info:
stdout:
Code# cat build.LibreELEC-RPi2.arm-9.2-devel/.threads/logs/3/stdout config/functions: line 1257: /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/.threads/locks/ccache:host.build: Invalid argument FAILURE: scripts/build ccache:host has failed!
stderr
Code# cat build.LibreELEC-RPi2.arm-9.2-devel/.threads/logs/3/stderr [001/251] [FAIL] build ccache:host The following logs for this failure are available: stdout: /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/.threads/logs/3/stdout stderr: /home/louisnichols/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/.threads/logs/3/stderr
I tried to trick it by using ln -s from the external drive to ~/LibreELEC.tv/, but the result is the same.
In fact, these outputs are from such an attempt with ln -s. But, without it, the result was exactly the same.
After having these failures twice, I checked again that the build works out of a native folder and it does. So it really is something about using the external drive.
Any suggestions?
Nevermind. It occurred to me that it was all very silly and the only difference between "local" folders and the external drive was they way they were mounted. The external drive was mounted through gnome vfs. So I remounted the external drive the old school way with sudo mount and now the build is churning.
Thank you for these instructions!
Later edit: some 7 or 8 hours later, the build was succesful. It did have a couple of hiccups and I had to restart the build 3 times. The first time I deleted .ccccache, but for the next ones I didn't bother. And it got to the end. It was all quite exciting. And then I realized I compiled for the wrong platform. :))) OK, well, one more try...
In a ny case, this is probably the most complex build I've made since Compiz first came out.