Project

General

Profile

Actions

Backport #11085

closed

Fiddle::TestHandle#test_static_sym and Fiddle::TestHandle#test_NEXT: LoadError: cannot load such file -- -test-/dln/empty

Added by apchin (April Chin) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:<unknown>]

Description

test/fiddle/test_handle.rb was fixed for issue 10384:
Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris

but now in Solaris, we see the below errors.
There is no -test-/dln/empty under the build directory.

  1. Error:
    Fiddle::TestHandle#test_static_sym:
    LoadError: cannot load such file -- -test-/dln/empty
    /XXX/ruby-2.1.6/lib/rubygems/core_ext/kernel_require.rb:55:in require' /XXX/ruby-2.1.6/lib/rubygems/core_ext/kernel_require.rb:55:in require'
    /XXX/ruby-2.1.6/test/fiddle/test_handle.rb:40:in rescue in test_static_sym' /XXX/ruby-2.1.6/test/fiddle/test_handle.rb:34:in test_static_sym'

  2. Error:
    Fiddle::TestHandle#test_NEXT:
    LoadError: cannot load such file -- -test-/dln/empty
    /XXX/ruby-2.1.6/lib/rubygems/core_ext/kernel_require.rb:55:in require' /XXX/ruby-2.1.6/lib/rubygems/core_ext/kernel_require.rb:55:in require'
    /XXX/ruby-2.1.6/test/fiddle/test_handle.rb:169:in rescue in test_NEXT' /XXX/ruby-2.1.6/test/fiddle/test_handle.rb:144:in test_NEXT'


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #10384: Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on SolarisClosedActions
Actions #1

Updated by ngoto (Naohisa Goto) over 7 years ago

  • Related to Bug #10384: Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris added

Updated by ngoto (Naohisa Goto) over 7 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport21

-test-/dln/empty does not exist in the svn ruby_2_1 branch.
It seems that the backport is incomplete.

Updated by ngoto (Naohisa Goto) over 7 years ago

It seems r49154, (r49155 ?), r49156, r49159 is needed to be backported in addition to r49157.

Actions #4

Updated by usa (Usaku NAKAMURA) over 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r50383.


merge revision(s) 49154,49155,49156,49159: [Backport #10384] [Backport #11085]

ext/-test-/dln/empty: move from ext/-test-/win32/dln
* test/fiddle/test_handle.rb: fix syntax.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0