<?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>12152</bug_id>
          
          <creation_ts>2017-10-02 18:38:06 +0000</creation_ts>
          <short_desc>Add automated test for Go toolchain support</short_desc>
          <delta_ts>2017-12-01 14:48:26 +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>2.4</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>2.4.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Otavio Salvador">otavio</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>joshuagloe</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>otavio</cc>
    
    <cc>ross.burton</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>77277</commentid>
    <comment_count>0</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2017-10-02 18:38:06 +0000</bug_when>
    <thetext>The Go toolchain can be tested using following steps:

git clone https://github.com/golang/dep go/src/github.com/golang/dep
. /opt/oel/17.1-snapshot/environment-setup-i586-oel-linux
export GOPATH=$PWD/go
cd go/src/github.com/golang/dep
i586-oel-linux-go build github.com/golang/dep/cmd/dep</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77280</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-10-02 20:33:15 +0000</bug_when>
    <thetext>Any hints on how to include a go toolchain in your generated SDK?

Is the following conf snippet sufficient?

TOOLCHAIN_HOST_TASK_append = &quot; packagegroup-go-cross-canadian-${MACHINE}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77282</commentid>
    <comment_count>2</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2017-10-02 20:52:26 +0000</bug_when>
    <thetext>I added a meta-go-toolchain recipe which has it all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77337</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-10-04 11:20:09 +0000</bug_when>
    <thetext>As a learning exercise I implemented a selftest for meta-go-toolchain and an SDK test for an SDK built with Go. I&apos;m not sure both are useful, certainly as the default SDK&apos;s don&apos;t include Go, so will likely only submit a patch for the former.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77349</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-10-04 16:24:35 +0000</bug_when>
    <thetext>Patch submitted:
https://patchwork.openembedded.org/patch/144674/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78458</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-12-01 14:48:26 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/clean/cgit.cgi/poky/commit/?id=51b3c38b5d5d80c3acf5d2477db38b08803c8883</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>