Skip to contentSkip to conversation

how to add libsrtp and libsrtp-staticdev to sdk

DISCUSSION Mostafa Farzane 2 participants 2 messages Mar 28, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Thanks.Here is the whole story:I have a recipe named "libjrtp" that depends on "libsrtp".When I build "libjrtp" recipe I faced the following error:
-- ERROR: jrtplib-3.11.1-r0 do_populate_sysroot: QA Issue: jrtplib.pc failed sanity test (tmpdir) in path /opt/yocto/toradex-morty/build-intercom/tmp-glibc/work/armv7at2hf-neon-angstrom-linux---- gnueabi/jrtplib/3.11.1-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig]-- ERROR: jrtplib-3.11.1-r0 do_populate_sysroot: QA staging was broken by the package built above-- ERROR: jrtplib-3.11.1-r0 do_populate_sysroot: Function failed: do_qa_staging If I remove the "libsrtp" from depends list or if do not install "jrtplib.pc" to ${D}${libdir}/pkgconfig/jrtplib.pc", it built OK. I think something is wrong with "libsrtp".
An other problem is that I can not add libsrtp nor "libsrtp-staticdev" to my image. when I add "libsrtp" to depends list of my image I get the following error:
-- Collected errors:--  * opkg_solver_install: Cannot install package libsrtp.

Is there any one did that?Regards,

#2 lore raw
Quoted 6 lines · Mostafa Farzane

-- ERROR: jrtplib-3.11.1-r0 do_populate_sysroot: QA Issue: jrtplib.pc failed sanity test (tmpdir) in path /opt/yocto/toradex-morty/build-intercom/tmp-glibc/work/armv7at2hf-neon-angstrom-linux---- gnueabi/jrtplib/3.11.1-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig]
-- ERROR: jrtplib-3.11.1-r0 do_populate_sysroot: QA staging was broken by the package built above

The problem is that the jrtplib.pc file contains the build path, which is broken. You'll have to look at the build system and understand how that happens, and fix it.

Ross