Re: FreeBSD Upgrade: Ports That Need Rebuilding



On Thu, Apr 16, 2009 at 12:17:08PM +0200, Mel Flynn wrote:
On Thursday 16 April 2009 07:15:05 Roland Smith wrote:
On Thu, Apr 16, 2009 at 12:49:43AM +0400, Eugene L. wrote:
I am planning to update to CURRENT, been reading freebsd-current for
some time, apparently some ports require rebuilding as they are kernel
specific, like hal, so I wonder how to rebuild those ports automatically?

If you switch to another major version of FreeBSD, the best course is to
remove and reinstall all ports.

All ports depending on libc. Which is everything except
scripts. Removal isn't necessary. ports-mgmt/portmaster is one of
those scripts that doesn't need recompilation and can be used to force
recompilation of all ports that need it. Two for one deal.

Unfortunately, no port management tool deals completely with this
situation. The libc version isn't listed as a dependency, AFAIK.

I tend to make a list of all installed ports (with portmaster -L), wipe
all ports and remove any remains from /usr/local. Then reinstall all
ports listed as 'root ports' and 'leaf ports' in said list. This makes
sure you have a clean and consistent set of ports.

Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpBgnv9cKVT5.pgp
Description: PGP signature



Relevant Pages

  • Re: portmaster -R (Was: Re: HEADS-UP: Shared Library Versions bumped...)
    ... Since my machine has spent the last 48hrs or so rebuilding everything ... other ports to refer to the new version' would be a good solution here. ... reinstall a few ports low in the dependency chain and then rebuild ... both pkgs before the upgrade, sorting it into dependency order, and ...
    (freebsd-stable)
  • Re: FreeBSD 5.3-BETA7 available
    ... about half the installed ports needed rebuilding. ... >> wrote a Python script that lists these ports, you can use it if you ... library version bumped beta7 or not...a friend of mine updated to beta7... ...
    (freebsd-current)
  • Re: libpthread shared library version number
    ... I don't think it will work correctly without rebuilding world ... As an interim solution for testing symbol versioning ... I swapped a few e-mails with Maxime Henrion, but the gist of things was that after enabling symbol versioning, I immediately rebuilt everything -- world, ports, kernel. ... The random crashes I experienced were most apparent with two applications, csup and games/uqm from ports. ...
    (freebsd-current)
  • Re: libpthread shared library version number
    ... I don't think it will work correctly without rebuilding world ... As an interim solution for testing symbol versioning ... I swapped a few e-mails with Maxime Henrion, but the gist of things was that after enabling symbol versioning, I immediately rebuilt everything -- world, ports, kernel. ... Xorg would also crash every now and then... ...
    (freebsd-current)
  • Re: port upgrade problem: libncurses.so.5.6 not found
    ... I was rebuilding all my ports due to an error in my library. ... deinstall; make reinstall). ...
    (freebsd-questions)