From owner-freebsd-ports@freebsd.org Sun Jan 22 17:32:53 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 91B88CBB8B5 for ; Sun, 22 Jan 2017 17:32:53 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C4709E for ; Sun, 22 Jan 2017 17:32:53 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x229.google.com with SMTP id w75so123254064ywg.1 for ; Sun, 22 Jan 2017 09:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SW45hTZfEAIAFhY2mClJ8xcD8WbyNjUMMhRQyZDJb34=; b=nP+mkcwhW/LTccJ/nFPaiOTfnrIeHTnmm0M1LkPNbBpwYEadNWle2XhloDRy1fnf7M 76MzMj2Ipf+31nTgjqO4yZe7SWKrZWdJTEL+psNnHVn8jO00W2CPQvp5InKdcBgsSPDu vh/DkbY9hstW9Qwbzb5SNpNSMFr62panXlB7lZd8qsZtvjRnWseWwJlHcVMemN2q+ytp Ikcj5KY0USzevBJoTNIOGfHfz7CH2RUxKEjrkGsuwsTEjeATl15Tl6xVDR1T0tAdVe0n 0tHRfGqO7eNyFTicarQv18KlLm5KVolbv7ZK3NZlPlOeawDTqcqy+A4Vyep9RuDH+vvy rmVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SW45hTZfEAIAFhY2mClJ8xcD8WbyNjUMMhRQyZDJb34=; b=bB74myaCjGKSVK+JLPZWleu5hzNc6QYHIblRjJcnzODHq+FjahfIwDEYG77Er0/Uql 81gv5akNytWIgKR6toYChwepw+h3ImdWJxbM19imDRm0kR/BOQHDp1v8C6tJmCdrQVNR Mc+xxyXKYOGk6vEk+QBAY+QGBL8jV/njlVRyscyGC/NSbpdZfhEtfk9/raztQzOKOcTB t5/vVknkzVRDng3m/haK6j55ljsgLgLwuwWvCBuNCyvMeQn6RAv091DoV3Uom3GxXDhd /BETYLY7DOzK40AjJ8RIUST8AAsprCUUXG5eyjj1W5SZ/Jng7wviSjVzPvOWypbxTUZi Fnnw== X-Gm-Message-State: AIkVDXLKqrKhQCgNG9jIlfsRjppqqEbH6Q3Bl8hAUSvUxOufrGGjwTJ5tU5AKnxo769CiCdqtfBEt3yVBZKH9A== X-Received: by 10.129.157.212 with SMTP id u203mr22048310ywg.322.1485106372576; Sun, 22 Jan 2017 09:32:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.52.65 with HTTP; Sun, 22 Jan 2017 09:32:52 -0800 (PST) In-Reply-To: References: From: Ultima Date: Sun, 22 Jan 2017 12:32:52 -0500 Message-ID: Subject: Re: Correct order when upgrading to 11.0 Release with Poudriere To: Grzegorz Junka Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:32:53 -0000 This is more or less how it is if you have custom options for ports. It is best to have a second machine for poudriere building if you're looking for no downtime. I suppose another alternative could be running a virtual machine, bhyve/virtualbox and building the packages moving them over to host before the upgrade but that seems a bit tedious. On Sun, Jan 22, 2017 at 12:01 PM, Grzegorz Junka wrote: > Is there a canonical way of upgrading FreeBSD to a newer major version? > > The handbook https://www.freebsd.org/doc/handbook/updating-upgrading-free > bsdupdate.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 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >