All of lore.kernel.org
 help / color / mirror / Atom feed
From: raulpblooper@gmail.com
To: yocto@lists.yoctoproject.org
Subject: devtool build failure first time but builds fine successfully second time. #yocto #devtool
Date: Wed, 16 Jun 2021 02:48:29 -0700	[thread overview]
Message-ID: <Jqwl.1623836909133904283.nc6j@lists.yoctoproject.org> (raw)

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

Hello All,
I am tyro in yocto ,

I am having a strange issue where I am trying to build the recipe  using    devtool build <recipe>  . It fails first time but builds second time.

It flags an error related to some linkage of shared library .
But when I checked the shared library , it is present at the same place,

First Error :

ERROR: <recipe-name>1-1.0-r0 do_compile: Execution of 'Path to build directory/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/<recipe-name>/1.0-r0/temp/run.do_compile.12944' failed with exit code 2

Second Error :

-L/<path to build directory>/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/<my recipe>1/1.0-r0/r1-1.0/<aplication name>/../<shared lib folder>/<sub folder name>  -Wl,-rpath,"\$ORIGIN/../<shared lib folder>/<sub folder name>" -l<shared lib name without lib> -pthread

When i run the same command again **( devtool build recipe
)** it builds Successfully the application referring this shared library.

Does anyone know this peculiar issue.?
Since it builds fine with no change i suspect no mistake in my Cmakefiles.

Please assist,

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

                 reply	other threads:[~2021-06-16  9:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Jqwl.1623836909133904283.nc6j@lists.yoctoproject.org \
    --to=raulpblooper@gmail.com \
    --cc=yocto@lists.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.