Bug 715831

Summary: FTBFS python-webhelpers-1.3-1.fc16
Product: [Fedora] Fedora Reporter: FTBFS <ftbfs>
Component: python-webhelpersAssignee: Kyle VanderBeek <kylev>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: dmalcolm, kylev
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/
Whiteboard:
Fixed In Version: python-webhelpers-1.3-2.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-07 00:00:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 713919    
Attachments:
Description Flags
root.log
none
build.log
none
mock.log
none
root.log
none
build.log
none
mock.log none

Description FTBFS 2011-06-23 15:18:19 UTC
python-webhelpers-1.3-1.fc16.src.rpm Failed To Build From Source against the rawhide tree.  See http://fedoraproject.org/wiki/FTBFS for more information.
If you believe this is actually a bug in another package, do NOT change the component in this bug or close this bug.  Instead, add the appropriate bug number from the other package to the "Depends on" line in this bug.  If the other package does not yet have a bug created that you think matches, please create one.  Doing so helps us properly track bugs and their dependencies, just as we track package dependencies.  (If you close this bug, and the other package is not fixed before the next FTBFS run, a new bug will get created.  Please follow the above advice to avoid such duplication.)

Comment 1 FTBFS 2011-06-23 15:18:23 UTC
Created attachment 507378 [details]
root.log


root.log for i386

Comment 2 FTBFS 2011-06-23 15:18:24 UTC
Created attachment 507380 [details]
build.log


build.log for i386

Comment 3 FTBFS 2011-06-23 15:18:26 UTC
Created attachment 507382 [details]
mock.log


mock.log for i386

Comment 4 FTBFS 2011-06-23 15:18:27 UTC
Created attachment 507384 [details]
root.log


root.log for x86_64

Comment 5 FTBFS 2011-06-23 15:18:28 UTC
Created attachment 507385 [details]
build.log


build.log for x86_64

Comment 6 FTBFS 2011-06-23 15:18:30 UTC
Created attachment 507386 [details]
mock.log


mock.log for x86_64

Comment 7 Dave Malcolm 2011-12-06 23:37:18 UTC
Failing test is:
======================================================================
FAIL: test_distance_of_time_in_words (test_date.TestDateHelper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/WebHelpers-1.3/tests/test_date.py", line 24, in test_distance_of_time_in_words
    self.assertEqual("11 months and 30 days", distance_of_time_in_words(0, 31536000))
AssertionError: '11 months and 30 days' != '11 months and 29 days'
----------------------------------------------------------------------
Ran 252 tests in 1.015s
FAILED (SKIP=5, failures=1)

Looks like a leap-year issue.

Also seen by Debian as:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629699

It's being tracked upstream as:
 
https://bitbucket.org/bbangert/webhelpers/issue/61/test_distance_of_time_in_words-fails

Comment 8 Dave Malcolm 2011-12-07 00:00:16 UTC
I've patched out the fragile part of the test for now, as:
http://pkgs.fedoraproject.org/gitweb/?p=python-webhelpers.git;a=commitdiff;h=3949b1c8cbd8baf038c94a815aa8cdbc35dfd4f6

and successfully rebuilt as python-webhelpers-1.3-2.fc17 into rawhide.