Bug#836983: freecad: autopkgtests fail on ppc64el and s390x

Graham Inggs ginggs at debian.org
Wed Sep 7 19:21:26 UTC 2016


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



More information about the debian-science-maintainers mailing list