All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot add libsrtp to yocto image
       [not found] <674400918.88037.1523083601988.ref@mail.yahoo.com>
@ 2018-04-07  6:46 ` Mostafa Farzane
  2018-04-07 15:18   ` Vincent Prince
  2018-04-08 10:03   ` Anuj Mittal
  0 siblings, 2 replies; 7+ messages in thread
From: Mostafa Farzane @ 2018-04-07  6:46 UTC (permalink / raw)
  To: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

Hi,I need to add libsrtp to my yocto image. So I added libsrtp to "IMAGE_INSTALL". But I faced the following errors:
Unknown package 'libsrtp'.
Collected errors: * opkg_solver_install: Cannot install package libsrtp.

[-- Attachment #2: Type: text/html, Size: 884 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot add libsrtp to yocto image
  2018-04-07  6:46 ` Cannot add libsrtp to yocto image Mostafa Farzane
@ 2018-04-07 15:18   ` Vincent Prince
  2018-04-08  5:07     ` Mostafa Farzane
  2018-04-08 10:03   ` Anuj Mittal
  1 sibling, 1 reply; 7+ messages in thread
From: Vincent Prince @ 2018-04-07 15:18 UTC (permalink / raw)
  To: Mostafa Farzane; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

Hi,

Did you add meta-multimedia to BBLAYERS as explained here
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#enabling-your-layer


BR,
Vincent

2018-04-07 8:46 GMT+02:00 Mostafa Farzane <farzanemostafa@yahoo.com>:

> Hi,
> I need to add libsrtp to my yocto image. So I added libsrtp to
> "IMAGE_INSTALL". But I faced the following errors:
>
> Unknown package 'libsrtp'.
>
> Collected errors:
>  * opkg_solver_install: Cannot install package libsrtp.
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 1822 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot add libsrtp to yocto image
  2018-04-07 15:18   ` Vincent Prince
@ 2018-04-08  5:07     ` Mostafa Farzane
  0 siblings, 0 replies; 7+ messages in thread
From: Mostafa Farzane @ 2018-04-08  5:07 UTC (permalink / raw)
  To: Vincent Prince; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

 
Yes, I added "${TOPDIR}/../layers/meta-openembedded/meta-multimedia \" to BBLAYERS
    On Saturday, April 7, 2018, 7:48:23 PM GMT+4:30, Vincent Prince <vincent.prince.fr@gmail.com> wrote:  
 
 Hi, 
Did you add meta-multimedia to BBLAYERS as explained herehttps://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#enabling-your-layer 
BR,Vincent
2018-04-07 8:46 GMT+02:00 Mostafa Farzane <farzanemostafa@yahoo.com>:

Hi,I need to add libsrtp to my yocto image. So I added libsrtp to "IMAGE_INSTALL". But I faced the following errors:
Unknown package 'libsrtp'.
Collected errors: * opkg_solver_install: Cannot install package libsrtp.

--
______________________________ _________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject. org/listinfo/yocto



  

[-- Attachment #2: Type: text/html, Size: 3175 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot add libsrtp to yocto image
  2018-04-07  6:46 ` Cannot add libsrtp to yocto image Mostafa Farzane
  2018-04-07 15:18   ` Vincent Prince
@ 2018-04-08 10:03   ` Anuj Mittal
  2018-04-08 13:09     ` Mostafa Farzane
  1 sibling, 1 reply; 7+ messages in thread
From: Anuj Mittal @ 2018-04-08 10:03 UTC (permalink / raw)
  To: Mostafa Farzane, Yocto-mailing-list

On 04/07/2018 02:46 PM, Mostafa Farzane wrote:
> Hi,
> I need to add libsrtp to my yocto image. So I added libsrtp to
> "IMAGE_INSTALL". But I faced the following errors:
> 
> Unknown package 'libsrtp'.
> 
> Collected errors:
>  * opkg_solver_install: Cannot install package libsrtp.

That is because there's no package named libsrtp. Please see:

https://wiki.yoctoproject.org/wiki/Technical_FAQ#I.27ve_included_a_package_in_my_image_but_files_I_expect_to_be_there_are_missing.2C_what.27s_the_issue.3F


$ oe-pkgdata-util list-pkg-files -p libsrtp
libsrtp-dbg:
libsrtp-dev:
        /usr/include/srtp/aes.h
        /usr/include/srtp/aes_cbc.h
        /usr/include/srtp/aes_gcm_ossl.h
        /usr/include/srtp/aes_icm.h
        /usr/include/srtp/aes_icm_ossl.h
        /usr/include/srtp/alloc.h
        /usr/include/srtp/auth.h
        /usr/include/srtp/cipher.h
        /usr/include/srtp/config.h
        /usr/include/srtp/crypto.h
        /usr/include/srtp/crypto_kernel.h
        /usr/include/srtp/crypto_math.h
        /usr/include/srtp/crypto_types.h
        /usr/include/srtp/cryptoalg.h
        /usr/include/srtp/datatypes.h
        /usr/include/srtp/ekt.h
        /usr/include/srtp/err.h
        /usr/include/srtp/getopt_s.h
        /usr/include/srtp/gf2_8.h
        /usr/include/srtp/hmac.h
        /usr/include/srtp/integers.h
        /usr/include/srtp/kernel_compat.h
        /usr/include/srtp/key.h
        /usr/include/srtp/null_auth.h
        /usr/include/srtp/null_cipher.h
        /usr/include/srtp/prng.h
        /usr/include/srtp/rand_source.h
        /usr/include/srtp/rdb.h
        /usr/include/srtp/rdbx.h
        /usr/include/srtp/rtp.h
        /usr/include/srtp/rtp_priv.h
        /usr/include/srtp/sha1.h
        /usr/include/srtp/srtp.h
        /usr/include/srtp/srtp_priv.h
        /usr/include/srtp/stat.h
        /usr/include/srtp/ut_sim.h
        /usr/include/srtp/xfm.h
libsrtp-staticdev:
        /usr/lib64/libsrtp.a


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot add libsrtp to yocto image
  2018-04-08 10:03   ` Anuj Mittal
