All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to extract tar file #dunfell #yocto
@ 2021-01-07  7:12 Vijay Rakesh Munganda
  2021-01-08  6:18 ` Vijay Rakesh Munganda
  0 siblings, 1 reply; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-07  7:12 UTC (permalink / raw)
  To: yocto

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

Hi All,

I'm trying to install the Tokbox library into the build, but the tar file is not getting extracted into the folder. Here is my recipe code, kindly please help me where I went wrong.
*Recipe:*

> 
> 
> DESCRIPTION = "libopentok for arm64"
> HOMEPAGE = "https://tokbox.com"
> 
> 
> SRC_URI =
> "https://s3.amazonaws.com/artifact.tokbox.com/rel/opentok-linux-sdk/libopentok_linux_llvm_arm64-2.18.1.tgz"
> 
> SRC_URI[sha256sum] =
> "7ae2b85940a4e16299a4ec5f4341b6b92c71abdb5ef6949508873bd8a2f53abc"
> 
> S= "${WORKDIR}/tokbox"
> 
> inherit cmake
> 

*Error:*
> 
> CMake Error: The source directory
> "/home/test/target/bsp/tmp/work/aarch64-poky-linux/tokbox/1.0-r0/tokbox"
> does not appear to contain CMakeLists.txt.

Thanks & Regards,
Vijay Rakesh

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

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-07  7:12 Unable to extract tar file #dunfell #yocto Vijay Rakesh Munganda
@ 2021-01-08  6:18 ` Vijay Rakesh Munganda
  2021-01-08  7:51   ` [yocto] " Zoran
  0 siblings, 1 reply; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-08  6:18 UTC (permalink / raw)
  To: yocto

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

Anyone, please suggest.

Thanks,
Vijay Rakesh

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

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

* Re: [yocto] Unable to extract tar file #dunfell #yocto
  2021-01-08  6:18 ` Vijay Rakesh Munganda
@ 2021-01-08  7:51   ` Zoran
  2021-01-08  8:49     ` Vijay Rakesh Munganda
  0 siblings, 1 reply; 15+ messages in thread
From: Zoran @ 2021-01-08  7:51 UTC (permalink / raw)
  To: Vijay Rakesh Munganda; +Cc: Yocto-mailing-list

Just maybe... This web pointer can help you!

https://stackoverflow.com/questions/46448682/cmake-error-the-source-does-not-appear-to-contain-cmakelists-txt/52068568

Zoran
_______

On Fri, Jan 8, 2021 at 7:18 AM Vijay Rakesh Munganda
<vijayrakeshmunganda@gmail.com> wrote:
>
> Anyone, please suggest.
>
> Thanks,
> Vijay Rakesh
> 
>

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-08  7:51   ` [yocto] " Zoran
@ 2021-01-08  8:49     ` Vijay Rakesh Munganda
  2021-01-08  9:11       ` [yocto] " Paul Barker
  0 siblings, 1 reply; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-08  8:49 UTC (permalink / raw)
  To: yocto

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

Hi Zoran,

Thanks for the reply. The reason behind CMakeLists.txt does not appear is because tgz file is getting extracted into the source folder, it is empty when I checked. My recipe is unable to extract the tgz file which is download in the downloads directory. Do I need to write something specifically for extracting tgz file in the recipe?

Thanks,
Vijay Rakesh.

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

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

* Re: [yocto] Unable to extract tar file #dunfell #yocto
  2021-01-08  8:49     ` Vijay Rakesh Munganda
@ 2021-01-08  9:11       ` Paul Barker
  2021-01-08  9:19         ` Vijay Rakesh Munganda
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Barker @ 2021-01-08  9:11 UTC (permalink / raw)
  To: Vijay Rakesh Munganda; +Cc: Yocto-mailing-list

On Fri, 8 Jan 2021 at 08:49, Vijay Rakesh Munganda
<vijayrakeshmunganda@gmail.com> wrote:
>
> Hi Zoran,
>
> Thanks for the reply. The reason behind CMakeLists.txt does not appear is because tgz file is getting extracted into the source folder, it is empty when I checked. My recipe is unable to extract the tgz file which is download in the downloads directory. Do I need to write something specifically for extracting tgz file in the recipe?

Does the .tgz file get placed in ${WORKDIR} without being extracted?

Also, which Yocto Project version/branch are you using?

Thanks,

-- 
Paul Barker
Konsulko Group

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-08  9:11       ` [yocto] " Paul Barker
@ 2021-01-08  9:19         ` Vijay Rakesh Munganda
  2021-01-08  9:26           ` [yocto] " Quentin Schulz
  2021-01-08  9:28           ` [yocto] " Paul Barker
  0 siblings, 2 replies; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-08  9:19 UTC (permalink / raw)
  To: yocto

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

