From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7BA6AE01489 for ; Fri, 24 May 2013 02:38:29 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by azsmga101.ch.intel.com with ESMTP; 24 May 2013 02:38:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,734,1363158000"; d="scan'208";a="339378240" Received: from unknown (HELO helios.localnet) ([10.255.12.195]) by fmsmga001.fm.intel.com with ESMTP; 24 May 2013 02:38:34 -0700 From: Paul Eggleton To: Hartmut Behrens Date: Fri, 24 May 2013 10:38:27 +0100 Message-ID: <5330968.h9P8PxdHVG@helios> Organization: Intel Corporation User-Agent: KMail/4.10.2 (Linux/3.8.0-21-generic; KDE/4.10.2; i686; ; ) In-Reply-To: <4377649.fQ6yIoxMjl@helios> References: <4377649.fQ6yIoxMjl@helios> MIME-Version: 1.0 Cc: yocto@yoctoproject.org Subject: Re: QA rdepends issue when building xerces-c 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: Fri, 24 May 2013 09:38:30 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Friday 24 May 2013 10:27:43 Paul Eggleton wrote: > On Thursday 23 May 2013 21:55:13 Hartmut Behrens wrote: > > On Thu, May 23, 2013 at 6:53 PM, Hartmut Behrens > > > > wrote: > > > I also tried INSANE_SKIP_${PN} += "dev-so" without any luck. > > > > > > Might you know how to solve this? > > > > So including INSANE_SKIP_${PN} = "dev-deps" does the trick. > > > > I tried playing around with FILES (shown below), but can't quite get > > it right. The error that is issued then is "ERROR: QA Issue: non > > -dev/-dbg/-nativesdk package contains symlink .so ..." > > > > FILES_${PN} = "${bindir}/* ${libdir}/*" > > FILES_${PN}-dev = "${includedir} ${libdir}/libxerces-c.so" > > FYI, files are selected for each package by looking through the PACKAGES > variable and for each package in turn the value of FILES is checked. The > first package whose FILES matches a file, gets the file. > > The default value of PACKAGES is "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}- > doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"; thus FILES_${PN} can be broad > if the earlier packages pick out the files they need to specifically. > > In most cases the default values work perfectly. What you really need to do > is determine which file it is that gets added to the -dev package and put > that elsewhere. You should not need to change FILES_${PN}, just > FILES_${PN}-dev (or other packages as appropriate). I should add I did try to build xerces-c using this recipe with a few tweaks, and it failed at do_configure because /usr/include was being referred to in the configure script (in check for unicode libraries). I didn't take it further than that. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre