Project

General

Profile

Bug #13627

created.rid prevents reproducible builds

Added by bmwiedemann (Bernhard M. Wiedemann) about 1 year ago. Updated 6 months ago.

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

Description

rdoc.rb inserts the current time into created.rid
so the file differs 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-created.rid-use-SOURCE_DATE_EPOCH.patch (1.01 KB) 0001-created.rid-use-SOURCE_DATE_EPOCH.patch possible patch bmwiedemann (Bernhard M. Wiedemann), 06/03/2017 04:10 AM

History

#1 [ruby-core:81578] Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

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

#2 [ruby-core:83757] Updated by swills (Steve Wills) 8 months ago

Thanks for the patch, it fixes the issue for me (on FreeBSD).

#3 [ruby-core:84805] Updated by aycabta (aycabta .) 6 months ago

This is adopted at upstream:
https://github.com/ruby/rdoc/pull/570

hsbt (Hiroshi SHIBATA) Please close this.

#4 Updated by hsbt (Hiroshi SHIBATA) 6 months ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONTNEED
  • Status changed from Assigned to Closed

Also available in: Atom PDF