[MacPorts] #49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable -------------------------+-------------------------------- Reporter: rioyokota@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: -------------------------+-------------------------------- On MacBook Air (13-inch, Early 2015), OS X 10.10.5, Xcode 7.1 After doing "sudo port selfupdate" today "sudo port upgrade outdated" returns the error "Error: Unable to open port: can't read "mpi.default": no such variable". A quick Google search did not bring up anything useful. -- Ticket URL: <https://trac.macports.org/ticket/49669> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+-------------------------------- Reporter: rioyokota@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ryandesign@…): Please attach the main.log file and/or indicate which port is exhibiting this problem. -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+-------------------------------- Reporter: rioyokota@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by rioyokota@…): This is not for a specific port so there is no main.log file that I can attach. The error occurs when I do "sudo port upgrade outdated". -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+-------------------------------- Reporter: rioyokota@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by rlhamil@…): Same thing just happened to me - it must be some change picked up with the "port selfupdate" that caused this. -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------+------------------------ Changes (by sean@…): * owner: macports-tickets@… => dstrubbe@… Comment: It almost certainly caused by dstrubbe's change r142438. -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | --------------------------+------------------------ Comment (by marko.budinich@…): Same error when migrating from Yosemite to El Capitan, using restore_ports script and also when trying to install boost port manually. can't read "mpi.default": no such variable while executing "if {${mpi.default} && ![mpi_variant_isset]} { default_variants-append +mpich }" (procedure "mpi.setup" line 87) invoked from within "mpi.setup -gcc -dragonegg" (file "Portfile" line 90) invoked from within "source Portfile" invoked from within "$workername eval source Portfile" (procedure "mportopen" line 41) invoked from within "mportopen $portInfo(porturl) [list subport $portInfo(name)] $variantInfo" Unable to open port 'boost': can't read "mpi.default": no such variable while executing "dependenciesForPort $name $variants" (procedure "sort_ports" line 46) invoked from within "sort_ports $portList" invoked from within "set operationList [sort_ports $portList]" (file "./restore_ports.tcl" line 285) -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: | --------------------------+------------------------ Changes (by ryandesign@…): * status: new => closed * cc: mwolfram@…, ryandesign@… (added) * resolution: => fixed * keywords: => haspatch Comment: Thanks for the patch. Looks good to me. Committed in r142448. -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: | --------------------------+------------------------ Comment (by dstrubbe@…): Hi all, sorry about that. I built various ports using MPI in testing before committing this though, so I am confused why it worked for me without that part added in 'global' -- anyone have a thought on that? -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: | --------------------------+------------------------ Comment (by cray@…): Replying to [comment:11 dstrubbe@…]:
Hi all, sorry about that. I built various ports using MPI in testing before committing this though, so I am confused why it worked for me without that part added in 'global' -- anyone have a thought on that?
Thanks for the quick fix! -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: | --------------------------+------------------------ Comment (by hosamani@…): Hey all, First time reporter here, please bear with me. My issue is identical to the OP. I see you guys have promptly released a patch to fix it fast. However being a novice, I am having trouble using the patch fix the issue. I have read the "how to" section and the 4.5 in the Macport guide. But unfortunately none of them speak about this scenario! Both those resources about fixing a specific port. Since this is not a port that is damaged here, could someone tell me how would I go about using the patch to fix the issue. Thank you -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: | --------------------------+------------------------ Comment (by dstrubbe@…): Just do {{{ sudo port selfupdate sudo port upgrade outdated }}} There's nothing you have to do with the patch, that is something that was committed to the repository, and there are no "releases" per se; the ports repository is continually updated. -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: | --------------------------+------------------------ Comment (by hosamani@…): OK. Thank you. I realize my folly now. I was trying to upgrade the ports without updating the port tree once again after encountering the error. Looks like its all fixed now. Thank you -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#49669: port upgrade outdated @ MacPorts 2.3.4 Error: Unable to open port: can't read "mpi.default": no such variable --------------------------+------------------------ Reporter: rioyokota@… | Owner: dstrubbe@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: | --------------------------+------------------------ Comment (by marko.budinich@…): Thanks for the quick fix!! -- Ticket URL: <https://trac.macports.org/ticket/49669#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts