Two fixes regarding eSDK
cover Two fixes regarding eSDK
The following changes since commit 3bbbe25ae74e120f7d3452685f0cae2245d7b14d:
glibc-package.inc: correct intention for deleting /usr/lib as needed (2018-09-27 23:41:41 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/esdk-fixes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/esdk-fixes
Chen Qi (2):
nativesdk-packagegroup-sdk-host.bb: remove nativesdk-dnf
libsdl2: disable sndio explicitly to avoid inconsistent result
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 - meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH 1/2 nativesdk-packagegroup-sdk-host.bb: remove nativesdk-dnf
Currently the dnf command inside SDK does not work. We will get error message like below:
ImportError: No module named 'dnf'
So remove it from nativesdk-packagegroup-sdk-host, otherwise, users will get unpleasant experience if they are working inside SDK environment on some distros like Fedora.
--- meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +0 -1
@@ -21,7 +21,6 @@ RDEPENDS_${PN} = "\ nativesdk-automake \ nativesdk-shadow \ nativesdk-makedevs \ - nativesdk-dnf \ nativesdk-cmake \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \ nativesdk-sdk-provides-dummy \
Signature · 1 line
1.9.1
PATCH 2/2 libsdl2: disable sndio explicitly to avoid inconsistent result
In reply to Chen QiExplicitly disable sndio to avoid inconsistent result on different hosts having or not having libsndio.
This must be done if we take into consideration of eSDK.
I built eSDK on Ubuntu 14.04 which has libsndio installed, and then installed the eSDK on Fedora 27, which does not have libsndio. In fact, on Fedora 27, I even cannot find libsndio in its repo.
The problem happens when trying to use `devtool runqemu'. The qemu binary built on Ubuntu 14.04 needs to link to libsndio, and thus the following error.
runqemu - ERROR - Failed to run qemu: /path/to/qemu-system-x86_64:
error while loading shared libraries: libsndio.so.6.1:
cannot open shared object file: No such file or directory
So explicitly disable sndio for libsdl2 to avoid the above problem.
--- meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb +1 -0
@@ -30,6 +30,7 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ --enable-pthreads \ --enable-sdl-dlopen \ --disable-rpath \ + --disable-sndio \ " # opengl packageconfig factored out to make it easy for distros
Signature · 1 line
1.9.1