Hi Paul Barker,

No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can only see it in the downloads directory.

I'm Yocto Project Dunfell version.

Thanks,
Vijay Rakesh.

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

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

* Re: [yocto] Unable to extract tar file #dunfell #yocto
  2021-01-08  9:19         ` Vijay Rakesh Munganda
@ 2021-01-08  9:26           ` Quentin Schulz
  2021-01-08 11:07             ` Vijay Rakesh Munganda
  2021-01-08  9:28           ` [yocto] " Paul Barker
  1 sibling, 1 reply; 15+ messages in thread
From: Quentin Schulz @ 2021-01-08  9:26 UTC (permalink / raw)
  To: Vijay Rakesh Munganda; +Cc: yocto

Hi,

On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote:
> Hi Paul Barker,
> 
> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can only see it in the downloads directory.
> 

S = "${WORKDIR}/libopentok_linux_llvm_arm64"

This is the root directory of your archive and should be used for `S`

Cheers,
Quentin

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

* Re: [yocto] Unable to extract tar file #dunfell #yocto
  2021-01-08  9:19         ` Vijay Rakesh Munganda
  2021-01-08  9:26           ` [yocto] " Quentin Schulz
@ 2021-01-08  9:28           ` Paul Barker
  2021-01-08 10:52             ` Vijay Rakesh Munganda
  1 sibling, 1 reply; 15+ messages in thread
From: Paul Barker @ 2021-01-08  9:28 UTC (permalink / raw)
  To: Vijay Rakesh Munganda; +Cc: Yocto-mailing-list

On Fri, 8 Jan 2021 at 09:20, Vijay Rakesh Munganda
<vijayrakeshmunganda@gmail.com> wrote:
>
> Hi Paul Barker,
>
> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can only see it in the downloads directory.
>
> I'm Yocto Project Dunfell version.

What I mean is, do you see the file
"libopentok_linux_llvm_arm64-2.18.1.tgz" itself under ${WORKDIR}? i.e.
has it been copied instead of extracted?

Also, please quote the email you're replying to for the benefit of
others on the mailing list. Replying inline like this is preferred.

Thanks,

-- 
Paul Barker
Konsulko Group

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-08  9:28           ` [yocto] " Paul Barker
@ 2021-01-08 10:52             ` Vijay Rakesh Munganda
  0 siblings, 0 replies; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-08 10:52 UTC (permalink / raw)
  To: yocto

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

On Fri, Jan 8, 2021 at 01:28 AM, Paul Barker wrote:

> 
> 
>> Hi Paul Barker,
>> 
>> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can
>> only see it in the downloads directory.
>> 
>> I'm Yocto Project Dunfell version.
> 
> What I mean is, do you see the file
> "libopentok_linux_llvm_arm64-2.18.1.tgz" itself under ${WORKDIR}? i.e.
> has it been copied instead of extracted?
> 
> Also, please quote the email you're replying to for the benefit of
> others on the mailing list. Replying inline like this is preferred.
> 
> Thanks,
> 
> --
> Paul Barker
> Konsulko Group

I figured out URL is hyperlinked with another URL. When I use a hyperlinked URL it is getting copied and extracted into the working directory. Thanks.

Thanks,
Vijay Rakesh.

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

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-08  9:26           ` [yocto] " Quentin Schulz
@ 2021-01-08 11:07             ` Vijay Rakesh Munganda
  2021-01-08 11:15               ` [yocto] " Quentin Schulz
  0 siblings, 1 reply; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-08 11:07 UTC (permalink / raw)
  To: yocto

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

On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote:

> 
> Hi,
> 
> On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote:
> 
>> Hi Paul Barker,
>> 
>> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can
>> only see it in the downloads directory.
> 
> S = "${WORKDIR}/libopentok_linux_llvm_arm64"
> 
> This is the root directory of your archive and should be used for `S`
> 
> Cheers,
> Quentin

By changing to S = "${WORKDIR}/libopentok_linux_llvm_arm64" error got eliminated, thank you.

Now, how can I install the file under opentok_linux_llvm_arm64/lib/libopentok.so into the rootfs?

I tried the below code but got an error as *install: cannot stat 'lib/libopentok.so': No such file or directory*.

> 
> do_install() {
> install -d ${D}${libdir}
> install -m 0755 lib/libopentok.so ${D}${libdir}
> }
> 

Thanks,
Vijay Rakesh.

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

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

* Re: [yocto] Unable to extract tar file #dunfell #yocto
  2021-01-08 11:07             ` Vijay Rakesh Munganda
