Opened 5 years ago
Closed 5 years ago
#59605 closed defect (invalid)
Port update/install yields invalid compiler errors - Using git method
Reported by: | dlegaultbbry (David Legault) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.5.4 |
Keywords: | Cc: | jmroot (Joshua Root) | |
Port: |
Description
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"
Change History (6)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
Component: | ports → base |
---|---|
Keywords: | invalid compiler removed |
comment:2 follow-up: 3 Changed 5 years ago by kencu (Ken)
comment:3 Changed 5 years ago by dlegaultbbry (David Legault)
Replying to kencu:
please give the output of
port -v
.Looks like your base is way out of date...
port -v MacPorts 2.5.4 Entering shell mode... ("help" for help, "quit" to quit)
I'd be more than happy to update it but the sync doesn't work!
comment:4 Changed 5 years ago by jmroot (Joshua Root)
Cc: | jmroot added |
---|
Are you saying that port selfupdate
doesn't work? If so, please show the output of sudo port -d selfupdate
.
The current portfiles are simply not compatible with old versions of MacPorts base.
comment:5 Changed 5 years ago by dlegaultbbry (David Legault)
As I said in my opening statement, I can't use the RSYNC method as the port is disable within the company network. I'm forced to use the GIT method for port updates (port -d sync).
comment:6 Changed 5 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Then you need to update base by either installing the .pkg for the current version or building from source.
please give the output of
port -v
.Looks like your base is way out of date...