From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from www.dynamicdevices.co.uk (www.dynamicdevices.co.uk [89.200.136.37]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 82A08E00A42 for ; Wed, 5 Mar 2014 09:01:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by www.dynamicdevices.co.uk (Postfix) with ESMTP id 85F63862DB; Wed, 5 Mar 2014 17:01:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at lennoab2.miniserver.com Received: from www.dynamicdevices.co.uk ([127.0.0.1]) by localhost (www.dynamicdevices.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJHtzHc5Eh1a; Wed, 5 Mar 2014 17:01:16 +0000 (UTC) Received: from [127.0.0.1] (cpc32-live22-2-0-cust59.17-2.cable.virginm.net [82.36.253.60]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by www.dynamicdevices.co.uk (Postfix) with ESMTPSA id E00EF8610D; Wed, 5 Mar 2014 17:01:16 +0000 (UTC) Message-ID: <53175857.9040702@dynamicdevices.co.uk> Date: Wed, 05 Mar 2014 17:01:11 +0000 From: Alex J Lennon User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: ratheesh kannoth References: <5316ED96.8030403@dynamicdevices.co.uk> <531752DA.70108@dynamicdevices.co.uk> In-Reply-To: X-Enigmail-Version: 1.6 Cc: yocto@yoctoproject.org Subject: Re: Error on building X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2014 17:01:22 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 05/03/2014 16:54, ratheesh kannoth wrote: > On Wed, Mar 5, 2014 at 10:07 PM, Alex J Lennon > wrote: >> On 05/03/2014 16:15, ratheesh kannoth wrote: >>> On Wed, Mar 5, 2014 at 2:55 PM, Alex J Lennon >>> wrote: >>>> Ratheesh, I believe you would need to ensure that any static libraries >>>> built are either removed or packaged appropriately so as not to trigger >>>> the Q/A error. >>>> >>>> One approach is to modify the recipe to add the static library to the >>>> -staticdev package, i.e. to add >>>> >>>> FILES_${PN}-staticdev += " path\to\static\library\libsf_engine.a" >>>> >>>> What recipe are you trying to build? >>>> >>>> Cheers, >>>> >>>> Alex >>> Alex, >>> Thanks. I am trying to compile snort package. I could easily get >>> around these problems using INSANE_SKIP. But a new problem popped >>> up. I have compiled libdnet with out a SONAME. So snort binary >>> contains , ( ldd shows ) a full path to the library. So rootfs build >>> fails with >>> following error. >>> >>> Computing transaction...error: Can't install sf-test-1.0-r0.6@x86_64: >>> no package provides >>> /workspace/linux/wrlinux/bitbake_build/tmp/sysroots/intel-x86-64/usr/lib64/libdnet()(64bit) >>> >>> I can rebuild libdnet with SONAME ( linker flag ) and solve this >>> problem OR I can put SKIP_FILEDEPS = "1" in sf recipe file. But >>> SKIP_FILEDEPS will skip every check in all recipes. I am looking >>> something similar option like INSANE_SKIP_${PN} += "dev-so" ?? >> That's interesting Ratheesh. Is there a reason for not including the >> soname attribute in libdnet? >> >> I would have thought that in a situation like that where there's no >> soname the snort binary shared library path should be fixed up to the >> target path, a relative path, rather than an absolute host path? >> >> Cheers, >> >> Alex >> >>> -Ratheesh > I removed soname by mistake. > > I would like to know about workarounds if such problem comes in yocto. Could u > enlighten me I'm no expert I'm afraid Ratheesh. I try to avoid the workarounds as they usually cause me problems down the road, but I'd probably look at the same thing as you with INSANE_SKIP_ ... Hunting around a little it does look as though you can do per-recipe dep skips though, and indeed per-package skips http://patches.openembedded.org/patch/43457/ > -Ratheesh