[MacPorts] #59605: Port update/install yields invalid compiler errors - Using git method

MacPorts noreply at macports.org
Tue Nov 5 11:18:27 UTC 2019


#59605: Port update/install yields invalid compiler errors - Using git method
------------------------------+--------------------
 Reporter:  dlegaultbbry      |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.5.4
 Keywords:  invalid,compiler  |       Port:
------------------------------+--------------------
 I'm using the git repo method to handle ports since rsync is unavailable
 from within the network.

 I started getting these issues today after having tried to update my ports
 to latest.

 {{{
 $ sudo port -d sync
 DEBUG: Copying
 /Users/dlegault/Library/Preferences/com.apple.dt.Xcode.plist to
 /opt/local/var/macports/home/Library/Preferences
 --->  Updating the ports tree
 Synchronizing local ports tree from
 file:///opt/local/var/macports/sources/github.com/macports/macports-ports/
 DEBUG: euid/egid changed to: 1933780510/80, env: HOME=/Users/dlegault
 SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.R6vJrEBpzt/Listeners
 DEBUG: /opt/local/bin/git pull --rebase --autostash
 DEBUG: system -W /opt/local/var/macports/sources/github.com/macports
 /macports-ports: /opt/local/bin/git pull --rebase --autostash
 Current branch master is up to date.
 DEBUG: euid/egid restored to: 0/0, env restored
 DEBUG: system: /opt/local/bin/portindex
 /opt/local/var/macports/sources/github.com/macports/macports-ports
 Creating port index in /opt/local/var/macports/sources/github.com/macports
 /macports-ports
 Failed to parse file aqua/DesktopManager/Portfile: invalid command name
 "known_fail"
 Failed to parse file aqua/iTerm2/Portfile: invalid command name
 "use_xcode"
 Failed to parse file aqua/qt3-mac/Portfile: invalid command name
 "known_fail"
 Failed to parse file aqua/qt4-mac/Portfile: can't set
 "compiler.blacklist": invalid command name
 "compiler.command_line_tools_version"
 Failed to parse file aqua/qt5/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file aqua/qt511/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file aqua/qt53/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file aqua/qt55/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file aqua/qt56/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file aqua/qt57/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file aqua/qt58/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file aqua/qt59/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file audio/dsdcc/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file audio/faac/Portfile: can't set "compiler.blacklist":
 invalid command name "compiler.command_line_tools_version"
 Failed to parse file audio/libcdio-paranoia/Portfile: invalid command name
 "compiler.c_standard"
 Failed to parse file audio/lpcnetfreedv/Portfile: can't set
 "compiler.blacklist": invalid command name
 "compiler.command_line_tools_version"
 Failed to parse file audio/mpd/Portfile: invalid command name
 "compiler.cxx_standard"
 Failed to parse file audio/ncmpcpp/Portfile: can't set
 "compiler.blacklist": invalid command name
 "compiler.command_line_tools_version"
 ....


 $ sudo port -d install graphviz
 ....
 DEBUG: OS darwin/18.7.0 (Mac OS X 10.14) arch i386
 DEBUG: Sourcing PortGroup compiler_blacklist_versions 1.0 from
 /opt/local/var/macports/sources/github.com/macports/macports-
 ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/github.com/macports/macports-
 ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Sourcing PortGroup muniversal 1.0 from
 /opt/local/var/macports/sources/github.com/macports/macports-
 ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Sourcing PortGroup xcodeversion 1.0 from
 /opt/local/var/macports/sources/github.com/macports/macports-
 ports/_resources/port1.0/group/xcodeversion-1.0.tcl
 DEBUG: invalid command name "compiler.command_line_tools_version"
     while executing
 "compiler.command_line_tools_version ${compiler}"
     (procedure "compiler_blacklist_versions._set_compiler_blacklist" line
 12)
     invoked from within
 "$p $optionName set [set $optionName]"
     (procedure "option_proc_trace" line 7)
     invoked from within
 "option_proc_trace compiler.blacklist {} write"
     (write trace on "compiler.blacklist")
     invoked from within
 "set $option [concat [set $option] $args]"
     (procedure "handle_option-append" line 6)
     invoked from within
 "compiler.blacklist-append   {clang < 318.0.61}"
     (file "Portfile" line 52)
     invoked from within
 "source Portfile"
     invoked from within
 "$workername eval {source Portfile}"
     (procedure "mportopen" line 50)
     invoked from within
 "mportopen $dep_portinfo(porturl) $dep_options $variations"
     (procedure "mportdepends" line 126)
     invoked from within
 "mportdepends $depport {} $recurseDeps $skipSatisfied 1"
     (procedure "mportdepends" line 184)
     invoked from within
 "mportdepends $mport $target"
     (procedure "mportexec" line 56)
     invoked from within
 "mportexec $workername $target"
 Error: Unable to execute port: can't set "compiler.blacklist": invalid
 command name "compiler.command_line_tools_version"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59605>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list