Project

General

Profile

Actions

Bug #18456

open

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

Added by alex.kanavin@gmail.com (Alexander Kanavin) 6 months ago. Updated 6 months ago.

Status:
Open
Priority:
Normal
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 #1

Updated by alex.kanavin@gmail.com (Alexander Kanavin) 6 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF