From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 8 20:31:59 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B32C10A for ; Thu, 8 Jan 2015 20:31:59 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 682C566E for ; Thu, 8 Jan 2015 20:31:59 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t08KVxVM052712 for ; Thu, 8 Jan 2015 20:31:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196623] lang/go: Won't build on armv6 because of limitation in Makefile Date: Thu, 08 Jan 2015 20:31:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: contact@erikano.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jlaffaye@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 20:31:59 -0000 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: jlaffaye@FreeBSD.org Reporter: contact@erikano.net Flags: maintainer-feedback?(jlaffaye@FreeBSD.org) Assignee: jlaffaye@FreeBSD.org 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. --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer jlaffaye@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.