From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A7F14E008C8; Mon, 30 Nov 2015 15:32:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_SBL autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [93.174.104.90 listed in list.dnswl.org] * 0.1 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL * [95.31.249.87 listed in zen.spamhaus.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp.tibbo.com (smtp.tibbo.com [93.174.104.90]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 08BF5E00855 for ; Mon, 30 Nov 2015 15:32:17 -0800 (PST) Received: (qmail 21524 invoked by uid 508); 1 Dec 2015 02:32:16 +0300 Received: from 95-31-249-87.broadband.corbina.ru (HELO dvh.tibbo.net) (dvorkin@tibbo.com@95.31.249.87) by smtp.tibbo.com with SMTP; 1 Dec 2015 02:32:16 +0300 To: Khem Raj References: <1448920985-995-1-git-send-email-alejandro.franco@linux.intel.com> <2603447.ByLEse0mF5@peggleto-mobl.ger.corp.intel.com> <565CD0DB.6010900@tibbo.com> <1EA640BB-A2C0-4B9C-93B0-0FC36DB98525@gmail.com> <565CD888.1090501@tibbo.com> <50087579-C0CA-4263-AA43-BBB28642E158@gmail.com> From: Dvorkin Dmitry Message-ID: <565CDC7F.1020806@tibbo.com> Date: Tue, 1 Dec 2015 02:32:15 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <50087579-C0CA-4263-AA43-BBB28642E158@gmail.com> Cc: yocto@yoctoproject.org Subject: Re: strange QA issue - how to ignore automatic so dependency 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: Mon, 30 Nov 2015 23:32:24 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 01.12.2015 02:22, Khem Raj wrote: >> On Nov 30, 2015, at 3:15 PM, Dvorkin Dmitry wrote: >> >> I know. But >> it really does not require to have libX* in the system to successfully run JDK+our software >> We're using simple tar xvzf jdk-...tar.gz in all of our embedded systems, so I know what I'm talking about, sorry. > you are walking muddy water, I will caution you before I hand a chainsaw to you as I suggest something as below. I see. Thank you! > you can use patchelf or something like that on these binaries and remove the dependencies after unpacking them > run the .so in question via patchelf --remove-needed > and that will make shlibs code in OE not flag them > >> This feature blocks my efforts to have a well-designed system with Poky/Yocto... :( > Well designed would mean to adhere to prerequisites as needed by prebuilt software you are using > >> >> On 01.12.2015 02:06, Khem Raj wrote: >>>> On Nov 30, 2015, at 2:42 PM, Dvorkin Dmitry wrote: >>>> >>>> >>>> I'm trying to include binary JDK into my linux image. >>>> just unpacking jdk-...tar.gz into recipe image and packing it into RPM (I'm using RPM as base of my distribution). >>>> >>>> after adding >>>> INSANE_SKIP_${PN} = "file-rdeps ldflags dev-so build-deps" >>>> into recipe I've got no errors or warning while building recipe itself, >>>> RPM is created and it contains some dynamic libraries dependencies.... >>>> >>>> but I've got error building rootfs with this recipe: >>>> >>>> ....(skipped)... >>>> Updating cache... ######################################## [100%] >>>> >>>> Computing transaction...error: Can't install tps-jdk-7u60+linux+arm+vfp+hflt-r0@cortexa8hf_vfp_neon: no package provides libXrender.so.1 >>>> >>>> I can't include libXrender.so.1 into my image, I can't remove libraries from JDK. >>>> >>>> Is there any way to ignore this dependency? >>> No, and if you ignored it then this binary won’t function as expected on the system. So you should find out providers of missing >>> rdeps and add them to your image via depends >>> >>>> something like RPM_LDD_IGNORE_CHECK="libX*" >>>> >>>> -- >>>> _______________________________________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/yocto