From owner-freebsd-ports-bugs@freebsd.org Mon Jan 9 15:20:47 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1467DCA7C27 for ; Mon, 9 Jan 2017 15:20:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 DD06219C2 for ; Mon, 9 Jan 2017 15:20:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v09FKkKR099918 for ; Mon, 9 Jan 2017 15:20:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215910] lang/go14: can't build go14 while building lang/go Date: Mon, 09 Jan 2017 15:20:46 +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: igor4ml@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jlaffaye@FreeBSD.org 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: quoted-printable 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.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 15:20:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215910 Bug ID: 215910 Summary: lang/go14: can't build go14 while building lang/go 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: igor4ml@gmail.com Flags: maintainer-feedback?(jlaffaye@FreeBSD.org) Assignee: jlaffaye@FreeBSD.org Got following error while building lang/go on FreeBSD 12 with custom kernel (also had same problem with FreeBSD 11) # Building packages and commands for freebsd/amd64. runtime go build runtime: /usr/build/usr/ports/lang/go14/work/go/pkg/tool/freebsd_amd64/6g: pipe: function not implemented Problem caused by lack of "pipe" system call, from src/UPDATING: 20160622: The libc stub for the pipe(2) system call has been replaced with a wrapper that calls the pipe2(2) system call and the pipe(2) system call is now only implemented by the kernels that include "options COMPAT_FREEBSD10" in their config file (this is the default). Users should ensure that this option is enabled in their kernel or upgrade userspace to r302092 before upgrading their kernel. I tried to add support for pipe2 system call to Go runtime sources (really = just copied it from pipe_linux.go) but a little later I got error about fork/exe= c. Now I'm rebuilding kernel with COMPAT_FREEBSD10. --=20 You are receiving this mail because: You are the assignee for the bug.=