How identify and remove leftover files on buildbots?

Marko Käning MK-MacPorts at techno.ms
Sun Nov 2 04:31:00 PST 2014


Hi Ryan,

thanks for your very helpful hints!

On 02 Nov 2014, at 13:20 , Ryan Schmidt <ryandesign at macports.org> wrote:
> Try uninstalling R before trying again. When activating, it may be using the pre-activate block in the portfile that was current at the time the archive was built, rather than the pre-activate block in the latest version of the portfile.

Hmmm, as I need to perform this trick on all buildbots, so I am not sure whether this is the right approach. The buildbots would only deactivate and not uninstall themselves either, right?!


> Try running port with the debug (-d) flag.
> 
> Try using ui_info or ui_debug instead of ui_warn.

OK, will do so.


> Look at the value you're setting filepath to. You're prepending ${prefix} though it should already begin with ${prefix}, so now you've got a double prefix.

Oh, Jesus, yes, will do.


> Don't hardcode /Library/Frameworks; use ${frameworks_dir} (unless the port previously used a hardcoded /Library/Frameworks when installing these files).

OK, will do.


Greets,
Marko


More information about the macports-dev mailing list