Date: Sun, 22 Jan 2017 18:24:27 +0000 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-ports@freebsd.org Cc: Kurt Jaeger <lists@opsec.eu> Subject: Re: Correct order when upgrading to 11.0 Release with Poudriere Message-ID: <c605be08-8662-e8e7-8a34-532cf6ecce1c@gjunka.com> In-Reply-To: <20170122173004.GP13006@home.opsec.eu> References: <bafd825b-8c0b-9ab0-d058-d76189deeb09@gjunka.com> <20170122173004.GP13006@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22/01/2017 17:30, Kurt Jaeger wrote: > Hi! > >> Is there a canonical way of upgrading FreeBSD to a newer major version? > Normally, FreeBSD major-version X+1 will support binaries > for major-version X. > >> So, it seems that I need to upgrade the base first before being able to >> build packages. > Yes. > >> If I upgrade base and it breaks poudriere's ABI, I won't be able to >> build new packages. > For what it's worth, I assume that the base upgrade does not break > the ABI. > >> 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? > I use a reference host to build and test ports and upgrades. Maybe > you have some spare hardware, too ? > I do have some spare hardware and I can also create a VM as suggested in the other post. Both options, however, require a separate FreeBSD/poudriere setup just for the major upgrade, which is happening quite rarely (1-2 years). And the setup itself would probably take most of that day, which would be otherwise taken by building new packages on an upgraded system. So probably not worth the effort. Thanks for the suggestion anyways. For now I am building on 11.0 jails using 10.3 host. There are some build failures but most packages build fine. I assume that if the build didn't fail then there shouldn't be any differences in the resulting binary and I can just install such packages as if they were built using 10.3 host. Once the build finishes I will upgrade the base to 11.0 and compile the remaining packages which failed when the host was 10.3. Hopefully should take less time than first upgrading and then rebuilding all packages. Grzegorz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c605be08-8662-e8e7-8a34-532cf6ecce1c>