Bug#1092525: libsmbios: FTBFS: AttributeError: module 'unittest' has no attribute 'makeSuite'
Source: libsmbios
Version: 2.4.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20250107 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[4]: Entering directory '/build/reproducible-path/libsmbios-2.4.3'
> FAIL: src/pyunit/runtests.sh
> =======================================
> libsmbios 2.4.3: ./test-suite.log
> =======================================
>
> # TOTAL: 1
> # PASS: 0
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: src/pyunit/runtests.sh
> ============================
>
> -e
>
> Running ALL PYTHON tests.
> Traceback (most recent call last):
> File "/build/reproducible-path/libsmbios-2.4.3/src/pyunit/testAll.py", line 39, in <module>
> retval = TestLib.runTests( tests )
> File "/build/reproducible-path/libsmbios-2.4.3/src/pyunit/TestLib.py", line 29, in runTests
> temp = unittest.makeSuite( i, testToRun )
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.13/unittest/__init__.py", line 80, in __getattr__
> raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
> AttributeError: module 'unittest' has no attribute 'makeSuite'
> FAIL src/pyunit/runtests.sh (exit status: 1)
>
> ============================================================================
> Testsuite summary for libsmbios 2.4.3
> ============================================================================
> # TOTAL: 1
> # PASS: 0
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ./test-suite.log
> ============================================================================
> make[4]: *** [Makefile:2453: test-suite.log] Error 1
> make[4]: Leaving directory '/build/reproducible-path/libsmbios-2.4.3'
> make[3]: *** [Makefile:2561: check-TESTS] Error 2
> make[3]: Leaving directory '/build/reproducible-path/libsmbios-2.4.3'
> make[2]: *** [Makefile:2797: check-am] Error 2
> make[2]: Leaving directory '/build/reproducible-path/libsmbios-2.4.3'
> make[1]: *** [Makefile:2338: check-recursive] Error 1
> make[1]: Leaving directory '/build/reproducible-path/libsmbios-2.4.3'
> dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
The full build log is available from:
http://qa-logs.debian.net/2025/01/07/libsmbios_2.4.3-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250107;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250107&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: