Source: freecad
Version: 0.16+dfsg2-1
Severity: wishlist

Hi Maintainer

In Ubuntu, freecad 0.16+dfsg2-1 has been failing autopkgtests on
ppc64el and 390x with the following error:

======================================================================
ERROR: testConversions (UnitTests.UnitBasicCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/freecad/Mod/Test/UnitTests.py", line 27, in testConversions
    self.failUnless(compare(tu('m^2*kg*s^-3*A^-2'), 1000000.0))
  File "/usr/lib/freecad/Mod/Test/UnitTests.py", line 9, in tu
    return FreeCAD.Units.Quantity(str).Value
ValueError: Unit overflow in pow()

======================================================================
ERROR: testUnits (TestSpreadsheet.SpreadsheetCases)
Units -- test unit calculations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/freecad/Mod/Spreadsheet/TestSpreadsheet.py", line
307, in testUnits
    self.assertEqual(sheet.A9, Quantity('5 K^-1'))
ValueError: Unit overflow in pow()

I verified the behaviour on plummer.debian.org, a ppc64el porterbox.
It seems to be a problem with raising a unit to a negative power on
these architectures.

Regards
Graham

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to