@ 2018-04-08 13:09     ` Mostafa Farzane
  2018-04-09  2:38       ` Anuj Mittal
  0 siblings, 1 reply; 7+ messages in thread
From: Mostafa Farzane @ 2018-04-08 13:09 UTC (permalink / raw)
  To: Anuj Mittal; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2575 bytes --]

 
Thanks alot,
I added TOOLCHAIN_TARGET_TASK = "libsrtp-staticdev" to my image instead of libsrtp. But I get:
 * calculate_dependencies_for: Cannot satisfy the following dependencies for libsrtp-staticdev: *      libsrtp (= 1.5.2-r0) * * opkg_solver_install: Cannot install package libsrtp-staticdev.
    On Sunday, April 8, 2018, 2:33:26 PM GMT+4:30, Anuj Mittal <anuj.mittal@intel.com> wrote:  
 
 On 04/07/2018 02:46 PM, Mostafa Farzane wrote:
> Hi,
> I need to add libsrtp to my yocto image. So I added libsrtp to
> "IMAGE_INSTALL". But I faced the following errors:
> 
> Unknown package 'libsrtp'.
> 
> Collected errors:
>  * opkg_solver_install: Cannot install package libsrtp.

That is because there's no package named libsrtp. Please see:

https://wiki.yoctoproject.org/wiki/Technical_FAQ#I.27ve_included_a_package_in_my_image_but_files_I_expect_to_be_there_are_missing.2C_what.27s_the_issue.3F


$ oe-pkgdata-util list-pkg-files -p libsrtp
libsrtp-dbg:
libsrtp-dev:
        /usr/include/srtp/aes.h
        /usr/include/srtp/aes_cbc.h
        /usr/include/srtp/aes_gcm_ossl.h
        /usr/include/srtp/aes_icm.h
        /usr/include/srtp/aes_icm_ossl.h
        /usr/include/srtp/alloc.h
        /usr/include/srtp/auth.h
        /usr/include/srtp/cipher.h
        /usr/include/srtp/config.h
        /usr/include/srtp/crypto.h
        /usr/include/srtp/crypto_kernel.h
        /usr/include/srtp/crypto_math.h
        /usr/include/srtp/crypto_types.h
        /usr/include/srtp/cryptoalg.h
        /usr/include/srtp/datatypes.h
        /usr/include/srtp/ekt.h
        /usr/include/srtp/err.h
        /usr/include/srtp/getopt_s.h
        /usr/include/srtp/gf2_8.h
        /usr/include/srtp/hmac.h
        /usr/include/srtp/integers.h
        /usr/include/srtp/kernel_compat.h
        /usr/include/srtp/key.h
        /usr/include/srtp/null_auth.h
        /usr/include/srtp/null_cipher.h
        /usr/include/srtp/prng.h
        /usr/include/srtp/rand_source.h
        /usr/include/srtp/rdb.h
        /usr/include/srtp/rdbx.h
        /usr/include/srtp/rtp.h
        /usr/include/srtp/rtp_priv.h
        /usr/include/srtp/sha1.h
        /usr/include/srtp/srtp.h
        /usr/include/srtp/srtp_priv.h
        /usr/include/srtp/stat.h
        /usr/include/srtp/ut_sim.h
        /usr/include/srtp/xfm.h
