ui_prefix error in restore

Joshua Root jmr at macports.org
Wed Jun 10 21:40:06 UTC 2026


On 11/6/2026 05:29, Mark E Anderson wrote:
> I'm getting an error in restore.tcl on HEAD in main on this line (to start):
> https://github.com/macports/macports-base/ 
> blob/445c7954c6467a9fe9a79ad3d044d05d0518e838/src/macports1.0/ 
> restore.tcl#L411 <https://github.com/macports/macports-base/ 
> blob/445c7954c6467a9fe9a79ad3d044d05d0518e838/src/macports1.0/ 
> restore.tcl#L411>
> 
> If I replace it with $::macports::ui_prefix it works fine. I'm not sure 
> why it's not reaching out to the namespace variable we set in main right 
> above it. Has anyone else seen this, or am I doing something strange.
The namespace variable was never set since it wasn't declared as a 
namespace variable in restore::main. Try with the latest commit.

- Josh


More information about the macports-dev mailing list