summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandr@xilinx.com>2018-01-09 16:23:52 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-20 22:31:56 +0000
commit2afde7e7bd866c4d3d059229c3c2201b7096e5e6 (patch)
tree6f98d57a8c7c1222501a2341387f707c7d19b5a2
parent5dd24c1753716facf2d638b6cbec22bcee0c4aa3 (diff)
downloadpoky-2afde7e7bd866c4d3d059229c3c2201b7096e5e6.tar.gz
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. (From OE-Core rev: c47b54aeae5daabb458d6f7118a16257021c1822) Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-native_3.5.3.bb2
-rw-r--r--meta/recipes-devtools/python/python3/python3-manifest.json15
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 3053c4bace..12f9f2404f 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"
38S = "${WORKDIR}/Python-${PV}" 38S = "${WORKDIR}/Python-${PV}"
39 39
40EXTRANATIVEPATH += "bzip2-native" 40EXTRANATIVEPATH += "bzip2-native"
41DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native sqlite3-native" 41DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native sqlite3-native gdbm-native"
42 42
43inherit native 43inherit native
44 44
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 92d0d00945..ef9826f02c 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -366,7 +366,8 @@
366 "db": { 366 "db": {
367 "cached": [], 367 "cached": [],
368 "files": [ 368 "files": [
369 "${libdir}/python3.5/dbm" 369 "${libdir}/python3.5/dbm",
370 "${libdir}/python3.5/lib-dynload/_dbm.*.so"
370 ], 371 ],
371 "rdepends": [ 372 "rdepends": [
372 "core" 373 "core"
@@ -493,6 +494,16 @@
493 ], 494 ],
494 "summary": "Python's fcntl interface" 495 "summary": "Python's fcntl interface"
495 }, 496 },
497 "gdbm": {
498 "cached": [],
499 "files": [
500 "${libdir}/python3.5/lib-dynload/_gdbm.*.so"
501 ],
502 "rdepends": [
503 "core"
504 ],
505 "summary": "Python GNU database support"
506 },
496 "html": { 507 "html": {
497 "cached": [ 508 "cached": [
498 "${libdir}/python3.5/__pycache__/formatter.*.pyc" 509 "${libdir}/python3.5/__pycache__/formatter.*.pyc"
@@ -1126,4 +1137,4 @@
1126 ], 1137 ],
1127 "summary": "Python XML-RPC support" 1138 "summary": "Python XML-RPC support"
1128 } 1139 }
1129} 1140} \ No newline at end of file