[MacPorts] #48811: minicom @2.7 Error: rev-upgrade failed: can't read "{os.platform}": no such variable
MacPorts
noreply at macports.org
Fri Sep 18 05:47:51 PDT 2015
#48811: minicom @2.7 Error: rev-upgrade failed: can't read "{os.platform}": no such
variable
-------------------------------+--------------------------
Reporter: bustamitenator@… | Owner: ryandesign@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: fixed | Keywords:
Port: minicom |
-------------------------------+--------------------------
Comment (by bustamitenator@…):
Good Afternoon Ryandesign :)
Thankyou for the feedback , I thought I had responded to the previous
comment but obviously I failed, here is the response I posted last time.
I did wonder why it was taking a little while to get a response :) my
previous post below :-
I think i have understood what you have said , I did run the port clean as
per pre-requisites for ticket & have done what you have asked as follows
:-
I did not manage to get around to having a go at this util late last night
so I ran the sudo port clean pkgconfig & it was the instruction after i
was not certain of, i was not sure if you meant to sudo port install
pkgconfig or minicom after waiting , so i ran the sudo port install
minicom again & still no go.
I ran the sudo port clean --all minicom & sudo port clean --all pkgconfig
just to make sure all were cleared & then ran the sudo port selfupdate
command as suggested , this went fine.. I then ran the sudo port upgrade
outdated & this kicked back some errors..
I then ignored those as i do not have any ports installed & then tried to
re-install pkgconfig & minicom again but this time all i get is unable to
read os.platform.
This is the total output from my screen ( including mistakes - no holds
barred ;)
Last login: Wed Sep 9 11:19:10 on ttys002
Jimbo:~ Jimbo$ sudo port clean pkgconfig
Password:
---> Cleaning pkgconfig
Jimbo:~ Jimbo$ sudo port install minicom
---> Computing dependencies for minicom
---> Cleaning minicom
---> Scanning binaries for linking errors
---> Found 3 broken files, matching files to ports
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: minicom @2.7
Continue? [Y/n]: Y
Error: rev-upgrade failed: can't read "{os.platform}": no such variable
Error: Follow http://guide.macports.org/#project.tickets to report a bug.
Jimbo:~ Jimbo$ sudo port clean --all minicom
---> Cleaning minicom
Jimbo:~ Jimbo$ sudo port clean --all pkgconfig
---> Cleaning pkgconfig
Jimbo:~ Jimbo$ sudo port selfupdate
---> Updating MacPorts base sources using rsync
MacPorts base version 2.3.99 installed,
MacPorts base version 2.3.3 downloaded.
---> Updating the ports tree
---> MacPorts base is probably trunk or a release candidate
The ports tree has been updated. To upgrade your installed ports, you
should run
port upgrade outdated
Jimbo:~ Jimbo$ sudo port upgrade outdated
can't read "{os.platform}": no such variable
while executing
"set {{os.platform}}"
invoked from within
"$workername eval [list set $key]"
(procedure "_mportkey" line 3)
invoked from within
"_mportkey $mport {{os.platform}}"
(procedure "macports::_upgrade" line 287)
invoked from within
"macports::_upgrade $d $dspec $variationslist [array get options]
depscache"
(procedure "_upgrade_dependencies" line 37)
invoked from within
"_upgrade_dependencies portinfo depscache variationslist options"
(procedure "macports::_upgrade" line 78)
invoked from within
"macports::_upgrade $d $dspec $variationslist [array get options]
depscache"
(procedure "_upgrade_dependencies" line 37)
invoked from within
"_upgrade_dependencies portinfo depscache variationslist options [expr
{$will_build && $already_installed}]"
(procedure "macports::_upgrade" line 325)
invoked from within
"macports::_upgrade $portname $dspec $variationslist $optionslist
depscache"
(procedure "macports::upgrade" line 20)
invoked from within
"macports::upgrade $portname "port:$portname" [array get
requested_variations] [array get options] depscache"
("uplevel" body line 3)
invoked from within
"uplevel 1 $block"
(procedure "foreachport" line 20)
invoked from within
"foreachport $portlist {
if {![info exists depscache(port:$portname)]} {
set status [macports::upgrade $portname "port:$portname" [..."
(procedure "action_upgrade" line 9)
invoked from within
"$action_proc $action $portlist [array get global_options]"
(procedure "process_cmd" line 103)
invoked from within
"process_cmd $remaining_args"
invoked from within
"if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 5610)
Jimbo:~ Jimbo$ sudp port install pkgconfigg
-bash: sudp: command not found
Jimbo:~ Jimbo$ sudo port install pkgconfig
Password:
Error: Unable to execute port: can't read "{os.platform}": no such
variable
Jimbo:~ Jimbo$ sudo port clean --all pkgconfig
---> Cleaning pkgconfig
Jimbo:~ Jimbo$ sudo port install minicom
Password:
Error: Unable to execute port: can't read "{os.platform}": no such
variable
Jimbo:~ Jimbo$
Sorry to be the pain here but i have no issue about posting as much info
as possible & including if you wanted a remote session to this device..
Look forward to hearing back from you..
Rgds
Jimbo :)
--
Ticket URL: <https://trac.macports.org/ticket/48811#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list