[Debian-med-packaging] Bug#739631: [Help] Bug#739631: python-pysam: FTBFS: ImportError: No module named pysam

Andreas Tille andreas at an3as.eu
Thu Feb 20 17:04:13 UTC 2014


Hi,

I have built the package in pbuilder and wonder why it does not build
in autobuilders.  Any clue?  The package is maintained at

   git://anonscm.debian.org/debian-med/python-pysam.git

Any hint is welcome

    Andreas.

----- Forwarded message from "Aaron M. Ucko" <ucko at debian.org> -----

Date: Thu, 20 Feb 2014 11:17:53 -0500
From: "Aaron M. Ucko" <ucko at debian.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Bug#739631: python-pysam: FTBFS: ImportError: No module named pysam
X-Debian-PR-Message: report 739631
X-Debian-PR-Package: src:python-pysam
X-Debian-PR-Keywords: 
X-Debian-PR-Source: python-pysam

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!

_______________________________________________
Debian-med-packaging mailing list
Debian-med-packaging at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging

----- End forwarded message -----

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list