From owner-freebsd-ports@freebsd.org Wed Apr 12 03:43:10 2017 Return-Path: Delivered-To: freebsd-ports@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 0BC99D378D4 for ; Wed, 12 Apr 2017 03:43:10 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F0C47389 for ; Wed, 12 Apr 2017 03:43:09 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F013DD378D3; Wed, 12 Apr 2017 03:43:09 +0000 (UTC) Delivered-To: ports@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 EE180D378D1 for ; Wed, 12 Apr 2017 03:43:09 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA8C9388 for ; Wed, 12 Apr 2017 03:43:09 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id F14047542; Wed, 12 Apr 2017 03:43:08 +0000 (UTC) Date: Wed, 12 Apr 2017 03:43:08 +0000 From: Alexey Dokuchaev To: ports@FreeBSD.org Subject: LLVM port(s) take very long time to package Message-ID: <20170412034308.GA56148@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 03:43:10 -0000 Hi there porters, It had been annoying me for a while, so I figured I try asking here: LLVM ports (particularly, llvm39-3.9.1) take abnormally long time to package, e.g. right now it took 43 minutes (tmpfs-backed build area, pkg-1.10.0_2.txz, AMD A8 APU @1900 MHz, plenty of RAM, no swap). pkg was eating 100% (of a single core) during that time, so it looks like it's actually busy (not waiting for I/O or something), but with what? And can it be fixed? LLVM ports are real PITA to (re)build, and while ccache helps to greatly reduce the build times, 3/4-hour package time still cripples it. ./danfe