Bug 1390547

Summary: FTBFS in RHSCL 2.3+ due to changes in tzdata
Product: Red Hat Software Collections Reporter: Vít Ondruch <vondruch>
Component: rubyAssignee: ruby maint <ruby-maint>
Status: CLOSED EOL QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-ruby22   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-18 08:41:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vít Ondruch 2016-11-01 11:23:23 UTC
Description of problem:
Ruby fails to build due to chances in tzdata. RHSCL 2.2 used to have tzdata-{2014e-2.el6,2015a-1.el7} while RHSCL 2.3 is built against tzdata-2016h-1.el{6,7}

Version-Release number of selected component (if applicable):
rh-ruby22-ruby-2.2.2-16.el{6,7}

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
```
  1) Failure:
TestTimeTZ#test_europe_moscow [/builddir/build/BUILD/ruby-2.2.2/test/ruby/test_time_tz.rb:174]:
TZ=Europe/Moscow Time.local(1992, 3, 28, 23, 0, 0).
<"1992-03-29 00:00:00 +0400"> expected but was
<"1992-03-28 23:00:00 +0300">.
  2) Failure:
TestTimeTZ#test_gen_Europe_Moscow_100 [/builddir/build/BUILD/ruby-2.2.2/test/ruby/test_time_tz.rb:301]:
TZ=Europe/Moscow Time.local(0, 0, 22, 26, 9, 1992, nil, nil, false, nil).
<"1992-09-26 22:00:00 +0300"> expected but was
<"1992-09-26 22:00:00 +0400">.
  3) Failure:
TestTimeTZ#test_gen_Europe_Moscow_47 [/builddir/build/BUILD/ruby-2.2.2/test/ruby/test_time_tz.rb:265]:
TZ=Europe/Moscow Time.utc(1992, 3, 28, 20, 0, 0).localtime.
<"1992-03-29 00:00:00 +0400"> expected but was
<"1992-03-28 23:00:00 +0300">.
  4) Failure:
TestTimeTZ#test_gen_Europe_Moscow_49 [/builddir/build/BUILD/ruby-2.2.2/test/ruby/test_time_tz.rb:265]:
TZ=Europe/Moscow Time.utc(1992, 9, 26, 19, 0, 0).localtime.
<"1992-09-26 22:00:00 +0300"> expected but was
<"1992-09-26 23:00:00 +0400">.
  5) Failure:
TestTimeTZ#test_gen_Europe_Moscow_98 [/builddir/build/BUILD/ruby-2.2.2/test/ruby/test_time_tz.rb:283]:
TZ=Europe/Moscow Time.local(1992, 3, 29, 0, 0, 0).
<"1992-03-29 00:00:00 +0400"> expected but was
<"1992-03-29 00:00:00 +0300">.
16011 tests, 2880688 assertions, 5 failures, 0 errors, 37 skips
ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
```


Expected results:


Additional info:

Comment 3 Joe Orton 2018-01-31 14:02:45 UTC
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release.

This software collection is nearing the retirement date (April 2018) after which customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/

Comment 4 Joe Orton 2018-05-18 08:41:56 UTC
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended.

New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection.

Customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/