[Bug 2051399] [NEW] device-tree-compiler ftbfs with Python 3.12 as default
Sergio Durigan Junior
2051399 at bugs.launchpad.net
Fri Jan 26 23:01:26 UTC 2024
Public bug reported:
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>>'
** Affects: device-tree-compiler (Ubuntu)
Importance: Undecided
Status: New
** Affects: device-tree-compiler (Debian)
Importance: Unknown
Status: Unknown
** Tags: update-excuse
** Bug watch added: Debian Bug tracker #1061318
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061318
** Also affects: device-tree-compiler (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061318
Importance: Unknown
Status: Unknown
--
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 package in Ubuntu:
New
Status in device-tree-compiler package in Debian:
Unknown
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/ubuntu/+source/device-tree-compiler/+bug/2051399/+subscriptions
More information about the foundations-bugs
mailing list