restore_ports.tcl failure
Chris Jones
jonesc at hep.phy.cam.ac.uk
Fri Dec 18 16:46:57 UTC 2020
Have you checked to see if the ports you are trying to restore are available for arm64 ? Its highly likely that either some are just not available at this time, or if they are they might require different variants to that you previously used. I am not surprised just blindly running the restore script, in this case, might be problematic.
Did you save the list of requested ports, as per the migration instructions ? If so I strongly suggest you try looking at this list, and then manually installing the ports you still want installed. If you run into problems, check trac for specific tickets for whatever issue you run into, and if there are none open one for it.
Chris
> On 18 Dec 2020, at 4:26 pm, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
> I’m trying to migrate my ports, originally installed under Catalina (actually, migrated from my iMac running Catalina), to Big Sur 11.1 on an M1 MacBook Air. When I got to the step
>
> sudo ./restore_ports.tcl myports.txt
>
> I get the following error message:
>
> list element in braces followed by "#!/bin/sh" instead of space
> while executing
> "foreach op $operationList {
> set name [string trim [lindex $op 0]]
> set variations [lindex $op 1]
> set active [lindex $op 2]
>
> ..."
> (procedure "install_ports" line 2)
> invoked from within
> "install_ports $operationList#!/bin/sh”
> (file "./restore_ports.tcl" line 287)
>
> This is using the default (zsh) shell in Terminal.
>
> The offending line in the script is:
>
> install_ports $operationList#!bin/sh
>
> What’s wrong?
> ---
> Murray Eisenberg murrayeisenberg at gmail.com
> 503 King Farm Blvd #101
> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20201218/1f9096b6/attachment.htm>
More information about the macports-users
mailing list