From: v.ondruch@... Date: 2016-08-25T11:32:14+00:00 Subject: [ruby-core:77057] [Ruby trunk Bug#12681][Open] Gemfied tk issue Issue #12681 has been updated by Vit Ondruch. Status changed from Closed to Open The r55950 does not resolve the issue completely. The make install does not work (neither the gem itself probably): ``` # make install DESTDIR=/builddir/build/BUILDROOT/ruby-2.4.0-0.1.r56008.fc26.x86_64 ... snip ... ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -r./x86_64-linux-fake ./tool/rbinstall.rb --make="make" --dest-dir="/builddir/build/BUILDROOT/ruby-2.4.0-0.1.r56008.fc26.x86_64" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" --install=all --rdoc-output=".ext/rdoc" installing binary commands: /usr/bin installing base libraries: /usr/lib64 installing arch files: /usr/lib64/ruby/2.4.0/x86_64-linux installing pkgconfig data: /usr/lib64/pkgconfig installing command scripts: /usr/bin installing library scripts: /usr/lib64/ruby/2.4.0 installing common headers: /usr/include/ruby-2.4.0 installing manpages: /usr/share/man/man1 installing extension objects: /usr/lib64/ruby/2.4.0/x86_64-linux installing extension objects: /usr/lib64/ruby/site_ruby/2.4.0/x86_64-linux installing extension objects: /usr/lib64/ruby/vendor_ruby/2.4.0/x86_64-linux installing extension headers: /usr/include/ruby-2.4.0/x86_64-linux installing extension scripts: /usr/lib64/ruby/2.4.0 installing extension scripts: /usr/lib64/ruby/site_ruby/2.4.0 installing extension scripts: /usr/lib64/ruby/vendor_ruby/2.4.0 installing extension headers: /usr/include/ruby-2.4.0/ruby installing default gems: /usr/lib64/ruby/gems/2.4.0 (build_info, cache, doc, extensions, gems, specifications) bigdecimal 1.2.8 io-console 0.4.6 json 2.0.2 psych 2.1.0 rdoc 4.2.1 installing bundle gems: /usr/lib64/ruby/gems/2.4.0 (build_info, cache, doc, extensions, gems, specifications) did_you_mean 1.0.2 minitest 5.9.0 rake 11.2.2 power_assert 0.3.0 test-unit 3.2.1 tk 0.1.1 ./tool/rbinstall.rb:273:in `initialize': No such file or directory @ rb_sysopen - /builddir/build/BUILDROOT/ruby-2.4.0-0.1.r56008.fc26.x86_64/usr/lib64/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/tk-0.1.1/gem.build_complete (Errno::ENOENT) from ./tool/rbinstall.rb:273:in `open' from ./tool/rbinstall.rb:273:in `open_for_install' from ./tool/rbinstall.rb:769:in `block (2 levels) in
' from /builddir/build/BUILD/ruby-2.4.0-r56008/lib/rubygems/specification.rb:821:in `block in each_spec' from /builddir/build/BUILD/ruby-2.4.0-r56008/lib/rubygems/specification.rb:743:in `block (2 levels) in each_gemspec' from /builddir/build/BUILD/ruby-2.4.0-r56008/lib/rubygems/specification.rb:742:in `each' from /builddir/build/BUILD/ruby-2.4.0-r56008/lib/rubygems/specification.rb:742:in `block in each_gemspec' from /builddir/build/BUILD/ruby-2.4.0-r56008/lib/rubygems/specification.rb:741:in `each' from /builddir/build/BUILD/ruby-2.4.0-r56008/lib/rubygems/specification.rb:741:in `each_gemspec' from /builddir/build/BUILD/ruby-2.4.0-r56008/lib/rubygems/specification.rb:819:in `each_spec' from ./tool/rbinstall.rb:758:in `block in
' from ./tool/rbinstall.rb:823:in `block in
' from ./tool/rbinstall.rb:820:in `each' from ./tool/rbinstall.rb:820:in `
' uncommon.mk:277: recipe for target 'do-install-all' failed make: *** [do-install-all] Error 1 ``` ---------------------------------------- Bug #12681: Gemfied tk issue https://bugs.ruby-lang.org/issues/12681#change-60281 * Author: Vit Ondruch * Status: Open * Priority: Normal * Assignee: Yui NARUSE * ruby -v: ruby 2.4.0dev (2016-08-16 trunk 55915) [x86_64-linux] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- First of all, thank you for moving Tk into independent gem. Nevertheless, I have one concern. So far, you left the tcltklib.so and tkutil.so under ruby lib directory. This is unfortunately major flaw, since the Tk gem is not one of the default gems. Hence, if you install more versions of Tk library, there might be collision among them. Also, the "gem install tk" does not build the extension, so that is another source of possible issues. -- https://bugs.ruby-lang.org/ Unsubscribe: