[oe-commits] [openembedded-core] 05/06: python3: Fix native compilation of gdbm module and manifest

git at git.openembedded.org git at git.openembedded.org
Sat Jan 20 22:32:18 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit c47b54aeae5daabb458d6f7118a16257021c1822
Author: Alejandro Hernandez <alejandr at xilinx.com>
AuthorDate: Tue Jan 9 16:23:52 2018 -0800

    python3: Fix native compilation of gdbm module and manifest
    
    The gdbm module wasnt being built on python3-native showing the following
    error during compilation:
    
    Failed to build these modules:
    _gdbm
    
    This patch adds the required dependency to fix the compilation problem.
    
    This issue on python3-native caused the manifest creation script to be
    unaware of the gdbm library, so this patch also fixes the create_manifest
    task for target python, and the manifest file to reflect the changes on
    target python as well.
    
    Signed-off-by: Alejandro Hernandez <alejandr at xilinx.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/python/python3-native_3.5.3.bb      |  2 +-
 .../recipes-devtools/python/python3/python3-manifest.json | 15 +++++++++++++--
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-native_3.5.3.bb b/meta/recipes-devtools/python/python3-native_3.5.3.bb
index 3053c4b..12f9f24 100644
--- a/meta/recipes-devtools/python/python3-native_3.5.3.bb
+++ b/meta/recipes-devtools/python/python3-native_3.5.3.bb
@@ -38,7 +38,7 @@ UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
 S = "${WORKDIR}/Python-${PV}"
 
 EXTRANATIVEPATH += "bzip2-native"
-DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native sqlite3-native"
+DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native sqlite3-native gdbm-native"
 
 inherit native
 
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 92d0d00..ef9826f 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -366,7 +366,8 @@
     "db": {
         "cached": [],
         "files": [
-            "${libdir}/python3.5/dbm"
+            "${libdir}/python3.5/dbm",
+            "${libdir}/python3.5/lib-dynload/_dbm.*.so"
         ],
         "rdepends": [
             "core"
@@ -493,6 +494,16 @@
         ],
         "summary": "Python's fcntl interface"
     },
+    "gdbm": {
+        "cached": [],
+        "files": [
+            "${libdir}/python3.5/lib-dynload/_gdbm.*.so"
+        ],
+        "rdepends": [
+            "core"
+        ],
+        "summary": "Python GNU database support"
+    },
     "html": {
         "cached": [
             "${libdir}/python3.5/__pycache__/formatter.*.pyc"
@@ -1126,4 +1137,4 @@
         ],
         "summary": "Python XML-RPC support"
     }
-}
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list