Project

General

Profile

Actions

Bug #16749

closed

File.lchmod specs fails on linux since glibc 2.31.9000

Added by vo.x (Vit Ondruch) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
[ruby-core:97661]

Description

I observe following test errors on Fedora Rawhide when building against glibc 2.31.9000:

1)
File.lchmod returns false from #respond_to? FAILED
Expected true to be false
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:35:in `block (3 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:3:in `<top (required)>'

2)
File.lchmod raises a NotImplementedError when called FAILED
Expected NotImplementedError but no exception was raised (0 was returned)
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:39:in `block (3 levels) in <top (required)>'
/builddir/build/BUILD/ruby-2.7.0/spec/ruby/core/file/lchmod_spec.rb:3:in `<top (required)>'

This seems to be related to #16662


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #16662: lchmod available in linux since glibc 2.31.9000ClosedActions
Actions #1

Updated by vo.x (Vit Ondruch) over 4 years ago

  • Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN to 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: REQUIRED
Actions #2

Updated by vo.x (Vit Ondruch) over 4 years ago

  • Related to Bug #16662: lchmod available in linux since glibc 2.31.9000 added

Updated by mame (Yusuke Endoh) over 4 years ago

  • Status changed from Open to Assigned
  • Assignee set to Eregon (Benoit Daloze)

Linux now supports lchmod :tada:

Updated by Eregon (Benoit Daloze) over 4 years ago

  • Status changed from Assigned to Closed

Fixed with da05c1552ee519d8f180b48d97148d28501acb35, thanks for the report.

Updated by nagachika (Tomoyuki Chikanaga) over 4 years ago

  • Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: REQUIRED to 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: DONE

ruby_2_7 4437f9eb0bf8369bcf12bd7cd324e11b5d885e07 merged revision(s) da05c1552ee519d8f180b48d97148d28501acb35.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0