#48811: minicom @2.7 Error: rev-upgrade failed: can't read "{os.platform}": no such variable -------------------------------------------------+------------------------- Reporter: bustamitenator@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: Yosemite OSX 10.10.5 os.platform | Version: 2.3.3 destroot | Port: minicom | @2.7 -------------------------------------------------+------------------------- I have recently installed macports to which i am a big fan. I have had no issues on my previous mac running MAC OSX Yosemite ( Macbook Pro mid 2011 ), i have just bought a new Macbook Pro mid 2015 Model Identifier:MacBookPro11,5 I installed xcode then command line tools as well as developer tools then Macports . Install was easy enough , i used the source download to install 1st time round.. i made sure my profile path was updated. '''My Profile :- '''\\ #!/usr/bin/bash \\ # MacPort \\ export PATH="/opt/local/bin:/opt/local/sbin:$PATH" \\ I also installed Quartz as i do use this a fair amount .. \\ OS = MAC OSX Yosemite 10.10.5 \\ Xcode = Xcode 7 Beta \\ Command line Tools = Command Line Tools OSX 10.10 for Xcode 7 beta 6 \\ Quartz = XQuartz-2.7.7 \\ MacPorts = MacPorts-2.3.3.tar.bz2 \\ I then tried to install minicom @2.7 & i got this output from my screen :- Jimbo:base 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:base Jimbo$ sudo port rev-upgrade \\ ---> 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. \\ '''This is from the log file :-''' \\ version:1 \\ :msg:clean ---> Computing dependencies for pkgconfig:msg:clean \\ :debug:clean pkgconfig has no conflicts \\ :debug:clean Searching for dependency: libiconv \\ :debug:clean Found Dependency: receipt exists for libiconv \\ :debug:main Executing org.macports.main (pkgconfig) \\ :debug:main changing euid/egid - current euid: 0 - current egid: 0 \\ :debug:main egid changed to: 501 \\ :debug:main euid changed to: 502 \\ :debug:main Skipping completed org.macports.archivefetch (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:main Skipping completed org.macports.fetch (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:main Skipping completed org.macports.checksum (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:main Skipping completed org.macports.extract (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:main Skipping completed org.macports.patch (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:main Skipping completed org.macports.configure (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:main Skipping completed org.macports.build (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:main Skipping completed org.macports.destroot (pkgconfig) \\ :debug:main Privilege de-escalation not attempted as not running as root. \\ :debug:install install phase started at Tue Sep 8 14:45:38 BST 2015 \\ :notice:install ---> Installing pkgconfig @0.28_0 \\ :debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root. \\ :debug:install euid changed to: 0. egid changed to: 0. \\ :debug:install Executing org.macports.install (pkgconfig) \\ :debug:install Using /usr/bin/tar \\ :debug:install Using /usr/bin/bzip2 \\ :error:install org.macports.install for port pkgconfig returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_pkgconfig/pkgconfig/work/destroot \\ :debug:install Error code: NONE \\ :debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_pkgconfig/pkgconfig/work/destroot \\ while executing \\ "create_archive $location $portarchivetype" \\ (procedure "portinstall::install_main" line 22) \\ invoked from within \\ "portinstall::install_main org.macports.install" \\ ("eval" body line 1) \\ invoked from within \\ "eval $procedure $targetname" \\ :info:install Warning: targets not executed for pkgconfig: org.macports.activate org.macports.install \\ :notice:install Please see the log file for port pkgconfig for details: \\ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_pkgconfig/pkgconfig/main.log \\ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_pkgconfig/pkgconfig/main.log (END) \\ I have looked around on your ticket system for other similar issues but cannot seem to narrow any of them down to a particular remedy. \\ I am hoping this is an easy enough one for you to remedy & point me in the right direction... \\ Thanks in advance \\ Regards \\ Jimbo :) \\ -- Ticket URL: <https://trac.macports.org/ticket/48811> MacPorts <https://www.macports.org/> Ports system for OS X