From owner-freebsd-ports@freebsd.org Thu Apr 26 16:08:14 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1351FB19AC for ; Thu, 26 Apr 2018 16:08:13 +0000 (UTC) (envelope-from bjb@darco.dk) Received: from mail.blichsoft.dk (mail.blichsoft.dk [80.62.0.186]) by mx1.freebsd.org (Postfix) with ESMTP id 6B8C487104 for ; Thu, 26 Apr 2018 16:08:13 +0000 (UTC) (envelope-from bjb@darco.dk) Received: by mail.blichsoft.dk (Postfix, from userid 110) id 0A13262132; Thu, 26 Apr 2018 18:08:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on v8.blichsoft.dk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, HTML_MESSAGE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Received: from [192.168.1.200] (sussi [192.168.1.200]) by mail.blichsoft.dk (Postfix) with ESMTP id 312DD6212E; Thu, 26 Apr 2018 18:08:03 +0200 (CEST) Subject: Re: lang/go failes to build with poudriere, since 2018-04-05 To: "Derek (freebsd lists)" <482254ac@razorfever.net>, Steven Hartland , freebsd-ports@freebsd.org References: <405cd11b-48c4-2b82-561e-ae9cada253bb@darco.dk> <8859afde-29a5-79d6-9b00-6b97df687b94@multiplay.co.uk> <874d92d2-55bc-6dc1-5f6e-f57dc5ab5381@razorfever.net> From: Bjarne Message-ID: Date: Thu, 26 Apr 2018 18:08:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <874d92d2-55bc-6dc1-5f6e-f57dc5ab5381@razorfever.net> Content-Language: en-US X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ClamAV 0.99.2/24336/Wed Feb 21 18:21:56 2018 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 16:08:14 -0000 Hi Derek Thank you very much for replying. it seems you hit it right on target! Unfortunately I dont know anything about go, but it is a requirement of sysutils/beats. Googling around i can see GOMAXPROCS is something with max number of cpu's used. Since i dont know where to set that parameter and the fact i am working with a virtual environment, I reduced the numbe of cpu's from 4 to 1  on the build machine. Now go is building and all is well again. Where would I set GOMAXPROCS=1? I might want to go back to 4 cpu's again. On 25-04-2018 23:09, Derek (freebsd lists) wrote: > Ah, you'll note: fork/exec implicated here. > > Looks like this guy strikes again: > https://github.com/golang/go/issues/15658 > > It pains me to say but Go on FreeBSD is (and has always been) broken.  Should be fine if you don't > exec.  Something that might help, is setting GOMAXPROCS=1. > > Derek > > On 18-04-25 07:45 AM, Steven Hartland wrote: >> Builds fine on 11.1-RELEASE-p6 here: >> >> [00:04:02] Committing packages to repository >> [00:04:02] Removing old packages >> [00:04:02] Built ports: lang/go >> [ports11-1-multiplay] [2018-04-25_11h37m16s] [committing:] Queued: 1 Built: 1  Failed: 0  >> Skipped: 0  Ignored: 0  Tobuild: 0   Time: 00:04:01 >> [00:04:02] Logs: /usr/local/poudriere/data/logs/bulk/ports11-1-multiplay/2018-04-25_11h37m16s >> [00:04:02] Cleaning up >> >> svn info >> Path: . >> Working Copy Root Path: /usr/local/poudriere/ports/multiplay >> URL: https://svn.freebsd.org/ports/head >> Relative URL: ^/head >> Repository Root: https://svn.freebsd.org/ports >> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 >> Revision: 468275 >> Node Kind: directory >> Schedule: normal >> Last Changed Author: tobik >> Last Changed Rev: 468275 >> Last Changed Date: 2018-04-25 11:08:41 +0000 (Wed, 25 Apr 2018) >> >> >>      Regards >>      Steve >> >> On 25/04/2018 12:07, Bjarne wrote: >>> I got a job to rebuild all packages every night, but since 2018-04-05 building  >>> /usr/ports/lang/go is failing. >>> >>> Apparently 2018-04-05  some major changed was introduced, since 331 pakackes was rebuilt. Not >>> sure what it was, I saw nothing in UPATING. >>> >>> Top of logfile: >>> >>>>> Building lang/go >>> :snip > -- mvh, Bjarne