From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 4E5846C444 for ; Wed, 23 Jan 2019 02:45:57 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id x0N2jsDI010060 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 22 Jan 2019 18:45:54 -0800 (PST) Received: from [128.224.162.194] (128.224.162.194) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 22 Jan 2019 18:45:54 -0800 To: , References: <20190117022632.64698-1-mingli.yu@windriver.com> From: "Yu, Mingli" Message-ID: <5C47D57D.1060005@windriver.com> Date: Wed, 23 Jan 2019 10:46:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20190117022632.64698-1-mingli.yu@windriver.com> X-Originating-IP: [128.224.162.194] Subject: Re: [PATCH 1/2] python2-manifest.json: add logging to rdepends X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2019 02:45:57 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit Ping. On 2019年01月17日 10:26, mingli.yu@windriver.com wrote: > From: Mingli Yu > > Add loggging to rdepends for python-2to3 > and python-multiprocessing. > > before patch: > # python > Python 2.7.15 (default, Jan 15 2019, 03:09:01) > [GCC 8.2.0] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from multiprocessing import util > >>> util.get_logger() > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.7/multiprocessing/util.py", line 89, in get_logger > import logging, atexit > ImportError: No module named logging > >>> > > After patch: > # python > Python 2.7.15 (default, Jan 15 2019, 09:05:49) > [GCC 8.2.0] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from multiprocessing import util > >>> util.get_logger() > > >>> > > Steps to reproduce: > 1, add below line to local.conf > IMAGE_INSTALL_append += " python-multiprocessing" > 2, bitbake core-image-base > 3, runqemu qemux86 slirp nographic core-image-base > > Signed-off-by: Mingli Yu > --- > meta/recipes-devtools/python/python/python2-manifest.json | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json > index 4fff54a95bf..abaa10dbd2e 100644 > --- a/meta/recipes-devtools/python/python/python2-manifest.json > +++ b/meta/recipes-devtools/python/python/python2-manifest.json > @@ -106,7 +106,8 @@ > "2to3": { > "summary": "Python automated Python 2 to 3 code translator", > "rdepends": [ > - "core" > + "core", > + "logging" > ], > "files": [ > "${bindir}/2to3", > @@ -728,6 +729,7 @@ > "core", > "fcntl", > "io", > + "logging", > "pickle", > "subprocess", > "threading" >