[Bug 2051399] Re: device-tree-compiler ftbfs with Python 3.12 as default

Sergio Durigan Junior 2051399 at bugs.launchpad.net
Wed Jan 31 17:10:19 UTC 2024


** Changed in: device-tree-compiler (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to device-tree-compiler in Ubuntu.
https://bugs.launchpad.net/bugs/2051399

Title:
   device-tree-compiler ftbfs with Python 3.12 as default

Status in device-tree-compiler:
  New
Status in device-tree-compiler package in Ubuntu:
  Fix Released
Status in device-tree-compiler package in Debian:
  Fix Released

Bug description:
  This is the Ubuntu counterpart of https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=1061318.

  When building the package using Python 3.12:

  [...]

  testCreate (__main__.PyLibfdtSwTests.testCreate) ... FAIL

  ======================================================================
  FAIL: testReserveMap (__main__.PyLibfdtBasicTests.testReserveMap)
  Test that we can access the memory reserve map
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/./pylibfdt_tests.py", line 421, in 
  testReserveMap
      self.assertEqual([ 0xdeadbeef00000000, 0x100000],
  AssertionError: Lists differ: [16045690981097406464, 1048576] != [0, 
  16045690981097406464, 1048576]

  First differing element 0:
  16045690981097406464
  0

  Second list contains 1 additional elements.
  First extra element 2:
  1048576

  - [16045690981097406464, 1048576]
  + [0, 16045690981097406464, 1048576]
  ?  +++

  
  ======================================================================
  FAIL: testCreate (__main__.PyLibfdtSwTests.testCreate)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/./pylibfdt_tests.py", line 585, in 
  testCreate
      self.assertEqual([TEST_ADDR_1, TEST_SIZE_1], fdt.get_mem_rsv(0))
  AssertionError: Lists differ: [9223372036854775808, 1048576] != [0, 
  9223372036854775808, 1048576]

  First differing element 0:
  9223372036854775808
  0

  Second list contains 1 additional elements.
  First extra element 2:
  1048576

  - [9223372036854775808, 1048576]
  + [0, 9223372036854775808, 1048576]
  ?  +++

  
  ----------------------------------------------------------------------
  Ran 39 tests in 0.005s

  FAILED (failures=2)
  ********** TEST SUMMARY
  *     Total testcases:	2100
  *                PASS:	2098
  *                FAIL:	0
  *   Bad configuration:	0
  * Strange test result:	0
  **********
  make[1]: *** [tests/Makefile.tests:89: check] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'

To manage notifications about this bug go to:
https://bugs.launchpad.net/device-tree-compiler/+bug/2051399/+subscriptions




More information about the foundations-bugs mailing list