Bug#1029083: mrcal FTBFS with nocheck profile: ModuleNotFoundError: No module named 'numpy'

Helmut Grohne helmut at subdivi.de
Sun Jan 15 21:23:35 GMT 2023


Source: mrcal
Version: 2.2-3
Tags: ftbfs
Severity: important
Justification: will become rc after bookworm

mrcal fails to build from source in unstable when built with the nocheck
build profile. A build ends as follows:

| Traceback (most recent call last):
|   File "/<<PKGBUILDDIR>>/triangulation-genpywrap.py", line 10, in <module>
|     import numpy as np
| ModuleNotFoundError: No module named 'numpy'
| Traceback (most recent call last):
|   File "/<<PKGBUILDDIR>>/mrcal-genpywrap.py", line 10, in <module>
|     import numpy as np
| ModuleNotFoundError: No module named 'numpy'
| Traceback (most recent call last):
|   File "/<<PKGBUILDDIR>>/poseutils-genpywrap.py", line 10, in <module>
|     import numpy as np
| ModuleNotFoundError: No module named 'numpy'
| make[2]: *** [Makefile:107: triangulation-npsp-pywrap-GENERATED.c] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [Makefile:107: mrcal-npsp-pywrap-GENERATED.c] Error 1
| make[2]: *** [Makefile:107: poseutils-npsp-pywrap-GENERATED.c] Error 1
| mrcal-pywrap.c:6:10: fatal error: numpy/arrayobject.h: No such file or directory
|     6 | #include <numpy/arrayobject.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [mrbuild/Makefile.common.footer:148: mrcal-pywrap.o] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
| make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:10: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Most likely, the python3-numpy dependency must not be tagged <!nocheck>.

Helmut



More information about the debian-science-maintainers mailing list