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
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to