Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634686

Summary: =dev-python/configobj-5.0.6 fails test on 32-bit platforms (including x86): Failed example: dottedQuadToNum('255.255.255.255') Expected: 4294967295 Got: 4294967295L
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Sergei Trofimovich (RETIRED) gentoo-dev 2017-10-18 20:45:22 UTC
Created attachment 499158 [details]
build.log

Came up as a failure on
    hppa, sparc and x86 (all 32-bit) when tested revdeps
Works at least on
    amd64

Relevant failure snippet:

File "validate.py", line 286, in __main__.dottedQuadToNum
Failed example:
    dottedQuadToNum('255.255.255.255')
Expected:
    4294967295
Got:
    4294967295L

Looks like too precise int/long comparison.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-18 13:14:26 UTC
Might be less relevant on python3.