[Bug 196623] lang/go: Won't build on armv6 because of limitation in Makefile
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 12 17:50:21 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196623
Bug ID: 196623
Summary: lang/go: Won't build on armv6 because of limitation in
Makefile
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: contact at erikano.net
Hello,
I was trying to build go from ports on my Raspberry Pi running FreeBSD 10.1 and
at first, it told me "go-1.4,1 is only for i386 amd64, while you are running
armv6".
I made a forum post about it at
https://forums.freebsd.org/threads/go-1-4-1-is-only-for-i386-amd64-while-you-are-running-armv6.49901/
It turned out that with minor changes to the Makefile, go was able to build,
install and run on my armv6 computer.
Here is my change of the Makefile:
27c27
< ONLY_FOR_ARCHS= i386 amd64
---
> ONLY_FOR_ARCHS= armv6
31,38c31,32
< .if ${ARCH} == "i386"
< GOARCH=386
< GOOBJ=8
< PLIST_SUB+= I386_ONLY=""
< PLIST_SUB+= AMD64_ONLY="@comment "
< .else
< GOARCH=amd64
< GOOBJ=6
---
> GOARCH=arm
> GOOBJ=5
40,41c34
< PLIST_SUB+= AMD64_ONLY=""
< .endif
---
> PLIST_SUB+= AMD64_ONLY="@comment "
As you can see, I removed i386 and amd64, which is obviously not what I want
you to do in the actual ports, but I was hoping that you could make similar
changes to what I did.
This is my first time reporting something to FreeBSD so my appologies if I've
done anything wrong.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list