<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12814</bug_id>
          
          <creation_ts>2018-06-25 12:58:44 +0000</creation_ts>
          <short_desc>python2-manifest.json is missing xmlrpclib.py for xmlrpc package</short_desc>
          <delta_ts>2019-02-04 12:41:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>2.5.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail">mvanyulin</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80919</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail">mvanyulin</who>
    <bug_when>2018-06-25 12:58:44 +0000</bug_when>
    <thetext>File in question:
meta/recipes-devtools/python/python/python2-manifest.json

File was created by commit: 8d94b9db221d1def42f091b991903faa2d1651ce

&quot;xmlrpclib&quot; was in xmlrpc package before:

-FILES_${PN}-xmlrpc=&quot; \
-    ${libdir}/python2.7/xmlrpclib.* \
-    ${libdir}/python2.7/SimpleXMLRPCServer.* \
-    ${libdir}/python2.7/DocXMLRPCServer.* \
-&quot;

And was not added:

+    &quot;xmlrpc&quot;: {
+        &quot;files&quot;: [
+            &quot;${libdir}/python2.7/DocXMLRPCServer.py&quot;,
+            &quot;${libdir}/python2.7/SimpleXMLRPCServer.py&quot;
+        ],

As a result I`m receiving a following error:
  File &quot;/usr/lib64/python2.7/SimpleXMLRPCServer.py&quot;, line 102, in &lt;module&gt;
    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 @@
     &quot;xmlrpc&quot;: {
         &quot;files&quot;: [
             &quot;${libdir}/python2.7/DocXMLRPCServer.py&quot;,
-            &quot;${libdir}/python2.7/SimpleXMLRPCServer.py&quot;
+            &quot;${libdir}/python2.7/SimpleXMLRPCServer.py&quot;,
+            &quot;${libdir}/python2.7/xmlrpclib.py&quot;
         ],
         &quot;rdepends&quot;: [
             &quot;codecs&quot;,
jenkins@obs-lxc-44:~/orig/poky-yocto-2.5/meta/recipes-devtools/python/python$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80967</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-06-28 14:47:23 +0000</bug_when>
    <thetext>Hi, the fix looks good, could you send a patch to the mailing list please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80971</commentid>
    <comment_count>2</comment_count>
    <who name="Mikhail">mvanyulin</who>
    <bug_when>2018-06-28 15:22:45 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Hi, the fix looks good, could you send a patch to the mailing list please?

Done.
You should be in CC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82078</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-08 16:24:09 +0000</bug_when>
    <thetext>Can&apos;t seem to find this patch, can you paste a link to it on the list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82101</commentid>
    <comment_count>4</comment_count>
      <attachid>4390</attachid>
    <who name="Mikhail">mvanyulin</who>
    <bug_when>2018-11-09 08:16:14 +0000</bug_when>
    <thetext>Created attachment 4390
pathc for missing xmlrpclib.py for xmlrpc package

(In reply to comment #3)
&gt; Can&apos;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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82133</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-11-09 17:05:53 +0000</bug_when>
    <thetext>Yes, please resend to the list.  Not the poky list, but openembedded-core@lists.openembedded.org.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82169</commentid>
    <comment_count>6</comment_count>
    <who name="Mikhail">mvanyulin</who>
    <bug_when>2018-11-12 07:00:18 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Yes, please resend to the list.  Not the poky list, but
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82923</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-01-31 17:19:05 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82952</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-02-04 12:41:04 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9fe8b85f20a252c38698841a93659fa49fc912fe</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4390</attachid>
            <date>2018-11-09 08:16:14 +0000</date>
            <delta_ts>2018-11-09 08:16:14 +0000</delta_ts>
            <desc>pathc for missing xmlrpclib.py for xmlrpc package</desc>
            <filename>0001-Fixes-YOCTO-12814.patch</filename>
            <type>text/plain</type>
            <size>1056</size>
            <attacher name="Mikhail">mvanyulin</attacher>
            
              <data encoding="base64">RnJvbSBiMTAzOWY4NmJkN2U2OWVjODQxYjMyZmU0Y2ZjOTZkYWRkMmVjODhiIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWtoYWlsIFZhbnl1bGluIDxtdmFueXVsaW5AZGV2LnJ0c29m
dC5ydT4KRGF0ZTogVGh1LCAyOCBKdW4gMjAxOCAxNzo1OTozMyArMDMwMApTdWJqZWN0OiBbUEFU
Q0hdIEZpeGVzIFtZT0NUTyAjMTI4MTRdIEFkZHMgYSBtaXNzaW5nIGZpbGUgdG8gcHl0aG9uLXht
bHJwYwogcGFja2FnZQoKU2lnbmVkLW9mZi1ieTogTWlraGFpbCBWYW55dWxpbiA8bXZhbnl1bGlu
QGRldi5ydHNvZnQucnU+Ci0tLQogbWV0YS9yZWNpcGVzLWRldnRvb2xzL3B5dGhvbi9weXRob24v
cHl0aG9uMi1tYW5pZmVzdC5qc29uIHwgMyArKy0KIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2VydGlv
bnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9tZXRhL3JlY2lwZXMtZGV2dG9vbHMv
cHl0aG9uL3B5dGhvbi9weXRob24yLW1hbmlmZXN0Lmpzb24gYi9tZXRhL3JlY2lwZXMtZGV2dG9v
bHMvcHl0aG9uL3B5dGhvbi9weXRob24yLW1hbmlmZXN0Lmpzb24KaW5kZXggNzIzZTUxMy4uNDA4
ZTRmNCAxMDA2NDQKLS0tIGEvbWV0YS9yZWNpcGVzLWRldnRvb2xzL3B5dGhvbi9weXRob24vcHl0
aG9uMi1tYW5pZmVzdC5qc29uCisrKyBiL21ldGEvcmVjaXBlcy1kZXZ0b29scy9weXRob24vcHl0
aG9uL3B5dGhvbjItbWFuaWZlc3QuanNvbgpAQCAtMTAxMCw3ICsxMDEwLDggQEAKICAgICAieG1s
cnBjIjogewogICAgICAgICAiZmlsZXMiOiBbCiAgICAgICAgICAgICAiJHtsaWJkaXJ9L3B5dGhv
bjIuNy9Eb2NYTUxSUENTZXJ2ZXIucHkiLAotICAgICAgICAgICAgIiR7bGliZGlyfS9weXRob24y
LjcvU2ltcGxlWE1MUlBDU2VydmVyLnB5IgorICAgICAgICAgICAgIiR7bGliZGlyfS9weXRob24y
LjcvU2ltcGxlWE1MUlBDU2VydmVyLnB5IiwKKyAgICAgICAgICAgICIke2xpYmRpcn0vcHl0aG9u
Mi43L3htbHJwY2xpYi5weSIKICAgICAgICAgXSwKICAgICAgICAgInJkZXBlbmRzIjogWwogICAg
ICAgICAgICAgImNvZGVjcyIsCi0tIAoxLjkuMQoK
</data>

          </attachment>
      

    </bug>

</bugzilla>