Project

General

Profile

Bug #12123

FileUtils.ln_s create a '.symlink' file not a symbolic link on windows

Added by personnel (Am I Who) over 2 years ago. Updated over 2 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
cruby-windows
Target version:
-
ruby -v:
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
[ruby-core:74029]

Description

when building ruby, 'test_cp_r_symlink' fail on make test-all

History

#1 [ruby-core:74044] Updated by nobu (Nobuyoshi Nakada) over 2 years ago

  • Status changed from Open to Feedback

Could you show failed messages?

#2 [ruby-core:74159] Updated by personnel (Am I Who) over 2 years ago

Nobuyoshi Nakada wrote:

Could you show failed messages?

build using rubyinstaller with devkit=mingw64-64-4.7.2

# Running tests:

[ 4462/15575] TestFileUtils#test_cp_r_symlink = 0.02 s
  1) Error:
TestFileUtils#test_cp_r_symlink:
Errno::ENOTDIR: Not a directory @ dir_initialize - tmp/cpr_src2
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `open'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `entries'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `entries'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1500:in `wrap_traverse'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:469:in `copy_entry'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:444:in `block in cp_r'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1571:in `block in fu_each_src_dest'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1587:in `fu_each_src_dest0'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1569:in `fu_each_src_dest'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:443:in `cp_r'
    A:/rubyinstaller/sandbox/ruby_2_3/test/fileutils/test_fileutils.rb:379:in `test_cp_r_symlink'

Leaked tempfile: TestGemExtBuilder#test_build_extensions_extconf_bad: #<Tempfile:./siteconf20160305-2592-fpjtyb.rb (closed)>
Leaked tempfile: TestGemExtExtConfBuilder#test_class_build_env_make: #<Tempfile:./siteconf20160305-2592-vh1pi9.rb (closed)>
Leaked tempfile: TestGemExtExtConfBuilder#test_class_build_extconf_fail: #<Tempfile:./siteconf20160305-2592-1v36svk.rb (closed)>
Finished tests in 549.875095s, 28.3173 tests/s, 4035.6892 assertions/s.
15571 tests, 2219125 assertions, 0 failures, 1 errors, 163 skips

ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]

#3 [ruby-core:74723] Updated by personnel (Am I Who) over 2 years ago

  • Assignee deleted (nobu (Nobuyoshi Nakada))
  • ruby -v changed from ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32] to ruby 2.3.0p71 (2016-03-30) [x64-mingw32]
# Running tests:

[ 4411/15571] TestFileExhaustive#test_realpath_mount_point参数错误。
拒绝访问。
[ 4465/15571] TestFileUtils#test_cp_r_symlink = 0.02 s
  1) Error:
TestFileUtils#test_cp_r_symlink:
Errno::ENOTDIR: Not a directory @ dir_initialize - tmp/cpr_src2
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `open'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `entries'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `entries'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1500:in `wrap_traverse'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:469:in `copy_entry'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:444:in `block in cp_r'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1571:in `block in fu_each_src_dest'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1587:in `fu_each_src_dest0'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1569:in `fu_each_src_dest'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:443:in `cp_r'
    A:/rubyinstaller/sandbox/ruby_2_3/test/fileutils/test_fileutils.rb:379:in `test_cp_r_symlink'

Leaked tempfile: TestGemExtBuilder#test_build_extensions_extconf_bad: #<Tempfile:./siteconf20160330-1064-1rc8vnw.rb (closed)>
Leaked tempfile: TestGemExtExtConfBuilder#test_class_build_env_make: #<Tempfile:./siteconf20160330-1064-6javai.rb (closed)>
Leaked tempfile: TestGemExtExtConfBuilder#test_class_build_extconf_fail: #<Tempfile:./siteconf20160330-1064-fjyt0q.rb (closed)>
Finished tests in 585.075987s, 26.6068 tests/s, 3782.6967 assertions/s.
15567 tests, 2213165 assertions, 0 failures, 1 errors, 163 skips

ruby -v: ruby 2.3.0p71 (2016-03-30) [x64-mingw32]

#4 [ruby-core:75217] Updated by personnel (Am I Who) over 2 years ago

  • ruby -v changed from ruby 2.3.0p71 (2016-03-30) [x64-mingw32] to ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
# Running tests:

[ 4406/15580] TestFileExhaustive#test_realpath_mount_point参数错误。
拒绝访问。
[ 4460/15580] TestFileUtils#test_cp_r_symlink = 0.02 s
  1) Error:
TestFileUtils#test_cp_r_symlink:
Errno::ENOTDIR: Not a directory @ dir_initialize - tmp/cpr_src2
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `open'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `entries'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1300:in `entries'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1500:in `wrap_traverse'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:469:in `copy_entry'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:444:in `block in cp_r'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1571:in `block in fu_each_src_dest'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1587:in `fu_each_src_dest0'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:1569:in `fu_each_src_dest'
    A:/rubyinstaller/sandbox/ruby_2_3/lib/fileutils.rb:443:in `cp_r'
    A:/rubyinstaller/sandbox/ruby_2_3/test/fileutils/test_fileutils.rb:379:in `test_cp_r_symlink'

Leaked tempfile: TestGemExtBuilder#test_build_extensions_extconf_bad: #<Tempfile:./siteconf20160427-3676-fpjtyb.rb (closed)>
Leaked tempfile: TestGemExtExtConfBuilder#test_class_build_env_make: #<Tempfile:./siteconf20160427-3676-vh1pi9.rb (closed)>
Leaked tempfile: TestGemExtExtConfBuilder#test_class_build_extconf_fail: #<Tempfile:./siteconf20160427-3676-1v36svk.rb (closed)>
Finished tests in 603.907561s, 25.7920 tests/s, 3665.7713 assertions/s.
15576 tests, 2213787 assertions, 0 failures, 1 errors, 143 skips

ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]

#5 [ruby-core:75218] Updated by personnel (Am I Who) over 2 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

#6 [ruby-core:75383] Updated by personnel (Am I Who) over 2 years ago

  • Assignee changed from nobu (Nobuyoshi Nakada) to cruby-windows

Also available in: Atom PDF