From: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
To: ratheesh kannoth <ratheesh.ksz@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Error on building
Date: Wed, 05 Mar 2014 16:37:46 +0000 [thread overview]
Message-ID: <531752DA.70108@dynamicdevices.co.uk> (raw)
In-Reply-To: <CAGZFCEGhHTJam1bjAnOa_s=TAkeZe0-UcWH-1f0QNk5Cr9TaTg@mail.gmail.com>
On 05/03/2014 16:15, ratheesh kannoth wrote:
> On Wed, Mar 5, 2014 at 2:55 PM, Alex J Lennon
> <ajlennon@dynamicdevices.co.uk> 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
next prev parent reply other threads:[~2014-03-05 16:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 8:01 Error on building ratheesh kannoth
2014-03-05 9:25 ` Alex J Lennon
2014-03-05 16:15 ` ratheesh kannoth
2014-03-05 16:37 ` Alex J Lennon [this message]
2014-03-05 16:54 ` ratheesh kannoth
2014-03-05 17:01 ` Alex J Lennon
2014-03-05 17:03 ` ratheesh kannoth
2014-03-05 17:10 ` Alex J Lennon
2014-03-05 21:22 ` Khem Raj
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=531752DA.70108@dynamicdevices.co.uk \
--to=ajlennon@dynamicdevices.co.uk \
--cc=ratheesh.ksz@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.