From owner-freebsd-ports@freebsd.org Sun Jan 29 17:18:01 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 D3FC4CC785B for ; Sun, 29 Jan 2017 17:18:01 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [185.24.122.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 83A2F96D for ; Sun, 29 Jan 2017 17:18:00 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id v0THHwNR097510 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 29 Jan 2017 17:17:59 GMT (envelope-from list1@gjunka.com) To: freebsd-ports@freebsd.org From: Grzegorz Junka Subject: poudriere and CPUTYPE Message-ID: <9df9eff0-aae9-18b8-641f-2f5209faad79@gjunka.com> Date: Sun, 29 Jan 2017 17:17:58 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 29 Jan 2017 17:18:01 -0000 When building packages for a different machine it's possible to specify CPU target, e.g.: CPUTYPE?=core2 However, when building packages that depend on other packages poudriere will install the already build dependencies in order to build the new packages. That will fail if the CPU on the build machine doesn't execute instructions specified in the CPUTYPE for the target machine. For example, on amdfam10 build machine pkg build for core2 fails to install and as a result none of the packages can be build since pkg is required to install any dependency. How this CPUTYPE should be used then when building for different machines? Bhyve?