Bug 14268

Summary: ruby-ri-docs is not reproducible
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Unassigned <unassigned>
Status: ACCEPTED --- QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, meta.mr.watcher, meta.watcher, randy.macleod, thomas.perrot, william.lyu
Version: 3.3   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2021-03-01 22:14:48 UTC
ruby-ri-docs is not reproducible and shows up on some builds as failing to reproduce but not others. Still need to capture diffoscope on the autobuilder for this one.

We'd like to be able to remove the exclusion from the reproducibility selftest.
Comment 2 Thomas Perrot 2021-09-30 12:53:48 UTC
There are several issues in the Ruby makefiles that making the build non-reproducible:
- timestamp isn't fixed,
- linked object aren't ordered,
- and there are some date issue.
Comment 3 Thomas Perrot 2021-09-30 14:06:15 UTC
Patches are available in the Debian repository.
Comment 4 Alexandre Belloni 2021-10-05 18:32:27 UTC
Unfortunately, it did fail recently:

https://autobuilder.yoctoproject.org/typhoon/#/builders/118/builds/752/steps/12/logs/stdio

while this one was successful:

https://autobuilder.yoctoproject.org/typhoon/#/builders/118/builds/749

(both contain the fix and remove ruby-ri-docs from the exclusion list)

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20211005-lowysymg/packages/diff-html/
Comment 5 Alexandre Belloni 2021-10-21 08:00:35 UTC
Didn't reproduce, the last error was probably due to sstate-cache
Comment 7 Randy MacLeod 2022-01-06 15:58:40 UTC
The docs have been disalbed (hopefully temporarily) so lowering to a Medium priority.
Comment 8 Thomas Perrot 2022-01-12 14:16:57 UTC
This bug has been reported on the Ruby side for a few days:
https://bugs.ruby-lang.org/issues/18456
Comment 9 Randy MacLeod 2024-01-18 16:13:50 UTC
the bug has been rejected becuase it needs to be reported to a different place. 
Please do so.
Comment 10 Thomas Perrot 2024-01-19 08:27:35 UTC
This issue has been reported on the new Ruby bugs tracker:
https://github.com/ruby/rdoc/issues/1084
Comment 11 Randy MacLeod 2024-10-31 15:09:22 UTC
Bulk move of 5.1 bugs to 5.2. -- YP bug review (Randy)
Comment 12 Randy MacLeod 2025-06-05 15:14:10 UTC
We think we've disabled the doc generation as a work-around. 
-- YP bug review