[Debian-med-packaging] Bug#739631: python-pysam: FTBFS: ImportError: No module named pysam
Aaron M. Ucko
ucko at debian.org
Thu Feb 20 16:17:53 UTC 2014
Source: python-pysam
Version: 0.7.5-1
Severity: serious
Justification: fails to build from source
Builds of python-pysam in minimal environments (as on the
autobuilders) have been failing:
dh_auto_test
chmod a+x tests/pysam_test_offline.py
set -e -x;\
for pyv in `pyversions -dv` ; do \
cd tests && env PYTHONPATH=/«PKGBUILDDIR»/build/lib.«ARCH»-${pyv} ./pysam_test_offline.py ; \
done
+ pyversions -dv
+ cd tests
+ env PYTHONPATH=/«PKGBUILDDIR»/build/lib.«ARCH»-2.7 ./pysam_test_offline.py
Traceback (most recent call last):
File "./pysam_test_offline.py", line 8, in <module>
import pysam
ImportError: No module named pysam
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
Could you please take a look, and ensure that PYTHONPATH covers
pysam's Python files, not just the extensions that support them?
Thanks!
More information about the Debian-med-packaging
mailing list