From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E3DE1E00576; Tue, 22 Jul 2014 06:35:37 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BCE4AE00547 for ; Tue, 22 Jul 2014 06:35:26 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s6MDZPZq014603 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 22 Jul 2014 06:35:25 -0700 (PDT) Received: from [128.224.162.181] (128.224.162.181) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.169.1; Tue, 22 Jul 2014 06:35:24 -0700 Message-ID: <53CE689B.3010402@windriver.com> Date: Tue, 22 Jul 2014 21:35:23 +0800 From: Robert Yang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "Burton, Ross" References: <8f203e49c4ecfc92eb09b175707f8dd7a6f0b546.1406024955.git.liezhi.yang@windriver.com> <53CE6626.70304@windriver.com> In-Reply-To: Cc: Poky Project Subject: Re: [PATCH 2/2] local.conf.sample: qemu-native DEPENDS libxext-naive X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion & patch submission for meta-yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2014 13:35:38 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 07/22/2014 09:28 PM, Burton, Ross wrote: > On 22 July 2014 14:24, Robert Yang wrote: >> The link route is: >> >> qemu-native's do_configure sdl checking: >> /usr/lib/x86_64-linux-gnu/libSDL.so --> >> /x86_64-linux/usr/lib/libXext.so.6 --> >> /usr/lib/x86_64-linux-gnu/libX11.so >> >> So it is: >> host sdl -> sysroot libXext.so.6 -> host X11.so >> >> qemu-native doesn't depend on libxext-native, so the error would happen >> if the libx11-native is being rebuilding and the host's libX11.so doesn't >> have _XEatDataWords. >> >> Manually reproduce on Ubuntu 12.04 x86_64: >> >> $ bitbake qemu-native libx11-native libxext-native >> $ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native > > This is where I insert my moan that the sysroot needs to have locking > and not modified during builds... I'm afraid that the lock can't fix such an issue when build them manually. > > Maybe qemu-native should have a wrapper script that removes the > sysroot from LD_LIBRARY_PATH? It's a native binary that doesn't need I'm afraid not, the qemu-native does depend on a few native recipes: DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" // Robert > anything in the sysroot, so let's stop it even looking there. > > Ross > >