ui_prefix error in restore

Mark E Anderson mark at macports.org
Wed Jun 10 19:29:28 UTC 2026


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

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.

I'll open a ticket soon, provided no one tells me I'm being an idiot.

—Mark
Macports Wiki Page <https://trac.macports.org/wiki/mark> | GitHub <https://github.com/markemer> | Blog <https://emer.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20260610/d8d672dc/attachment.htm>


More information about the macports-dev mailing list