@ 2021-01-08 11:15               ` Quentin Schulz
  2021-01-08 12:00                 ` Vijay Rakesh Munganda
  0 siblings, 1 reply; 15+ messages in thread
From: Quentin Schulz @ 2021-01-08 11:15 UTC (permalink / raw)
  To: Vijay Rakesh Munganda; +Cc: yocto

On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote:
> On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote:
> 
> > 
> > Hi,
> > 
> > On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote:
> > 
> >> Hi Paul Barker,
> >> 
> >> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can
> >> only see it in the downloads directory.
> > 
> > S = "${WORKDIR}/libopentok_linux_llvm_arm64"
> > 
> > This is the root directory of your archive and should be used for `S`
> > 
> > Cheers,
> > Quentin
> 
> By changing to S = "${WORKDIR}/libopentok_linux_llvm_arm64" error got eliminated, thank you.
> 
> Now, how can I install the file under opentok_linux_llvm_arm64/lib/libopentok.so into the rootfs?
> 
> I tried the below code but got an error as *install: cannot stat 'lib/libopentok.so': No such file or directory*.
> 

If you go into ${WORKDIR} of your recipe (tmp/work/<arch>/<recipe name>),
what is the path to libopentok.*.so?

Quentin

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-08 11:15               ` [yocto] " Quentin Schulz
@ 2021-01-08 12:00                 ` Vijay Rakesh Munganda
  2021-01-08 12:08                   ` [yocto] " Quentin Schulz
  0 siblings, 1 reply; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-08 12:00 UTC (permalink / raw)
  To: yocto

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

On Fri, Jan 8, 2021 at 03:15 AM, Quentin Schulz wrote:

> 
> On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote:
> 
>> On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote:
>> 
>> 
>>> 
>>> Hi,
>>> 
>>> On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote:
>>> 
>>> 
>>>> Hi Paul Barker,
>>>> 
>>>> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can
>>>> only see it in the downloads directory.
>>> 
>>> S = "${WORKDIR}/libopentok_linux_llvm_arm64"
>>> 
>>> This is the root directory of your archive and should be used for `S`
>>> 
>>> Cheers,
>>> Quentin
>> 
>> By changing to S = "${WORKDIR}/libopentok_linux_llvm_arm64" error got
>> eliminated, thank you.
>> 
>> Now, how can I install the file under
>> opentok_linux_llvm_arm64/lib/libopentok.so into the rootfs?
>> 
>> I tried the below code but got an error as *install: cannot stat
>> 'lib/libopentok.so': No such file or directory*.
> 
> If you go into ${WORKDIR} of your recipe (tmp/work/<arch>/<recipe name>),
> what is the path to libopentok.*.so?
> 
> Quentin

This is the path to libopentok.so tmp/work/aarch64-poky-linux/tokbox/1.0-r0/libopentok_linux_llvm_arm64/lib/

Thanks,
Vijay Rakesh.

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

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

* Re: [yocto] Unable to extract tar file #dunfell #yocto
  2021-01-08 12:00                 ` Vijay Rakesh Munganda
@ 2021-01-08 12:08                   ` Quentin Schulz
  2021-01-08 14:08                     ` Vijay Rakesh Munganda
  0 siblings, 1 reply; 15+ messages in thread
From: Quentin Schulz @ 2021-01-08 12:08 UTC (permalink / raw)
  To: Vijay Rakesh Munganda; +Cc: yocto

On Fri, Jan 08, 2021 at 04:00:54AM -0800, Vijay Rakesh Munganda wrote:
> On Fri, Jan 8, 2021 at 03:15 AM, Quentin Schulz wrote:
> 
> > 
> > On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote:
> > 
> >> On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote:
> >> 
> >> 
> >>> 
> >>> Hi,
> >>> 
> >>> On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote:
> >>> 
> >>> 
> >>>> Hi Paul Barker,
> >>>> 
> >>>> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can
> >>>> only see it in the downloads directory.
> >>> 
> >>> S = "${WORKDIR}/libopentok_linux_llvm_arm64"
> >>> 
> >>> This is the root directory of your archive and should be used for `S`
> >>> 
> >>> Cheers,
> >>> Quentin
> >> 
> >> By changing to S = "${WORKDIR}/libopentok_linux_llvm_arm64" error got
> >> eliminated, thank you.
> >> 
> >> Now, how can I install the file under
> >> opentok_linux_llvm_arm64/lib/libopentok.so into the rootfs?
> >> 
> >> I tried the below code but got an error as *install: cannot stat
> >> 'lib/libopentok.so': No such file or directory*.
> > 
> > If you go into ${WORKDIR} of your recipe (tmp/work/<arch>/<recipe name>),
> > what is the path to libopentok.*.so?
> > 

