ERROR: test_makedev (test.test_posix.PosixTester.test_makedev) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-lang/python-3.13.0_rc2/work/Python-3.13.0rc2/Lib/test/test_posix.py", line 730, in test_makedev self.assertEqual(posix.major(NODEV), NODEV) ~~~~~~~~~~~^^^^^^^ OverflowError: can't convert negative int to unsigned Reproducible: Always Steps to Reproduce: USE="pgo" emerge python:3.13
Created attachment 902645 [details] emerge --info
Created attachment 902646 [details] build.log
What is NODEV for you?
Looking at this test file, it's -1: if sys.platform == 'linux': NODEV = -1 self.assertEqual(posix.major(NODEV), NODEV) self.assertEqual(posix.minor(NODEV), NODEV) self.assertEqual(posix.makedev(NODEV, NODEV), NODEV)
This looks musl-specific and arch-independent, was able to repro on arm64 musl as well.
*** This bug has been marked as a duplicate of bug 936048 ***