[MacPorts] #41017: ruby19 +mactk on Mavericks broken
#41017: ruby19 +mactk on Mavericks broken ---------------------------------+-------------------------------- Reporter: craignied@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: ruby, tk, Mavericks | Port: ruby19 ---------------------------------+-------------------------------- On Mavericks: sudo port install ruby19 +mactk The above installs fine. Then, when trying to run a Ruby script, foot.rb as an example, with tk required/used: {{{ /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError) from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require' from /Users/craign/bin/foot.rb:6:in `<main>' }}} -- Ticket URL: <https://trac.macports.org/ticket/41017> MacPorts <http://www.macports.org/> Ports system for OS X
#41017: ruby19 +mactk on Mavericks broken --------------------------+----------------------- Reporter: craignied@… | Owner: kimuraw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: ruby19 | --------------------------+----------------------- Changes (by ryandesign@…): * keywords: ruby, tk, Mavericks => mavericks * owner: macports-tickets@… => kimuraw@… Old description:
On Mavericks:
sudo port install ruby19 +mactk
The above installs fine.
Then, when trying to run a Ruby script, foot.rb as an example, with tk required/used:
{{{ /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError) from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require' from /Users/craign/bin/foot.rb:6:in `<main>' }}}
New description: On Mavericks: {{{ sudo port install ruby19 +mactk }}} The above installs fine. Then, when trying to run a Ruby script, foot.rb as an example, with tk required/used: {{{ /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError) from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require' from /Users/craign/bin/foot.rb:6:in `<main>' }}} -- -- Ticket URL: <https://trac.macports.org/ticket/41017#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41017: ruby19 +mactk on Mavericks broken --------------------------+----------------------- Reporter: craignied@… | Owner: kimuraw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ruby19 | --------------------------+----------------------- Changes (by kimuraw@…): * keywords: mavericks => * status: new => assigned Comment: I cannot reproduce your problem. I installed ruby19 +mactk into Mavericks and ran tk samples without error. tell me result of the following commands. {{{ % uname -r 13.0.0 # => (1) 10.9 Mavericks % port installed ruby19 The following ports are currently installed: ruby19 @1.9.3-p448_1+doc ruby19 @1.9.3-p448_1+doc+mactk (active) # => (2) +mactk activated % port contents ruby19 | egrep 'tcltklib.bundle|tkutil.bundle' /opt/local/lib/ruby1.9/1.9.1/x86_64-darwin13/tcltklib.bundle /opt/local/lib/ruby1.9/1.9.1/x86_64-darwin13/tkutil.bundle # => (3) ruby19 +mactk contains tk modules % ruby1.9 -rtk -e '' # => (4) require 'tk' succeed % }}} -- Ticket URL: <https://trac.macports.org/ticket/41017#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41017: ruby19 +mactk on Mavericks broken --------------------------+----------------------- Reporter: craignied@… | Owner: kimuraw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ruby19 | --------------------------+----------------------- Comment (by craignied@…): Thanks: I'm a bit gun shy after having had to do a full restore last night to get functionality back. I had cleaned out all of the ports and was reinstalling ruby-tk from a clean ports install, which may not have been the best strategy. With my restored system, I've selfupdated and now I'm upgrade outdated everything so that I have functionality while I'm waiting for Maverick fixes to catch up. Right now, it's hanging on llvm-gcc42, which I'm guessing already has a ticket. If not, I'll start one :) -- Ticket URL: <https://trac.macports.org/ticket/41017#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41017: ruby19 +mactk on Mavericks broken --------------------------+----------------------- Reporter: craignied@… | Owner: kimuraw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ruby19 | --------------------------+----------------------- Comment (by kimuraw@…): you can re-install ruby19 +mactk with the command. {{{ sudo port -n upgrade --force --enforce-variants ruby19 +mactk }}} options: - -n: rebuild only ruby19 - --force: rebuild ruby19 even if the latest version as same version as now installed - --enforce-variats: respect given variants -- Ticket URL: <https://trac.macports.org/ticket/41017#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41017: ruby19 +mactk on Mavericks broken --------------------------+----------------------- Reporter: craignied@… | Owner: kimuraw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: worksforme | Keywords: Port: ruby19 | --------------------------+----------------------- Changes (by kimuraw@…): * status: assigned => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/41017#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41017: ruby19 +mactk on Mavericks broken --------------------------+----------------------- Reporter: craignied@… | Owner: kimuraw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: worksforme | Keywords: Port: ruby19 | --------------------------+----------------------- Comment (by thewolf167@…): I have the same issue, both with +mactk and +tk: {{{ $ port install ruby19 +tk # clean install $ uname -r 13.0.0 $ port installed ruby19 The following ports are currently installed: ruby19 @1.9.3-p448_1+doc+tk (active) $ port contents ruby19 | egrep tk /opt/local/share/ri/1.9.1/system/RDoc/Parser/Ruby/skip_tkspace_comment-i.ri /opt/local/share/ri/1.9.1/system/RDoc/Parser/RubyTools/get_tk-i.ri /opt/local/share/ri/1.9.1/system/RDoc/Parser/RubyTools/get_tk_until-i.ri /opt/local/share/ri/1.9.1/system/RDoc/Parser/RubyTools/get_tkread-i.ri /opt/local/share/ri/1.9.1/system/RDoc/Parser/RubyTools/peek_tk-i.ri /opt/local/share/ri/1.9.1/system/RDoc/Parser/RubyTools/skip_tkspace-i.ri /opt/local/share/ri/1.9.1/system/RDoc/Parser/RubyTools/unget_tk-i.ri }}} (nothing shows up with the bundle egrep) {{{ $ ruby1.9 -rtk -e '' /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError) from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require' $ port uninstall ruby_select ruby19 $ port clean --all ruby_select ruby19 $ port install ruby19 +mactk # clean install $ port installed ruby19 The following ports are currently installed: ruby19 @1.9.3-p448_1+doc+mactk (active) }}} likewise, nothing with egrep on the bundle strings you show {{{ $ ruby1.9 -rtk -e '' /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError) from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require' }}} -- Ticket URL: <https://trac.macports.org/ticket/41017#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41017: ruby19 +mactk on Mavericks broken --------------------------+----------------------- Reporter: craignied@… | Owner: kimuraw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: worksforme | Keywords: Port: ruby19 | --------------------------+----------------------- Comment (by kimuraw@…): ruby/tk moudle does not support tk-8.6. if you want to use +tk variant, you need to install tk-8.5 and tcl-8.5 with older Portfile. -- Ticket URL: <https://trac.macports.org/ticket/41017#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts