<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15552</bug_id>
          
          <creation_ts>2024-07-15 23:36:00 +0000</creation_ts>
          <short_desc>build-deps QA error in nativesdk-openssl with dummy nativesdk-perl</short_desc>
          <delta_ts>2025-04-10 15:32:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>connectivity</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Denys Dmytriyenko">denis</reporter>
          <assigned_to name="Denys Dmytriyenko">denis</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99385</commentid>
    <comment_count>0</comment_count>
    <who name="Denys Dmytriyenko">denis</who>
    <bug_when>2024-07-15 23:36:00 +0000</bug_when>
    <thetext>Add &quot;nativesdk-perl&quot; to ASSUME_PROVIDED:

ASSUME_PROVIDED += &quot;nativesdk-perl&quot;


$ bitbake nativesdk-openssl
...
I get one of these 3 similar, but slightly different errors:

ERROR: nativesdk-openssl-3.3.1-r0 do_package_qa: QA Issue: nativesdk-openssl-misc rdepends on nativesdk-perl, but it isn&apos;t a build dependency? [build-deps]

ERROR: nativesdk-openssl-3.3.1-r0 do_package_qa: QA Issue: nativesdk-openssl-misc rdepends on nativesdk-perl, but it isn&apos;t a build dependency, missing nativesdk-perl in DEPENDS or PACKAGECONFIG? [build-deps]

ERROR: nativesdk-openssl-3.3.1-r0 do_package_qa: QA Issue: nativesdk-openssl-misc rdepends on nativesdk-perl, but it isn&apos;t a build dependency, missing nativesdk-buildtools-perl-dummy in DEPENDS or PACKAGECONFIG? [build-deps]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99388</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-07-17 18:51:02 +0000</bug_when>
    <thetext>ASSUME_PROVIDED isn&apos;t the way we&apos;ve handled the SDK provision. 

See meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99389</commentid>
    <comment_count>2</comment_count>
    <who name="Denys Dmytriyenko">denis</who>
    <bug_when>2024-07-17 19:02:42 +0000</bug_when>
    <thetext>Yes, I do have these lines in the image/sdk recipes:

TOOLCHAIN_HOST_TASK:append = &quot; nativesdk-buildtools-perl-dummy&quot;
SDK_PACKAGE_ARCHS += &quot;buildtools-dummy-${SDKPKGSUFFIX}&quot;

That&apos;s when I get the 3-rd variant of the error message (missing nativesdk-buildtools-perl-dummy in DEPENDS or PACKAGECONFIG?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100792</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-30 16:06:36 +0000</bug_when>
    <thetext>Bulk move to 5.2-M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100819</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-01-30 16:17:06 +0000</bug_when>
    <thetext>Bulk move to 5.2-M3 and this time I&apos;ll actually specify M3!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101489</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-03-25 18:45:20 +0000</bug_when>
    <thetext>With the following in conf/local.conf:

TOOLCHAIN_HOST_TASK:append = &quot; nativesdk-buildtools-perl-dummy&quot;
SDK_PACKAGE_ARCHS += &quot;buildtools-dummy-${SDKPKGSUFFIX}&quot;

I do not see an error for 
$ bitbake nativesdk-openssl
for either MACHINE=qemuarm or qemux86-64

this is with poky  ( master:99213878963e780704728d90f0f184ee2389f10f )

Can you confirm and/or provide detailed steps to reproduce ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101619</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2025-04-10 15:04:34 +0000</bug_when>
    <thetext>https://web.git.yoctoproject.org/poky/commit/?id=8c583b0370a6127fbf9f91b5bfc7ad71ab36e8ee</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101620</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2025-04-10 15:04:58 +0000</bug_when>
    <thetext>Does the patch mean this is now resolved?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101621</commentid>
    <comment_count>8</comment_count>
    <who name="Denys Dmytriyenko">denis</who>
    <bug_when>2025-04-10 15:32:06 +0000</bug_when>
    <thetext>Well, there are few points here:

1. there were few more nativesdk-perl packages creeping in when building the SDK with &quot;dummy-sdk-package&quot; - the patch is supposed to resolve this, at least for now, see #3

2. therefore ASSUME_PROVIDED was used from the old days to forcefully prevent nativesdk-perl from even being built, but that now started throwing &quot;build-deps&quot; errors for indirect dependencies

3. W/o ASSUME_PROVIDED, nativesdk-perl gets fully built normally, but &quot;dummy-sdk-package&quot; then filters the corresponding packages from being installed into the SDK. And it&apos;s a bit fragile, as once in a while new modules/packages need to be added, which happened many times in the past:
https://git.openembedded.org/openembedded-core/log/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>