Bug#1073374: getfem: FTBFS: ImportError: cannot import name 'rand' from 'scipy' (/usr/lib/python3/dist-packages/scipy/__init__.py)

Lucas Nussbaum lucas at debian.org
Sun Jun 16 14:02:37 BST 2024


Source: getfem
Version: 5.4.2+dfsg1-3.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[6]: Entering directory '/<<PKGBUILDDIR>>/interface/tests/python'
> PASS: check_asm.py
> PASS: demo_wave.py
> PASS: check_secondary_domain.py
> PASS: check_global_functions.py
> PASS: check_export_vtu.py
> PASS: demo_truss.py
> PASS: check_export.py
> FAIL: check_levelset.py
> PASS: check_mixed_mesh.py
> PASS: demo_laplacian_HHO.py
> PASS: demo_thermo_elasticity_electrical_coupling.py
> PASS: demo_laplacian.py
> PASS: demo_wave_equation.py
> PASS: demo_elasticity_HHO.py
> =========================================================
>    getfem 5.4.2: interface/tests/python/test-suite.log
> =========================================================
> 
> # TOTAL: 14
> # PASS:  13
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: check_levelset.py
> =======================
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/interface/tests/python/./check_levelset.py", line 30, in <module>
>     from scipy import rand
> ImportError: cannot import name 'rand' from 'scipy' (/usr/lib/python3/dist-packages/scipy/__init__.py)
> FAIL check_levelset.py (exit status: 1)
> 
> ============================================================================
> Testsuite summary for getfem 5.4.2
> ============================================================================
> # TOTAL: 14
> # PASS:  13
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See interface/tests/python/test-suite.log
> ============================================================================
> make[6]: *** [Makefile:660: test-suite.log] Error 1
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/interface/tests/python'
> make[5]: *** [Makefile:768: check-TESTS] Error 2
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/interface/tests/python'
> make[4]: *** [Makefile:931: check-am] Error 2
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/interface/tests/python'
> make[3]: *** [Makefile:439: check-recursive] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/interface/tests'
> make[2]: *** [Makefile:444: check-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/interface'
> make[1]: *** [Makefile:563: check-recursive] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> 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/2024/06/15/getfem_5.4.2+dfsg1-3.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&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.



More information about the debian-science-maintainers mailing list