[yocto] strange QA issue - how to ignore automatic so dependency

Khem Raj raj.khem at gmail.com
Mon Nov 30 15:06:01 PST 2015


> On Nov 30, 2015, at 2:42 PM, Dvorkin Dmitry <dvorkin at tibbo.com> 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 at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151130/1a72dbc5/attachment.pgp>


More information about the yocto mailing list