From owner-freebsd-ports@freebsd.org Sun Jan 22 17:06:04 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 83C92CBDBA2 for ; Sun, 22 Jan 2017 17:06:04 +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 2F8EF6DB for ; Sun, 22 Jan 2017 17:06:03 +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 v0MH1lGS077116 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 22 Jan 2017 17:01:47 GMT (envelope-from list1@gjunka.com) To: freebsd-ports@freebsd.org From: Grzegorz Junka Subject: Correct order when upgrading to 11.0 Release with Poudriere Message-ID: Date: Sun, 22 Jan 2017 17:01:47 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.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, 22 Jan 2017 17:06:04 -0000 Is there a canonical way of upgrading FreeBSD to a newer major version? The handbook https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html says: Major versions use different Application Binary Interfaces (ABIs), which will break most third-party applications. After a major version upgrade, all installed packages and ports need to be upgraded. So, it seems that I need to have the packages ready and compiled before attempting an upgrade of the base. However, poudriere says: [00:00:00] ====>> Warning: !!! Jail is newer than host. (Jail: 1100122, Host: 1003000) !!! [00:00:00] ====>> Warning: This is not supported. [00:00:00] ====>> Warning: Host kernel must be same or newer than jail. [00:00:00] ====>> Warning: Expect build failures. So, it seems that I need to upgrade the base first before being able to build packages. If I upgrade base and it breaks poudriere's ABI, I won't be able to build new packages. One workaround would be to install the official poudriere package and then attempt to rebuild all applications. In either case it seems that the system would be unusable between the time of upgrading the base and finishing compiling all packages and reinstalling them, which may take a day or so. Is there any other way? Grzegorz