<?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>15765</bug_id>
          
          <creation_ts>2025-02-19 05:51:14 +0000</creation_ts>
          <short_desc>tool paths in rpm macros incorrect</short_desc>
          <delta_ts>2025-02-20 15:59:09 +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>devtools / tool chain</component>
          <version>5.0.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matevz Langus">matevz.langus</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101153</commentid>
    <comment_count>0</comment_count>
    <who name="Matevz Langus">matevz.langus</who>
    <bug_when>2025-02-19 05:51:14 +0000</bug_when>
    <thetext>When building and installing SDK with:
  bitbake core-image-minimal -c populate_sdk -f
or
  bitbake core-image-minimal -c populate_sdk_ext -f

resulting tools, specifically file /opt/poky/5.0.7/sysroots/x86_64-pokysdk-linux/usr/lib/rpm/macros

will contain incorrect paths to tools for example:

  %__make			usr/bin/make


In previous Yocto versions (for sure in Kirkstone) this was:

  %__make			/usr/bin/make


which also does not seem right as this macro should point to Yocto&apos;s toolchain and utils. But with Kirkstone at least it worked as rpm/rpmbuild called OS&apos;es make. With Scarthgap however it fails as it can not find make.

We believe this is a bug as we are so far unable to see how this could be a feature.

Shouldn&apos;t this macro point to either:
- just &apos;make&apos;
- full path to Yocto&apos;s &apos;make&apos; (when ext SDK is built?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101166</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-20 15:31:49 +0000</bug_when>
    <thetext>*** Bug 15766 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>