Do you have B set up somewhere in your recipe?
Otherwise try ${S}/lib/libopentok.so for the source path.

Quentin

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-08 12:08                   ` [yocto] " Quentin Schulz
@ 2021-01-08 14:08                     ` Vijay Rakesh Munganda
  2021-01-11  9:01                       ` Vijay Rakesh Munganda
  0 siblings, 1 reply; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-08 14:08 UTC (permalink / raw)
  To: yocto

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

On Fri, Jan 8, 2021 at 04:09 AM, Quentin Schulz wrote:

> 
> On Fri, Jan 08, 2021 at 04:00:54AM -0800, Vijay Rakesh Munganda wrote:
> 
>> On Fri, Jan 8, 2021 at 03:15 AM, Quentin Schulz wrote:
>> 
>> 
>>> 
>>> On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote:
>>> 
>>> 
>>>> On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote:
>>>> 
>>>> 
>>>> 
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>>> Hi Paul Barker,
>>>>>> 
>>>>>> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can
>>>>>> only see it in the downloads directory.
>>>>> 
>>>>> S = "${WORKDIR}/libopentok_linux_llvm_arm64"
>>>>> 
>>>>> This is the root directory of your archive and should be used for `S`
>>>>> 
>>>>> Cheers,
>>>>> Quentin
>>>> 
>>>> By changing to S = "${WORKDIR}/libopentok_linux_llvm_arm64" error got
>>>> eliminated, thank you.
>>>> 
>>>> Now, how can I install the file under
>>>> opentok_linux_llvm_arm64/lib/libopentok.so into the rootfs?
>>>> 
>>>> I tried the below code but got an error as *install: cannot stat
>>>> 'lib/libopentok.so': No such file or directory*.
>>> 
>>> If you go into ${WORKDIR} of your recipe (tmp/work/<arch>/<recipe name>),
>>> what is the path to libopentok.*.so?
>> 
>> 
> 
> Do you have B set up somewhere in your recipe?
> Otherwise try ${S}/lib/libopentok.so for the source path.
> 
> Quentin

Thank you! it worked.

Thanks,
Vijay Rakesh.

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

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

* Re: Unable to extract tar file #dunfell #yocto
  2021-01-08 14:08                     ` Vijay Rakesh Munganda
@ 2021-01-11  9:01                       ` Vijay Rakesh Munganda
  0 siblings, 0 replies; 15+ messages in thread
From: Vijay Rakesh Munganda @ 2021-01-11  9:01 UTC (permalink / raw)
  To: yocto

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

Hi Quentin,

Thank you for the earlier help. After that, I got a QA Issue and I was trying to solve it, but I'm unable to do it. Any suggestions would be helpful.

Package contains non-symlink .so: tokbox-dev path '/work/aarch64-poky-linux/tokbox/1.0-r0/packages-split/tokbox-dev/usr/lib/libopentok.so' [dev-elf]
ERROR: tokbox-1.0-r0 do_package_qa: QA Issue: /usr/lib/libopentok.so contained in package tokbox-dev requires libc++.so.1()(64bit), but no providers found in RDEPENDS_tokbox-dev? [file-rdeps]

Thanks & Regards,
Vijay Rakesh.

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

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

end of thread, other threads:[~2021-01-11  9:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07  7:12 Unable to extract tar file #dunfell #yocto Vijay Rakesh Munganda
2021-01-08  6:18 ` Vijay Rakesh Munganda
2021-01-08  7:51   ` [yocto] " Zoran
2021-01-08  8:49     ` Vijay Rakesh Munganda
2021-01-08  9:11       ` [yocto] " Paul Barker
2021-01-08  9:19         ` Vijay Rakesh Munganda
2021-01-08  9:26           ` [yocto] " Quentin Schulz
2021-01-08 11:07             ` Vijay Rakesh Munganda
2021-01-08 11:15               ` [yocto] " Quentin Schulz
2021-01-08 12:00                 ` Vijay Rakesh Munganda
2021-01-08 12:08                   ` [yocto] " Quentin Schulz
2021-01-08 14:08                     ` Vijay Rakesh Munganda
2021-01-11  9:01                       ` Vijay Rakesh Munganda
2021-01-08  9:28           ` [yocto] " Paul Barker
2021-01-08 10:52             ` Vijay Rakesh Munganda

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.