All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Hartmut Behrens <hartmut.behrens@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: QA rdepends issue when building xerces-c
Date: Fri, 24 May 2013 10:27:43 +0100	[thread overview]
Message-ID: <4377649.fQ6yIoxMjl@helios> (raw)
In-Reply-To: <CA+69FtDG3-WW7vTU7snmf+HjjxVLFpk8+1fLMyycz7tiaSgyRw@mail.gmail.com>

On Thursday 23 May 2013 21:55:13 Hartmut Behrens wrote:
> On Thu, May 23, 2013 at 6:53 PM, Hartmut Behrens
> <hartmut.behrens@gmail.com> 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).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2013-05-24  9:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23 16:53 QA rdepends issue when building xerces-c Hartmut Behrens
2013-05-23 19:55 ` Hartmut Behrens
2013-05-24  9:27   ` Paul Eggleton [this message]
2013-05-24  9:38     ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4377649.fQ6yIoxMjl@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=hartmut.behrens@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.