Issue #13628 has been updated by emaste (Ed Maste).


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

----------------------------------------
Bug #13628: rdoc json.gz files differ across builds
https://bugs.ruby-lang.org/issues/13628#change-67790

* Author: bmwiedemann (Bernhard M. Wiedemann)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: ruby 2.2.6p396 (2016-11-15 revision 56800) [x86_64-linux-gnu]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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

---Files--------------------------------
0001-rdoc-do-not-store-current-timestamps-in-gz-headers.patch (1.36 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>