Closed MarkusVolk closed 2 years ago
@MarkusVolk Great work! I'll leave it for 2-3 days before merge.
@MarkusVolk Did you encountered issue with libnfs and kodi? I'm testing against langdale, some layers set to master, my target is raspberrypi4:
CMake Error at /home/dev/storage/SN750-1TB/embedded/yocto/master/retro-build-environment/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/kodi/20.0a3-Nexus-Nexus-r0/recipe-sysroot/usr/lib/cmake/libnfs/libnfs-config.cmake:70 (message): | The imported target "libnfs::nfs" references the file |
---|---|
"/usr/lib/libnfs.so.5.0.2" | |
but this file does not exist. Possible reasons include: | |
* The file was deleted, renamed, or moved to another location. | |
* An install or uninstall procedure did not complete successfully. | |
* The installation package was faulty and contained | |
"/home/dev/storage/SN750-1TB/embedded/yocto/master/retro-build-environment/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/kodi/20.0a3-Nexus-Nexus-r0/recipe-sysroot/usr/lib/cmake/libnfs/libnfs-config.cmake" | |
but not all the files it references. |
I have those in sysroot: ~/.../tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi ⑂master $ find . -iname 'nfs.so' ./kodi/20.0a3-Nexus-Nexus-r0/recipe-sysroot/usr/lib/libnfs.so.11.1.0 ./kodi/20.0a3-Nexus-Nexus-r0/recipe-sysroot/usr/lib/libnfs.so ./kodi/20.0a3-Nexus-Nexus-r0/recipe-sysroot/usr/lib/libnfs.so.5.0.2
lrwxrwxrwx 1 dev dev 16 paź 10 14:56 libnfs.so -> libnfs.so.11.1.0 lrwxrwxrwx 1 dev dev 15 paź 10 14:56 libnfs.so.11.1.0 -> libnfs.so.5.0.2 -rwxr-xr-x 2 dev dev 258K paź 10 14:16 libnfs.so.5.0.2
Looks like some kind of multi-version or compatibility with 5.x, not sure.
@dev-0x7C6 I was able to reproduce and sent a patch that should fix the issue.
Looks like cmake is able to find libnfs 5.0.2 if using 'find_package' but then fails because of using host path instead of STAGING_LIBDIR
Ok, I have successful build with raspberrypi4 and intel-corei7-64, let's go :-)
This is a major Update, containing fixes for langdale release. Nameable improvements are: