Skip to contentSkip to conversation

python3-manifest.json: Add some binaries that were left out

PATCH In review Alejandro Enedino Hernandez Samaniego 2 participants 3 messages Jan 11, 2018

lore
Share & tools
lore
#1 lore raw

PATCH 2/2 python3: Fix native compilation of gdbm module and manifest

In reply to Alejandro Enedino Hernandez Samaniego

From: Alejandro Hernandez <[email protected]>

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.

---
 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(-)
meta/recipes-devtools/python/python3-native_3.5.3.bb +1 -1
index 3053c4b..12f9f24 100644
@@ -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
 
meta/recipes-devtools/python/python3/python3-manifest.json +13 -2
index 031745c..be020f8 100644
@@ -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"
@@ -1128,4 +1139,4 @@
         ],
         "summary": "Python XML-RPC support"
     }
-}
+}
\ No newline at end of file

--
2.7.4

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

#0 lore raw

PATCH 1/2 python3-manifest.json: Add some binaries that were left out

From: Alejandro Hernandez <[email protected]>

With the introduction of a new manifest, since it had to be done manually some binaries were left out, this patch adds them to their corresponding package to fix the issue

---
 meta/recipes-devtools/python/python3/python3-manifest.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-devtools/python/python3/python3-manifest.json +3 -2
index 72d95d8..031745c 100644
@@ -2,6 +2,7 @@
     "2to3": {
         "cached": [],
         "files": [
+            "${bindir}/2to3-*",
             "${libdir}/python3.5/lib2to3"
         ],
         "rdepends": [
@@ -508,7 +509,7 @@
     "idle": {
         "cached": [],
         "files": [
-            "${bindir}/idle",
+            "${bindir}/idle*",
             "${libdir}/python3.5/idlelib"
         ],
         "rdepends": [
@@ -881,7 +882,7 @@
             "${libdir}/python3.5/__pycache__/pydoc.*.pyc"
         ],
         "files": [
-            "${bindir}/pydoc",
+            "${bindir}/pydoc*",
             "${libdir}/python3.5/pydoc.py",
             "${libdir}/python3.5/pydoc_data"
         ],

--
2.7.4

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

#2 lore raw

✗ patchtest: failure for "python3-manifest.json: Add som..." and 1 more

== Series Details ==

Series: "python3-manifest.json: Add som..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/10489/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at e9dfe7eb7f)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe