All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Ryan Eatmon <reatmon@ti.com>
Cc: Praneeth Bajjuri <praneeth@ti.com>,
	Denys Dmytriyenko <denys@konsulko.com>,
	meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti][master][PATCH] ti-img-rogue-umlibs: Add DEPENDS on BASE_DEFAULT_DEPS
Date: Mon, 28 Aug 2023 17:49:11 -0400	[thread overview]
Message-ID: <20230828214911.GR3359@denix.org> (raw)
In-Reply-To: <5af0c60b-c546-7741-bc47-fe6bcec5fc93@ti.com>

On Mon, Aug 28, 2023 at 04:13:48PM -0500, Ryan Eatmon wrote:
> 
> 
> On 8/28/2023 3:45 PM, Ryan Eatmon via lists.yoctoproject.org wrote:
> >
> >
> >On 8/28/2023 3:39 PM, Denys Dmytriyenko wrote:
> >>On Mon, Aug 28, 2023 at 03:22:11PM -0500, Ryan Eatmon via
> >>lists.yoctoproject.org wrote:
> >>>A recent change to oe-core [1], has caused a pile of QA errors during
> >>>packaging for this binary package.  The effect of the change in oe-core
> >>>was to remove the dependency on the compiler and other compiler adjacent
> >>>libraries.  But the binary packages need some of the compiler tools as
> >>>part of the packaging flow (ie. objdump).
> >>>
> >>>Until the above gets reverted, this patch will fix the issue and can be
> >>>reverted itself once oe-core is fixed.
> >>>
> >>>[1] https://git.openembedded.org/openembedded-core/commit/?h=master&id=d1d09bd4d7be88f0e341d5fccbfbefeb98d4b727
> >>
> >>Why not simply reset INHIBIT_DEFAULT_DEPS in the recipe?
> >
> >Good question.  Let me try that.  It should work, but I want to be sure.
> 
> huh...  It didn't work...
> 
> 
> inherit bin_package
> 
> INHIBIT_DEFAULT_DEPS = "0"
> 
> 
> That gave the same build errors....
> 
> 
> Here is code that is using the variable:
> 
> def get_base_dep(d):
>     if d.getVar('INHIBIT_DEFAULT_DEPS', False):
>         return ""
>     return "${BASE_DEFAULT_DEPS}"

Ah, right, it doesn't check for the value, just the fact that the variable is 
defined. Could try unset or d.delVar()... But, revert in OE-Core does make 
perfect sense. Today is a holiday in the UK, so Richard is out until tomorrow.


> >>>Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> >>>---
> >>>  .../powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb          | 2 ++
> >>>  1 file changed, 2 insertions(+)
> >>>
> >>>diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
> >>>index f748bd0f..73de93e5 100644
> >>>--- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
> >>>+++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
> >>>@@ -37,6 +37,8 @@ PACKAGECONFIG[opengl] = ",,,,${GLES_PACKAGES}"
> >>>  PACKAGECONFIG[vulkan] = ",,,,${VULKAN_PACKAGES}"
> >>>  PACKAGECONFIG[opencl] = ",,,,${OPENCL_PACKAGES}"
> >>>+DEPENDS:prepend = "${BASE_DEFAULT_DEPS} "
> >>>+
> >>>  def get_file_list(package_list_var, d):
> >>>      file_list = []
> >>>      package_list = d.getVar(package_list_var)
> >>>-- 
> >>>2.17.1


  reply	other threads:[~2023-08-28 21:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-28 20:22 [meta-ti][master][PATCH] ti-img-rogue-umlibs: Add DEPENDS on BASE_DEFAULT_DEPS Ryan Eatmon
2023-08-28 20:39 ` Denys Dmytriyenko
2023-08-28 20:45   ` Ryan Eatmon
     [not found]   ` <177FA6F1CCEC185E.29216@lists.yoctoproject.org>
2023-08-28 21:13     ` Ryan Eatmon
2023-08-28 21:49       ` Denys Dmytriyenko [this message]
     [not found]     ` <177FA87BB4E479BB.5772@lists.yoctoproject.org>
2023-08-28 21:33       ` Ryan Eatmon

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=20230828214911.GR3359@denix.org \
    --to=denis@denix.org \
    --cc=denys@konsulko.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=praneeth@ti.com \
    --cc=reatmon@ti.com \
    /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.