<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 17, 2014 at 10:12 AM, John Marino <span dir="ltr"><<a href="mailto:dragonflybsd@marino.st" target="_blank">dragonflybsd@marino.st</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 1/17/2014 18:57, Brad Fitzpatrick wrote:<br>
> On Fri, Jan 17, 2014 at 9:45 AM, John Marino <<a href="mailto:dragonflybsd@marino.st">dragonflybsd@marino.st</a><br>
</div><div class="im">> <mailto:<a href="mailto:dragonflybsd@marino.st">dragonflybsd@marino.st</a>>> wrote:<br>
> Hi Brad,<br>
> Where is the broken report coming from given that there is no builder?<br>
><br>
> It was just reported by Aram Hăvărneanu today. I haven't tried and<br>
> don't use DragonFly.<br>
><br>
> If you'd like to test its current state:<br>
><br>
> $ hg clone <a href="https://code.google.com/p/go" target="_blank">https://code.google.com/p/go</a><br>
> $ cd go/src<br>
> $ ./all.bash<br>
><br>
> ... will build & run the tests.<br>
<br>
</div>Hi Brad,<br>
Well, there's a chance that this report is "bogus" in the sense that Go<br>
only builds within the FreeBSD Ports framework on DragonFly. For sure<br>
we need src/make.bash patched to remove the bashism equality checks:<br>
<br>
<a href="https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/lang/go/dragonfly/patch-src_make.bash" target="_blank">https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/lang/go/dragonfly/patch-src_make.bash</a><br>
<br>
(If make.bash is still broken this way, could you fix it?)<br></blockquote><div><br></div><div>Well, that file is named *.bash. I think bashisms are acceptable.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
There is another diff for the freebsd ports framework:<br>
<a href="https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/lang/go/diffs/bsd.go.mk.diff" target="_blank">https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/lang/go/diffs/bsd.go.mk.diff</a><br>
<br>
Do Go build on FreeBSD outside of ports?<br></blockquote><div><br></div><div>Last I checked, yes.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Bottom line: The current head might not be broken as it's never built<br>
out-of-the-box that I know of. I might try later but that's not how we<br>
would normally build it.<br></blockquote><div><br></div><div>Another way to think of "ports" is "extra patches to actually make it compile". We try to just get those in the tree.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">> It might be a moot point because I am not sure DragonFly runs in an EC2<br>
><br>
> instance. I know Colin Percival did a major effort to get FreeBSD to<br>
> run in it, and I haven't heard any DragonFly person doing something<br>
> similar. Could it equally be hosted on one of the <a href="http://dragonflybsd.org" target="_blank">dragonflybsd.org</a><br>
</div>> <<a href="http://dragonflybsd.org" target="_blank">http://dragonflybsd.org</a>><br>
<div class="im">> blade servers?<br>
><br>
><br>
> It could be anywhere with network. We've had or have builders on<br>
> re-purposed Android tablets, under stairwells, on every imaginable ARM<br>
> dev board, on desks at companies on their guest wifi, on physical<br>
> machines, on a bunch of cloudy VM things, etc.<br>
><br>
> Once make.bash passes sufficiently to give you a "go" command to let you<br>
> compile Go programs, you build the Go build bot worker program and it<br>
> runs forever, polling work from and reporting results to<br>
</div>> <a href="http://build.golang.org" target="_blank">build.golang.org</a> <<a href="http://build.golang.org" target="_blank">http://build.golang.org</a>>. We'll just have to give you<br>
<div class="im">> a key that you put in a file on the builder, for authenticating to the<br>
> build master.<br>
<br>
</div>Ok, I think we could set it up here without too much trouble. Somebody<br>
should still step up as I am not a "Go" guy. I just try to get stuff in<br>
the ports.</blockquote><div><br></div><div>If it's a team effort amongst DragonFly maintainers, that's fine with us. Just give us a contact(s) and information to add to <a href="https://code.google.com/p/go-wiki/wiki/DashboardBuilders">https://code.google.com/p/go-wiki/wiki/DashboardBuilders</a></div>
<div><br></div></div></div></div>