rev-upgrade question

Rainer Müller raimue at macports.org
Tue Nov 1 11:57:39 PDT 2016


On 2016-11-01 19:50, Clemens Lang wrote:
> On Tue, Nov 01, 2016 at 07:09:48PM +0100, Marko Käning wrote:
>> how can I convince rev-upgrade to actually rebuild broken ports if
>> 'revupgrade_mode' is set to ‘report' in macports.conf? 
> 
> You can specifically rebuild them manually using port -nf upgrade $port.

Never use the global force option -f with upgrade, but instead:

  sudo port -n upgrade --force $port

The local --force was specifically added to only force the upgrade, but
do not apply force to any other phase. In case of variant mismatches,
the global 'port -f' will continue although the state in the work/
directory is inconsistent. In case of activation conflicts, the global
'port -f' will blindly overwrite existing files.

Rainer


More information about the macports-dev mailing list