Forum: Ruby-core [ruby-trunk - Bug #8878][Open] contents of test-unit.gemspec not reproducible

75e3b052e046e34cbb10917c5f9901d7?d=identicon&s=25 terceiro (Antonio Terceiro) (Guest)
on 2013-09-08 16:52
(Received via mailing list)
Issue #8878 has been reported by terceiro (Antonio Terceiro).

----------------------------------------
Bug #8878: contents of test-unit.gemspec not reproducible
https://bugs.ruby-lang.org/issues/8878

Author: terceiro (Antonio Terceiro)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: build
Target version:
ruby -v: 2.1.0-trunk
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Because the input gemspec does not contain a date, the generated gemspec
will have a different date depending on when Ruby was
compiled.

On Debian we want to support multiarch, and that requires
architecture-independent files to be byte-by-byte identical.

The attached patch fixes this by adding an explicit date to the gemspec.
75e3b052e046e34cbb10917c5f9901d7?d=identicon&s=25 terceiro (Antonio Terceiro) (Guest)
on 2013-09-08 16:54
(Received via mailing list)
Issue #8878 has been updated by terceiro (Antonio Terceiro).

File 0001-test-unit.gemspec-include-date-explicitly.patch added


----------------------------------------
Bug #8878: contents of test-unit.gemspec not reproducible
https://bugs.ruby-lang.org/issues/8878#change-41684

Author: terceiro (Antonio Terceiro)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: build
Target version:
ruby -v: 2.1.0-trunk
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Because the input gemspec does not contain a date, the generated gemspec
will have a different date depending on when Ruby was
compiled.

On Debian we want to support multiarch, and that requires
architecture-independent files to be byte-by-byte identical.

The attached patch fixes this by adding an explicit date to the gemspec.
B99311b48290f8ee37311890a8edfb1d?d=identicon&s=25 sorah (Shota Fukumori) (Guest)
on 2013-09-08 19:04
(Received via mailing list)
Issue #8878 has been updated by sorah (Shota Fukumori).

Category changed from build to lib
Status changed from Open to Assigned
Assignee changed from nobu (Nobuyoshi Nakada) to sorah (Shota Fukumori)


----------------------------------------
Bug #8878: contents of test-unit.gemspec not reproducible
https://bugs.ruby-lang.org/issues/8878#change-41685

Author: terceiro (Antonio Terceiro)
Status: Assigned
Priority: Normal
Assignee: sorah (Shota Fukumori)
Category: lib
Target version:
ruby -v: 2.1.0-trunk
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Because the input gemspec does not contain a date, the generated gemspec
will have a different date depending on when Ruby was
compiled.

On Debian we want to support multiarch, and that requires
architecture-independent files to be byte-by-byte identical.

The attached patch fixes this by adding an explicit date to the gemspec.
75e3b052e046e34cbb10917c5f9901d7?d=identicon&s=25 terceiro (Antonio Terceiro) (Guest)
on 2013-09-13 03:19
(Received via mailing list)
Issue #8878 has been updated by terceiro (Antonio Terceiro).


Hi, thanks! Can you please backport this to Ruby 2.0?
----------------------------------------
Bug #8878: contents of test-unit.gemspec not reproducible
https://bugs.ruby-lang.org/issues/8878#change-41785

Author: terceiro (Antonio Terceiro)
Status: Closed
Priority: Normal
Assignee: sorah (Shota Fukumori)
Category: lib
Target version:
ruby -v: 2.1.0-trunk
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Because the input gemspec does not contain a date, the generated gemspec
will have a different date depending on when Ruby was
compiled.

On Debian we want to support multiarch, and that requires
architecture-independent files to be byte-by-byte identical.

The attached patch fixes this by adding an explicit date to the gemspec.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-09-13 04:24
(Received via mailing list)
Issue #8878 has been updated by nobu (Nobuyoshi Nakada).

Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: DONTNEED,
2.0.0: REQUIRED


----------------------------------------
Bug #8878: contents of test-unit.gemspec not reproducible
https://bugs.ruby-lang.org/issues/8878#change-41789

Author: terceiro (Antonio Terceiro)
Status: Closed
Priority: Normal
Assignee: sorah (Shota Fukumori)
Category: lib
Target version:
ruby -v: 2.1.0-trunk
Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED


Because the input gemspec does not contain a date, the generated gemspec
will have a different date depending on when Ruby was
compiled.

On Debian we want to support multiarch, and that requires
architecture-independent files to be byte-by-byte identical.

The attached patch fixes this by adding an explicit date to the gemspec.
This topic is locked and can not be replied to.