[MacPorts] #40502: port install expat fails on OS X 10.9
#40502: port install expat fails on OS X 10.9 -------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.2.0 Keywords: | Port: -------------------------------+-------------------------------- I'm trying to install RVM on Maverick using the pre-release of Xcode - command line tools installed. Specifics on the system are:[[BR]] {{{ OS X Version 10.9 Build 13AS24d Xcode 5.0 Build 5A11386k Apple LLVM version 5.0 (clang-500.1.74) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix }}} The problem occurs when trying to install a dependencie, expat. I've installed a fresh version of MacPort2.2.0 from source on my system which I then run via sudo. Screen output is: '''128 > sudo port'''[[BR]] ''Password:''[[BR]] ''MacPorts 2.2.0''[[BR]] ''Entering interactive mode... ("help" for help, "quit" to quit)''[[BR]] '''[Users/richardlloyd] >''' ''install expat''[[BR]] ''invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?"''[[BR]] ''Please see the log file for port expat for details:''[[BR]] '' /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log''[[BR]] ''To report a bug, follow the instructions in the guide:''[[BR]] http://guide.macports.org/#project.tickets[[BR]] ''Error: Processing of port expat failed''[[BR]] '''[Users/richardlloyd] >'''[[BR]] I'm attaching the expat logfile mentioned above. I understand the caveats re mac developer / non-disclosure / limited- availability. I hit this problem while trying to install rvm in order to limp past the dreaded certificate verify failed (OpenSSL::SSL::SSLError) bug. Any guidance would be appreciated. Most surely bleeding edge technology here... -- Ticket URL: <https://trac.macports.org/ticket/40502> MacPorts <http://www.macports.org/> Ports system for OS X
#40502: invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" --------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: mavericks Port: | --------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => mavericks * component: ports => base Old description:
I'm trying to install RVM on Maverick using the pre-release of Xcode - command line tools installed. Specifics on the system are:[[BR]] {{{ OS X Version 10.9 Build 13AS24d
Xcode 5.0 Build 5A11386k
Apple LLVM version 5.0 (clang-500.1.74) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix }}} The problem occurs when trying to install a dependencie, expat. I've installed a fresh version of MacPort2.2.0 from source on my system which I then run via sudo.
Screen output is:
'''128 > sudo port'''[[BR]] ''Password:''[[BR]] ''MacPorts 2.2.0''[[BR]] ''Entering interactive mode... ("help" for help, "quit" to quit)''[[BR]]
'''[Users/richardlloyd] >''' ''install expat''[[BR]]
''invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?"''[[BR]]
''Please see the log file for port expat for details:''[[BR]] '' /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log''[[BR]]
''To report a bug, follow the instructions in the guide:''[[BR]] http://guide.macports.org/#project.tickets[[BR]] ''Error: Processing of port expat failed''[[BR]]
'''[Users/richardlloyd] >'''[[BR]]
I'm attaching the expat logfile mentioned above.
I understand the caveats re mac developer / non-disclosure / limited- availability. I hit this problem while trying to install rvm in order to limp past the dreaded certificate verify failed (OpenSSL::SSL::SSLError) bug. Any guidance would be appreciated. Most surely bleeding edge technology here...
New description: I'm trying to install RVM on Maverick using the pre-release of Xcode - command line tools installed. Specifics on the system are: {{{ OS X Version 10.9 Build 13AS24d Xcode 5.0 Build 5A11386k Apple LLVM version 5.0 (clang-500.1.74) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix }}} The problem occurs when trying to install a dependencie, expat. I've installed a fresh version of MacPort2.2.0 from source on my system which I then run via sudo. Screen output is: {{{ 128 > sudo port Password: MacPorts 2.2.0 Entering interactive mode... ("help" for help, "quit" to quit) [Users/richardlloyd] > install expat invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" Please see the log file for port expat for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port expat failed [Users/richardlloyd] > }}} I'm attaching the expat logfile mentioned above. I understand the caveats re mac developer / non-disclosure / limited- availability. I hit this problem while trying to install rvm in order to limp past the dreaded certificate verify failed (OpenSSL::SSL::SSLError) bug. Any guidance would be appreciated. Most surely bleeding edge technology here... -- -- Ticket URL: <https://trac.macports.org/ticket/40502#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40502: invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" --------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: mavericks Port: | --------------------------------+-------------------------------- Comment (by ralph@…): I have just tried a source install of macports, using the release version of Mavericks, which went fine, but then when I tried sudo port upgrade outdated I too got invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body? Note: Ihave ActiveTCL 8.6.1 installed, and macports tcl8.6 -- Ticket URL: <https://trac.macports.org/ticket/40502#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40502: invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" --------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: mavericks Port: | --------------------------------+-------------------------------- Comment (by ralph@…): Hmm. This even happens with a clean source install of macports with NO existing /opt directory. -- Ticket URL: <https://trac.macports.org/ticket/40502#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40502: invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" --------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: mavericks Port: | --------------------------------+-------------------------------- Changes (by snc@…): * cc: snc@… (added) Comment: This is because of Tcl 8.6. -- Ticket URL: <https://trac.macports.org/ticket/40502#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40502: invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" --------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.2.0 Resolution: | Keywords: mavericks Port: | --------------------------------+-------------------------------- Comment (by cal@…): Try cleaning up your `$PATH` before installing MacPorts from source: `PATH=/usr/bin:/usr/sbin:/bin:/sbin ./configure && make && sudo make install`. If that still causes the same problem you probably modified your `/usr/bin/tclsh` to point to 8.6 – which you should just not do. -- Ticket URL: <https://trac.macports.org/ticket/40502#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40502: invalid syntax: should be "try body ?catch {type-list ?ecvar? ?msgvar? ?infovar?} body ...? ?finally body?" --------------------------------+-------------------------------- Reporter: richard.t.lloyd@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.0 Resolution: invalid | Keywords: Port: | --------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ralph@…, ryandesign@… (added) * keywords: mavericks => * status: new => closed * resolution: => invalid * milestone: MacPorts Future => Comment: I'm going to assume this problem was caused by the user replacing /usr/bin/tclsh with version 8.6 or later, as Cal mentioned above, which is not going to work with today's MacPorts. /usr/bin/tclsh should be restored to the version provided by Apple in OS X. MacPorts 2.3.0 will include its own copy of tcl 8.5 and use it exclusively, which will eliminate any problems caused by nonstandard system versions of tcl. In the future, we will update the included copy to 8.6, when we have time to rewrite the parts of MacPorts that are currently incompatible with tcl 8.6. -- Ticket URL: <https://trac.macports.org/ticket/40502#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts