Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Two fixes regarding eSDK
@ 2018-09-29  6:13 Chen Qi
  2018-09-29  6:13 ` [PATCH 1/2] nativesdk-packagegroup-sdk-host.bb: remove nativesdk-dnf Chen Qi
  2018-09-29  6:13 ` [PATCH 2/2] libsdl2: disable sndio explicitly to avoid inconsistent result Chen Qi
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Qi @ 2018-09-29  6:13 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] nativesdk-packagegroup-sdk-host.bb: remove nativesdk-dnf
  2018-09-29  6:13 [PATCH 0/2] Two fixes regarding eSDK Chen Qi
@ 2018-09-29  6:13 ` Chen Qi
  2018-09-29  6:13 ` [PATCH 2/2] libsdl2: disable sndio explicitly to avoid inconsistent result Chen Qi
  1 sibling, 0 replies; 3+ messages in thread
From: Chen Qi @ 2018-09-29  6:13 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index e2f6169..019ac49 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -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 \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] libsdl2: disable sndio explicitly to avoid inconsistent result
  2018-09-29  6:13 [PATCH 0/2] Two fixes regarding eSDK Chen Qi
  2018-09-29  6:13 ` [PATCH 1/2] nativesdk-packagegroup-sdk-host.bb: remove nativesdk-dnf Chen Qi
@ 2018-09-29  6:13 ` Chen Qi
  1 sibling, 0 replies; 3+ messages in thread
From: Chen Qi @ 2018-09-29  6:13 UTC (permalink / raw)
  To: openembedded-core

Explicitly 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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
index 52bb93a..812a9ab 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
@@ -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
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-29  6:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-29  6:13 [PATCH 0/2] Two fixes regarding eSDK Chen Qi
2018-09-29  6:13 ` [PATCH 1/2] nativesdk-packagegroup-sdk-host.bb: remove nativesdk-dnf Chen Qi
2018-09-29  6:13 ` [PATCH 2/2] libsdl2: disable sndio explicitly to avoid inconsistent result Chen Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox