[DRE-maint] Bug#952041: Fwd: Bug#952041: fixed in ruby-hoe 3.22.1+dfsg1-1

Lucas Kanashiro kanashiro at debian.org
Mon Jun 29 23:32:49 BST 2020


This test failure is still not fixed in version 3.22.1+dfsg1-1. I faced
this issue in Ubuntu:

https://launchpadlibrarian.net/482047556/buildlog_ubuntu-groovy-amd64.ruby-hoe_3.22.1+dfsg1-1_BUILDING.txt.gz

The important part is:

1) Failure:
TestHoe#test_possibly_better
[/<<BUILDDIR>>/ruby-hoe-3.22.1+dfsg1/test/test_hoe.rb:354]: Expected:
2020-05-30 00:00:00 UTC
Actual: 2020-04-02 00:00:00 UTC

39 runs, 104 assertions, 1 failures, 0 errors, 0 skips

This is the failing test:

https://github.com/seattlerb/hoe/blob/v3.22.1/test/test_hoe.rb#L354

After some investigation and chatting with Utkarsh, we noticed the
Actual date which is calling 'spec.date' is for some reason parsing the
date in the last entry of the debian/changelog, while
Gem::Specification::TODAY returns the date you are building the package.

The reason this package built fine in the last upload is because buildd
built it on the same day it was uploaded.

Since this is a downstream issue and this is not a bug in the gem code,
we are planning to patch this package to comment out this single test.

Cheers!

-- 
Lucas Kanashiro



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