Project

General

Profile

Actions

Bug #18456

closed

rdoc non-determinism: module includes can be added once or twice to generated .ri

Added by alex.kanavin@gmail.com (Alexander Kanavin) almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux-gnu]
[ruby-core:106946]

Description

We're observing a sporadically occurring non-determinism in generated .ri files:

[ak@localhost ruby-repro]$ ri --dump=./oe-reproducible-20211214-gj4vndgo/packages-excluded/reproducibleA/tmp/deploy/rpm/core2_64/usr/share/ri/3.0.0/system/Gem/DefaultUserInteraction/cdesc-DefaultUserInteraction.ri
[module Gem::DefaultUserInteraction: 
  includes:
  #<RDoc::Include:0x384 Gem::DefaultUserInteraction.rdoc::include Gem::Text>
  
  constants:

....

[ak@localhost ruby-repro]$ ri --dump=./oe-reproducible-20211214-gj4vndgo/packages-excluded/reproducibleB/tmp/deploy/rpm/core2_64/usr/share/ri/3.0.0/system/Gem/DefaultUserInteraction/cdesc-DefaultUserInteraction.ri
[module Gem::DefaultUserInteraction: 
  includes:
  #<RDoc::Include:0x384 Gem::DefaultUserInteraction.rdoc::include Gem::Text>,
  #<RDoc::Include:0x398 Gem::DefaultUserInteraction.rdoc::include Gem::Text>
  
  constants:

This occurs in random .ri files, but the pattern seems same: the difference is always in the includes, and how many times a specific one gets listed.


Files

cdesc-DefaultUserInteraction.ri (905 Bytes) cdesc-DefaultUserInteraction.ri alex.kanavin@gmail.com (Alexander Kanavin), 01/01/2022 11:14 PM
cdesc-DefaultUserInteraction.ri (819 Bytes) cdesc-DefaultUserInteraction.ri alex.kanavin@gmail.com (Alexander Kanavin), 01/01/2022 11:15 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0