Following Compile [LibreELEC.wiki] instructions, LibreELE-8.90.004 fails to build:
Code
...
LINK tests/qemu-iotests/socket_scm_helper
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: cannot find -lgcrypt
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: cannot find -lgpg-error
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: cannot find -lgpg-error
collect2: error: ld returned 1 exit status
make[1]: *** [/home/rick/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/qemu-2.12.0/rules.mak:121: tests/qemu-iotests/socket_scm_helper] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/rick/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/qemu-2.12.0/.x86_64-pc-linux-gnu'
make: *** [Makefile:12: image] Error 2
In trying to debug I couldn't help but notice LE's build process constantly jumps in and out of it's toolchain randomly.
For example, sometimes it uses the system's GCC (7.3.0) and sometimes it uses the toolchain's GCC (8.2.0).
Sometimes it builds with the toolchain GCC, then within the same package build uses the system LD (?!).
Any ideas or do the build scripts need a re-write?
Note that I don't even want to build the image, just update the kernel enough to support laptop's mouse on current hardware but have been pointed down this dead-end road