[DRE-maint] Bug#890693: ruby-toml FTBFS with ruby 2.5

Adrian Bunk bunk at debian.org
Sun Mar 11 09:58:56 UTC 2018


On Sun, Mar 11, 2018 at 11:53:50AM +0900, dai at debian.org wrote:
> Control: reopen -1
> 
> it is reproducible again.
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-toml.html

The problem seems to be timezone related:

$ export TZ="/usr/share/zoneinfo/Etc/GMT+0"
$ dpkg-buildpackage -b
<successful build>
$ export TZ="/usr/share/zoneinfo/Etc/GMT+9"
$ dpkg-buildpackage -b
...
  1) Failure:
TestGenerator#test_generator [/tmp/ruby-toml-0.2.0/test/test_generator.rb:55]:
Expected: "2018-03-11 00:55:33 -0900"
  Actual: "2018-03-11 09:55:33 +0000"


The test expects the current time in current timezone,
but what it actually gets is the current time in UTC.


> Regards,
> 	dai

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-ruby-extras-maintainers mailing list