Bug#825874: python-escript: FTBFS - netcdf.h not found under /usr
Aaron M. Ucko
amu at alum.mit.edu
Tue May 31 01:37:48 UTC 2016
Source: python-escript
Version: 4.2.0.1-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Builds of python-escript in minimal environments (notably, on the
autobuilders) have been failing:
RuntimeError: netcdf.h not found under /usr:
File "/«PKGBUILDDIR»/SConstruct", line 520:
env=checkOptionalLibraries(env)
File "/«PKGBUILDDIR»/site_scons/dependencies.py", line 286:
netcdf_inc_path,netcdf_lib_path=findLibWithHeader(env, env['netcdf_libs'], 'netcdf.h', env['netcdf_prefix'], lang='c++')
File "/«PKGBUILDDIR»/site_scons/site_init.py", line 44:
raise RuntimeError('%s not found under %s'%(header,paths))
debian/rules:58: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
Please declare a build dependency on libnetcdf-dev, and confirm with
pbuilder or the like that you haven't missed any others. (Please note
that the build dependency on libnetcdf-cxx-legacy-dev is insufficient,
because that package does NOT depend on libnetcdf-dev, though perhaps
it should.)
Thanks!
More information about the debian-science-maintainers
mailing list