In case any else has this issue it can be solved by creating a lib folder in .kodi/addons/game.libretro then copying liblzma.so.5 and libXi.so.6 to it.
Posts by drc38
-
-
Realised I was going about this the wrong way, instead of trying to revert the existing build platform to the 5.6 kernel I changed tack and checked out the working 5.6 repo - then updated the mediacenter package to kodi19b from the master repo. This required adding in some package dependencies. Here is the link to the branch with the changes required for anyone interested. Note I will not be able to support any issues with the custom build.
-
Thanks for the help so far smp, the linux:host compiles using the file suggested. However linux:target is coming up with the following failure log:
Code
Display More[1;33mBUILD[0m linux [1;37m(target)[0m [1;35mTOOLCHAIN[0m make (auto-detect) [1;32mINSTALL[0m glibc [1;37m(init)[0m [1;32mINSTALL[0m libc [1;37m(init)[0m [1;32mINSTALL[0m busybox [1;37m(init)[0m [1;32mINSTALL[0m gcc [1;37m(init)[0m [1;32mINSTALL[0m plymouth-lite [1;37m(init)[0m [1;32mINSTALL[0m util-linux [1;37m(init)[0m [1;32mINSTALL[0m e2fsprogs [1;37m(init)[0m [1;32mINSTALL[0m dosfstools [1;37m(init)[0m [1;32mINSTALL[0m Python3 [1;37m(host)[0m [1;32mINSTALL[0m terminus-font [1;37m(init)[0m [1;32mINSTALL[0m open-iscsi [1;37m(init)[0m [1;32mINSTALL[0m initramfs [1;37m(init)[0m [1;32mINSTALL[0m initramfs [1;37m(target)[0m make[1]: Entering directory '/home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13' scripts/kconfig/conf --oldconfig Kconfig # # No change to .config # make[1]: Leaving directory '/home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13' make[1]: Entering directory '/home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13' scripts/kconfig/conf --syncconfig Kconfig DESCEND objtool CALL scripts/atomic/check-atomics.sh CALL scripts/checksyscalls.sh CHK include/generated/compile.h GZIP kernel/config_data.gz CC [M] kernel/configs.o Kernel: arch/x86/boot/bzImage is ready (#1) MODPOST 810 modules LD [M] kernel/configs.ko make[1]: Leaving directory '/home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13' make[1]: Entering directory '/home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13/tools/perf' BUILD: Doing 'make [33m-j4[m' parallel build Auto-detecting system features: ... dwarf: [ [32mon[m ] ... dwarf_getlocations: [ [32mon[m ] ... glibc: [ [32mon[m ] ... gtk2: [ [31mOFF[m ] ... libaudit: [ [31mOFF[m ] ... libbfd: [ [31mOFF[m ] ... libcap: [ [32mon[m ] ... libelf: [ [32mon[m ] ... libnuma: [ [31mOFF[m ] ... numa_num_possible_cpus: [ [31mOFF[m ] ... libperl: [ [31mOFF[m ] ... libpython: [ [31mOFF[m ] ... libcrypto: [ [32mon[m ] ... libunwind: [ [32mon[m ] ... libdw-dwarf-unwind: [ [32mon[m ] ... zlib: [ [32mon[m ] ... lzma: [ [31mOFF[m ] ... get_cpuid: [ [32mon[m ] ... bpf: [ [32mon[m ] ... libaio: [ [32mon[m ] ... libzstd: [ [31mOFF[m ] ... disassembler-four-args: [ [32mon[m ] Makefile.config:746: Python support disabled by user Makefile.config:852: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR Makefile.config:931: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev Makefile.config:975: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel DESCEND plugins make[4]: Nothing to be done for 'plugins/libtraceevent-dynamic-list'. GEN perf-archive GEN perf-with-kcore CC util/header.o LD util/perf-in.o LD perf-in.o LINK perf /home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld.gold: error: /home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13/tools/lib/traceevent/plugins/libtraceevent-dynamic-list:2:6: invalid character /home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld.gold: error: /home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13/tools/lib/traceevent/plugins/libtraceevent-dynamic-list:2:6: syntax error, unexpected $end, expecting ';' /home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld.gold: fatal error: unable to parse dynamic-list script file /home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13/tools/lib/traceevent/plugins/libtraceevent-dynamic-list collect2: error: ld returned 1 exit status make[3]: *** [Makefile.perf:628: perf] Error 1 make[2]: *** [Makefile.perf:225: sub-make] Error 2 make[1]: *** [Makefile:70: all] Error 2 make[1]: Leaving directory '/home/drc38/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/linux-5.6.13/tools/perf' [1;31mFAILURE: scripts/build linux:target during make_target (package.mk)[0m *********** FAILED COMMAND *********** [ "$PKG_BUILD_PERF" = "yes" ] ************************************** *********** FAILED COMMAND *********** ${SCRIPTS}/build "${1}" "${PARENT_PKG}" ************************************** [1;31mFAILURE: scripts/install linux:target has failed![0m
as it is referencing a dynamic list I am struggling to see where the syntax error comes from, or why it is occurring. Does this error mean the gcc version also needs to be downgraded to compile the 5.6.13 kernel?
-
Thanks mglae for the suggestions above, it turns out the QNAP was too slow and had insufficient memory to be a suitable build environment. I have setup a WSL2 environment on my laptop instead which has completed the build without issues.
-
smp, I am trying to go down the route of building the latest 9.8 repo with the same linux kernel that the last Milhouse build that had the Crazycat add on working used - Linux 5.6.13. It is currently failing as it is using a gcc config for the 5.10 kernel. Where do I get linux.x86_64.conf for this particular kernel or how do I generate it? Thanks
-
It failed on pixman:host, now that it is building without errors is it possible to retrieve the old log?
-
Looks like there is an issue with the pixman meson.build logic to detect the host/build architecture, I don't fully understand how it works but setting the mmx and sse2 flags to false after their respective detection logic has provided a workaround to continue with the libreelec build.
-
As I do not have a dedicated linux machine I thought I'd try setting up a Docker build environment and run it on my QNAP. There were a few extra packages required to be installed, here is the Dockerfile if anyone else wants to setup a similar environment:
Docker
Display MoreFROM ubuntu:bionic RUN apt-get update && \ apt-get install -y sudo curl git-core locales wget nano gcc make git unzip wget xz-utils bc gperf zip unzip g++ xsltproc gawk lzop xfonts-utils default-jre python3 patchutils qemu-user-binfmt libncurses5-dev libc6-amd64-i386-cross libjson-perl libxml-parser-perl libparse-yapp-perl && \ locale-gen en_US.UTF-8 && \ adduser --quiet --disabled-password --home /mnt/devuser --gecos "User" devuser && \ echo "devuser:p@ssword1" | chpasswd && usermod -aG sudo devuser && \ mkdir -p /lib/x86_64-linux-gnu && \ mkdir -p /lib64 && \ test -f /lib64/ld-linux-x86-64.so.2 || ln -s /usr/i686-linux-gnu/lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 && \ test -f /lib/x86_64-linux-gnu/libc.so.6 || ln -s /usr/i686-linux-gnu/lib64/libc.so.6 /lib/x86_64-linux-gnu/libc.so.6 USER devuser
and then to build:
Only issue is the QNAP is an Arm64 device and the Generic x86 build fails compiling pixman:
Code../pixman/pixman-x86.c: In function 'detect_cpu_features': ../pixman/pixman-x86.c:90:5: error: unknown register name '%ecx' in 'asm'
As far as I can tell it is a cross-compiling issue as it expects an x86 cpu (similar issue), I couldn't find anything relevant on the forum on extra settings for cross-compiling. Does anyone have any suggestions?
-
Thanks, what is the process for generating the patch file? I assume the patch needs to be copied here LibreELEC.tv/projects/Generic/patches/linux/ before building, I have a saa716x based card.
-
I am currently on a Kodi 19 Milhouse build from 27 May (most recent version I have found with working DVB TBS drivers) and would like to switch to the Kodi 19 beta as add-ons are now updating to xbmcvfs and becoming incompatible with the older version. Does the LibreELEC-Generic.x86_64-9.80-nightly-20201226-4e458a0.img.gz nightly build contain the DVB drivers as the driver for my TBS card is not loading on start up? Or do I need to compile separately? Thanks
-
Note - the above was successful in loading the kernel-overlay drivers with the exception I needed 1 .conf file per entry eg crazycat.conf, dvb_digital.conf as the script does not enumerate each line.
-
I don't have access to my kodi box at the moment, but examining the following script:
LibreELEC.tv/kernel-overlays-setup at master · LibreELEC/LibreELEC.tv · GitHub
I assume I need to create a [user_defined_mods_to_load].conf file in the following directory:
OVERLAY_CONFIG_DIR=/storage/.cache/kernel-overlays
with the below for my TBS card:
in order to load the extra kernel-overlay modules included in the squash file, does that sound about right?
-
Looks like a similar issue with your 3 Dec LE9 build, the LibreElec Module Drivers add-on reports "No driver modules found" and it is also missing the updates folder. Might try installing a VM and building LE9 from the master as Windows 10 linux shell fails to build the LE9 image.
-
Thanks, drivers were not there so will load your 3 Dec build of LE9 tomorrow
-
When I compare the /lib/modules/[kernel version] folder structure it appears the LE9 build is missing the updates folder containing the saa716x drivers
-
Will I need to create my own build to activate mediabuild dvb drivers? Couldn't see any driver add-ons from within kodi?
-
Not sure whether others have had the same issue, when I upgraded from the official Libreelec 8.2.2 to:
Generic.x86_64-devel-20180104223802-#0104-gf7875a1
the dvb_core, dvbdev and SAA716x Budget drivers do not load.
The good news, with LE9 was I was able to access Prime Video through the adaptive inputstream, as I could not get Prime Video to work with Chromium on 8.2.2. Hence it would be good to be able to migrate to the LE9 dev build.
Happy to load any debug info required.
Cheers