libsrtp-staticdev:
        /usr/lib64/libsrtp.a
  

[-- Attachment #2: Type: text/html, Size: 5567 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot add libsrtp to yocto image
  2018-04-08 13:09     ` Mostafa Farzane
@ 2018-04-09  2:38       ` Anuj Mittal
  2018-04-09  6:04         ` Mostafa Farzane
  0 siblings, 1 reply; 7+ messages in thread
From: Anuj Mittal @ 2018-04-09  2:38 UTC (permalink / raw)
  To: Mostafa Farzane; +Cc: yocto

On 04/08/2018 09:09 PM, Mostafa Farzane wrote:
> 
> Thanks alot,
> 
> I added TOOLCHAIN_TARGET_TASK = "libsrtp-staticdev" to my image instead
> of libsrtp. But I get:
> 
>  * calculate_dependencies_for: Cannot satisfy the following dependencies
> for libsrtp-staticdev:
>  *      libsrtp (= 1.5.2-r0) *
>  * opkg_solver_install: Cannot install package libsrtp-staticdev.
> 

Please try adding ALLOW_EMPTY_${PN} = "1" in your bbappend or try:

https://patchwork.openembedded.org/patch/150000/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot add libsrtp to yocto image
  2018-04-09  2:38       ` Anuj Mittal
@ 2018-04-09  6:04         ` Mostafa Farzane
  0 siblings, 0 replies; 7+ messages in thread
From: Mostafa Farzane @ 2018-04-09  6:04 UTC (permalink / raw)
  To: Anuj Mittal; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]

 Thanks alot. It's work now.I have another question and It will be a huge help if you answer it:I add libsrtp to another recepie's DEPENDS(jrtplib). but 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]

I checked jrtplib.pc and it is the result:

    Name: Jrtplib    Description: A full featured RTP library    Requires:    Version: 3.11.1    Libs:  -L/usr/lib -ljrtp -L/usr/lib -ljthread -lpthread /opt/yocto/toradex-morty/build-intercom/tmp-glibc/sysroots/colibri-imx6/usr/lib/libsrtp.a    Cflags:  -I/usr/include -I/opt/yocto/toradex-morty/build-intercom/tmp-glibc/sysroots/colibri-imx6/usr/include
I think something is wrong in libsrtp paths.
Thanks

    On Monday, April 9, 2018, 7:08:23 AM GMT+4:30, Anuj Mittal <anuj.mittal@intel.com> wrote:  
 
 On 04/08/2018 09:09 PM, Mostafa Farzane wrote:
> 
> Thanks alot,
> 
> I added TOOLCHAIN_TARGET_TASK = "libsrtp-staticdev" to my image instead
> of libsrtp. But I get:
> 
>  * calculate_dependencies_for: Cannot satisfy the following dependencies
> for libsrtp-staticdev:
>  *      libsrtp (= 1.5.2-r0) *
>  * opkg_solver_install: Cannot install package libsrtp-staticdev.
> 

Please try adding ALLOW_EMPTY_${PN} = "1" in your bbappend or try:

https://patchwork.openembedded.org/patch/150000/
  

[-- Attachment #2: Type: text/html, Size: 3640 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-09  6:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <674400918.88037.1523083601988.ref@mail.yahoo.com>
2018-04-07  6:46 ` Cannot add libsrtp to yocto image Mostafa Farzane
2018-04-07 15:18   ` Vincent Prince
2018-04-08  5:07     ` Mostafa Farzane
2018-04-08 10:03   ` Anuj Mittal
2018-04-08 13:09     ` Mostafa Farzane
2018-04-09  2:38       ` Anuj Mittal
2018-04-09  6:04         ` Mostafa Farzane

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.