[Debian-astro-maintainers] Bug#802428: yt: FTBFS: Python.h: No such file or directory

Aaron M. Ucko ucko at debian.org
Tue Oct 20 01:52:39 UTC 2015


Source: yt
Version: 3.2.1-1
Severity: serious
Justification: fails to build from source

Builds of yt in minimal environments (such as on the autobuilders) have
been failing with errors of the form

  yt/analysis_modules/halo_finding/fof/EnzoFOF.c:14:20: fatal error: Python.h: No such file or directory
  compilation terminated.
  error: Command "aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -c yt/analysis_modules/halo_finding/fof/EnzoFOF.c -o build/temp.linux-aarch64-3.5/yt/analysis_modules/halo_finding/fof/EnzoFOF.o" failed with exit status 1
  E: pybuild pybuild:262: build: plugin distutils failed with: exit code=1: /usr/bin/python3.5 setup.py build 
  dh_auto_build: pybuild --build --test-nose -i python{version} -p 3.5 3.4 --dir . returned exit code 13
  debian/rules:8: recipe for target 'build-arch' failed
  make: *** [build-arch] Error 25

Please declare build dependencies on python-all-dev and python3-all-dev
[subsuming libpython(3)-dev and python(3)-all], and confirm with
pbuilder or the like that you haven't missed anything else.

Thanks!



More information about the Debian-astro-maintainers mailing list