9.2 -> 10.0 Compile error

Thomas Mueller mueller6724 at bellsouth.net
Fri Feb 28 10:48:16 UTC 2014

> You may find /usr/ports/UPDATING entry 20131217: interesting. I think the
> plan here is to have a period of semi-deprecation of some months then at
> some point the 4.1/4.2 ports will cease to exist.
> Since 10 is the point where Clang is now the default, as well as some other
> changes (unbind) I decided to do a fresh install from scratch so everything
> would be clean with no cruft left over from pre 10 days. I had hoped that the
> db41/db42 situation would just take care of itself automagically with the
> fresh 10 install, but it did not.

> In /usr/src/Makefile:
> [...]
> #  9.  `make delete-old'
> # 10.  `reboot'
> # 11.  `make delete-old-libs' (in case no 3rd party program uses them
> anymore)

> You should rebuild all ports *first* - prior to doing the 'make delete-old-
> libs' after a source based upgrade between major versions (9.x -> so.x)

> -Mike

"man portmaster", near the bottom of the page, suggests making a list of all ports, updating the ports tree and fetching all new distfiles, and then deleting all ports before rebuilding when updating all ports as is advised after a major version upgrade.

But 'make delete-old-libs', done too soon, could possibly pull needed libraries out from under portmaster and pkg.

I'm thinking of upgrading from 9.2-STABLE to 11-current, jumping over 10.


More information about the freebsd-questions mailing list