All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Arun Ravindran" <arunlee@gmail.com>
To: poky@lists.yoctoproject.org
Subject: Re: Weird Compilation issue with a c++ recipe
Date: Wed, 24 Mar 2021 22:48:41 -0700	[thread overview]
Message-ID: <4418.1616651321229040975@lists.yoctoproject.org> (raw)
In-Reply-To: <12874.1616620083179682241@lists.yoctoproject.org>

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

I have a new issue now. The package i am trying to build has this dependency on a pre compiled .so file which is part of the source tree.
The dependency is mentioned in the CMakeList.txt as

if(MSVC)
set (DCAPI_LIBS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/librscalibrationapi/lib/windows/x64)
elseif(${CMAKE_SYSTEM_PROCCESSOR} MATCHES "aarch64|AARCH64")
set (DCAPI_LIBS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/librscalibrationapi/lib/linux/aarch64)
else()
set (DCAPI_LIBS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/librscalibrationapi/lib/linux/x86_64)
endif()

But the build is failing with a QA issue.

ERROR: rs-oem-kit-server-1.8.2.0-r0 do_package_qa: QA Issue: package rs-oem-kit-server contains bad RPATH /home/aravind2/work/mevolve-yocto/mvdevice/build/tmp/work/aarch64-poky-linux/rs-oem-kit-server/1.8.2.0-r0/rs-oem-kit-server/librscalibrationapi/lib/linux/aarch64 in file /home/aravind2/work/mevolve-yocto/mvdevice/build/tmp/work/aarch64-poky-linux/rs-oem-kit-server/1.8.2.0-r0/packages-split/rs-oem-kit-server/usr/bin/rs-calibration-simple
package rs-oem-kit-server contains bad RPATH /home/aravind2/work/mevolve-yocto/mvdevice/build/tmp/work/aarch64-poky-linux/rs-oem-kit-server/1.8.2.0-r0/rs-oem-kit-server/librscalibrationapi/lib/linux/aarch64 in file /home/aravind2/work/mevolve-yocto/mvdevice/build/tmp/work/aarch64-poky-linux/rs-oem-kit-server/1.8.2.0-r0/packages-split/rs-oem-kit-server/usr/bin/rs-calibration-converter
package rs-oem-kit-server contains bad RPATH /home/aravind2/work/mevolve-yocto/mvdevice/build/tmp/work/aarch64-poky-linux/rs-oem-kit-server/1.8.2.0-r0/rs-oem-kit-server/librscalibrationapi/lib/linux/aarch64 in file /home/aravind2/work/mevolve-yocto/mvdevice/build/tmp/work/aarch64-poky-linux/rs-oem-kit-server/1.8.2.0-r0/packages-split/rs-oem-kit-server/usr/bin/rs-calibration-info [rpaths]
ERROR: rs-oem-kit-server-1.8.2.0-r0 do_package_qa: QA Issue: /usr/bin/rs-calibration-simple contained in package rs-oem-kit-server requires libDSDynamicCalibrationAPI.so()(64bit), but no providers found in RDEPENDS_rs-oem-kit-server? [file-rdeps]
ERROR: rs-oem-kit-server-1.8.2.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: Logfile of failure stored in: /home/aravind2/work/mevolve-yocto/mvdevice/build/tmp/work/aarch64-poky-linux/rs-oem-kit-server/1.8.2.0-r0/temp/log.do_package_qa.13723
ERROR: Task (/home/aravind2/work/mevolve-yocto/poky/../meta-mevolveapps/recipes-production/rs-oem-kit-server/rs-oem-kit-server_1.8.2.0.bb:do_package_qa) failed with exit code '1'

Could you please suggest a fix for this?

Thanks..

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

  reply	other threads:[~2021-03-25  5:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Groupsio.1.pwb1.1616605380917082275.iIyZ@lists.yoctoproject.org>
2021-03-24 18:43 ` [poky] Weird Compilation issue with a c++ recipe Khem Raj
2021-03-24 20:06   ` arunlee
2021-03-24 20:43     ` Arun Ravindran
2021-03-24 21:02       ` [poky] " Khem Raj
2021-03-24 21:08       ` Arun Ravindran
2021-03-25  5:48         ` Arun Ravindran [this message]
2021-03-25  6:33           ` [poky] " Khem Raj
2021-03-25 19:39             ` Arun Ravindran
     [not found]   ` <12874.1616616288995699304@lists.yoctoproject.org>
2021-03-24 20:10     ` Private: Re: [poky] " Khem Raj
2021-03-24 20:33       ` arunlee
2021-03-24 17:03 arunlee

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=4418.1616651321229040975@lists.yoctoproject.org \
    --to=arunlee@gmail.com \
    --cc=poky@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.