<?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>15784</bug_id>
          
          <creation_ts>2025-03-05 15:17:08 +0000</creation_ts>
          <short_desc>HOST_CPU_STR should be TARGET_CPU_STR</short_desc>
          <delta_ts>2026-09-30 20:46:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</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>major</bug_severity>
          <target_milestone>next-patch</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Etienne Cordonnier">ecordonnier</reporter>
          <assigned_to name="Alex Stewart">alex.stewart</assigned_to>
          <cc>richard.purdie</cc>
    
    <cc>sundeep.kokkonda</cc>
    
    <cc>SunilKumar.Dora</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>101289</commentid>
    <comment_count>0</comment_count>
    <who name="Etienne Cordonnier">ecordonnier</who>
    <bug_when>2025-03-05 15:17:08 +0000</bug_when>
    <thetext>opkg_conf.c contains this comment:
    /* if no architectures were defined, then default all, noarch, and host architecture */

However, it does not really make sense to support the host architecture per default when doing cross-compilation builds. It should rather support the TARGET architecture per default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106944</commentid>
    <comment_count>1</comment_count>
    <who name="Sermsity Sunil Kumar Dora">SunilKumar.Dora</who>
    <bug_when>2026-09-27 14:03:48 +0000</bug_when>
    <thetext>This shows up on the autobuilder now that the reproducibility tests also run on ARM workers: libopkg1 and opkg-dbg differ between an x86 and an ARM build host, because the built-in default arch is &quot;x86_64&quot; on one and &quot;aarch64&quot; on the other.

Patch sent to the opkg list:
https://lists.yoctoproject.org/g/opkg/message/205</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106967</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2026-09-30 20:46:31 +0000</bug_when>
    <thetext>Merged to master in this commit.

https://git.yoctoproject.org/opkg/commit/?id=0682b36c898fb81a40a068481062512bcea9b66b

Should be fixed in the next minor release (either 0.11.0 or 0.10.1).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106968</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2026-09-30 20:46:59 +0000</bug_when>
    <thetext>r/minor/patch/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>