| Summary: | python2-manifest.json is missing xmlrpclib.py for xmlrpc package | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Mikhail <mvanyulin> | ||||
| Component: | devtools / tool chain | Assignee: | Richard Purdie <richard.purdie> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, ross.burton | ||||
| Version: | 2.5.1 | ||||||
| Target Milestone: | 2.7 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
Hi, the fix looks good, could you send a patch to the mailing list please? (In reply to comment #1) > Hi, the fix looks good, could you send a patch to the mailing list please? Done. You should be in CC. Can't seem to find this patch, can you paste a link to it on the list? Created attachment 4390 [details] pathc for missing xmlrpclib.py for xmlrpc package (In reply to comment #3) > Can't seem to find this patch, can you paste a link to it on the list? I guess you meant this list: https://lists.yoctoproject.org/pipermail/poky/2018-June/date.html Could not find it either. Attaching the patch. Or I need to resend it to the list? Yes, please resend to the list. Not the poky list, but openembedded-core@lists.openembedded.org. (In reply to comment #5) > Yes, please resend to the list. Not the poky list, but > openembedded-core@lists.openembedded.org. Done. You should be in CC. If this one does not come either tell me and I`ll resend it from gmail account. Sorry for the delay in this. We ended up needing to fix the manifest file generation code. Now that is done we can regenerate the manifest and fix this bug. |
File in question: meta/recipes-devtools/python/python/python2-manifest.json File was created by commit: 8d94b9db221d1def42f091b991903faa2d1651ce "xmlrpclib" was in xmlrpc package before: -FILES_${PN}-xmlrpc=" \ - ${libdir}/python2.7/xmlrpclib.* \ - ${libdir}/python2.7/SimpleXMLRPCServer.* \ - ${libdir}/python2.7/DocXMLRPCServer.* \ -" And was not added: + "xmlrpc": { + "files": [ + "${libdir}/python2.7/DocXMLRPCServer.py", + "${libdir}/python2.7/SimpleXMLRPCServer.py" + ], As a result I`m receiving a following error: File "/usr/lib64/python2.7/SimpleXMLRPCServer.py", line 102, in <module> import xmlrpclib ImportError: No module named xmlrpclib Following change works for me: jenkins@obs-lxc-44:~/orig/poky-yocto-2.5/meta/recipes-devtools/python/python$ git diff diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/re index 723e513..408e4f4 100644 --- a/meta/recipes-devtools/python/python/python2-manifest.json +++ b/meta/recipes-devtools/python/python/python2-manifest.json @@ -1010,7 +1010,8 @@ "xmlrpc": { "files": [ "${libdir}/python2.7/DocXMLRPCServer.py", - "${libdir}/python2.7/SimpleXMLRPCServer.py" + "${libdir}/python2.7/SimpleXMLRPCServer.py", + "${libdir}/python2.7/xmlrpclib.py" ], "rdepends": [ "codecs", jenkins@obs-lxc-44:~/orig/poky-yocto-2.5/meta/recipes-devtools/python/python$