Project

General

Profile

Bug #13628

rdoc json.gz files differ across builds

Added by bmwiedemann (Bernhard M. Wiedemann) 6 months ago. Updated 5 days ago.

Status:
Assigned
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.2.6p396 (2016-11-15 revision 56800) [x86_64-linux-gnu]
[ruby-core:81551]

Description

lib/rdoc/generator/json_index.rb inserts the build time
into generated .gz files,
so they differ across each build,
making it hard for distributions like openSUSE's
to create bit-identical binary packages when those are using rdoc.

See https://reproducible-builds.org/ why that matters

0001-rdoc-do-not-store-current-timestamps-in-gz-headers.patch (1.36 KB) 0001-rdoc-do-not-store-current-timestamps-in-gz-headers.patch possible patch bmwiedemann (Bernhard M. Wiedemann), 06/03/2017 04:11 AM

History

#1 [ruby-core:81577] Updated by hsbt (Hiroshi SHIBATA) 6 months ago

  • Assignee set to hsbt (Hiroshi SHIBATA)
  • Status changed from Open to Assigned

#2 [ruby-core:83752] Updated by emaste (Ed Maste) 5 days ago

We came up with the same patch for FreeBSD while working on reproducible builds there.

Also available in: Atom PDF