<?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>13945</bug_id>
          
          <creation_ts>2020-06-15 02:51:43 +0000</creation_ts>
          <short_desc>Buildtools installer fails on Aarch64</short_desc>
          <delta_ts>2020-08-04 02:12:36 +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>3.3</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>3.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</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>87480</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-06-15 02:51:43 +0000</bug_when>
    <thetext>When running install-buildtools on an aarch64 host:

INFO: Fetching buildtools installer
INFO: Fetching buildtools installer checksum
INFO: Checksum success
INFO: Making installer executable
Error: Incompatible SDK installer! Your host is aarch64 and this SDK was built for x86_64 hosts.
ERROR: Could not run buildtools installer
INFO: Setting up the environment
Traceback (most recent call last):
  File &quot;./scripts/install-buildtools&quot;, line 333, in &lt;module&gt;
    ret = main()
  File &quot;./scripts/install-buildtools&quot;, line 281, in main
    install_dir, &apos;rb&apos;) as f:
FileNotFoundError: [Errno 2] No such file or directory: &apos;/home/ec2-user/poky/buildtools/environment-setup-x86_64-pokysdk-linux&apos;

Two problems:
1) No binary for aarch64 hosts
2) It should have stopped at the Error, and not tried to carry on going</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87489</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-06-16 07:17:04 +0000</bug_when>
    <thetext>Patches on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87508</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-06-18 07:47:25 +0000</bug_when>
    <thetext>- oe-core master has a fixed install-buildtools
- yocto-autobuilder-helper master builds aarch64 buildtools

Still need to backport those to dunfell.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87877</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-08-04 02:12:36 +0000</bug_when>
    <thetext>Fixed in master as of d1e71bf5b399372166eb40bb0d99c8fb52231600.
Fixed in dunfell as of 877a082b5f3f5ccf8191a2438e7707b419174ea9.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>