Your message dated Sat, 15 Sep 2018 07:35:09 +0200
with message-id <20180915053509.jj6mk7wjcpzaw...@an3as.eu>
and subject line Closing with new version
has caused the Debian Bug report #905548,
regarding python-pysam: FTBFS - tests fail: AttributeError: 'module' object has
no attribute 'HAVE_LIBCURL'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
905548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905548
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-pysam
Version: 0.15.0.1+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Hi,
python-pysam FTBFS on all architectures with testsuite errors. I can
also reproduce this on amd64 in a clean pbuilder environment.
https://buildd.debian.org/status/package.php?p=python-pysam&suite=experimental
=================================== FAILURES ===================================
________________ TestEmptyHeader.test_bam_without_seq_in_header ________________
self = <AlignmentFile_test.TestEmptyHeader
testMethod=test_bam_without_seq_in_header>
def test_bam_without_seq_in_header(self):
> s = pysam.AlignmentFile(os.path.join(BAM_DATADIR,
> "example_no_seq_in_header.bam"))
tests/AlignmentFile_test.py:1406:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pysam/libcalignmentfile.pyx:734: in
pysam.libcalignmentfile.AlignmentFile.__cinit__
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E IOError: [Errno 2] could not open alignment file
`/<<BUILDDIR>>/python-pysam-0.15.0.1+ds/.pybuild/cpython2_2.7_pysam/build/tests/pysam_data/example_no_seq_in_header.bam`:
No such file or directory
pysam/libcalignmentfile.pyx:933: IOError
_______________________ TestRemoteFileHTTP.testFetchAll ________________________
self = <tabix_test.TestRemoteFileHTTP testMethod=testFetchAll>
def setUp(self):
> if not pysam.config.HAVE_LIBCURL or not check_url(self.url):
E AttributeError: 'module' object has no attribute 'HAVE_LIBCURL'
tests/tabix_test.py:1049: AttributeError
________________________ TestRemoteFileHTTP.testHeader _________________________
self = <tabix_test.TestRemoteFileHTTP testMethod=testHeader>
def setUp(self):
> if not pysam.config.HAVE_LIBCURL or not check_url(self.url):
E AttributeError: 'module' object has no attribute 'HAVE_LIBCURL'
tests/tabix_test.py:1049: AttributeError
__________________ TestRemoteFileHTTPWithHeader.testFetchAll ___________________
self = <tabix_test.TestRemoteFileHTTPWithHeader testMethod=testFetchAll>
def setUp(self):
> if not pysam.config.HAVE_LIBCURL or not check_url(self.url):
E AttributeError: 'module' object has no attribute 'HAVE_LIBCURL'
tests/tabix_test.py:1088: AttributeError
___________________ TestRemoteFileHTTPWithHeader.testHeader ____________________
self = <tabix_test.TestRemoteFileHTTPWithHeader testMethod=testHeader>
def setUp(self):
> if not pysam.config.HAVE_LIBCURL or not check_url(self.url):
E AttributeError: 'module' object has no attribute 'HAVE_LIBCURL'
tests/tabix_test.py:1088: AttributeError
=============================== warnings summary ===============================
.pybuild/cpython2_2.7_pysam/build/tests/AlignmentFile_test.py::TestTruncatedBAM::testTruncatedBam2
/<<BUILDDIR>>/python-pysam-0.15.0.1+ds/.pybuild/cpython2_2.7_pysam/build/tests/AlignmentFile_test.py:1441:
UserWarning: no BGZF EOF marker; file may be truncated
ignore_truncation=True)
.pybuild/cpython2_2.7_pysam/build/tests/samtools_test.py::SamtoolsTest::testStatements
/<<BUILDDIR>>/python-pysam-0.15.0.1+ds/.pybuild/cpython2_2.7_pysam/build/tests/samtools_test.py:140:
UserWarning: versions of pysam.samtools and samtools differ: 1.9 != 1.7
samtools_version))
-- Docs: http://doc.pytest.org/en/latest/warnings.html
======== 5 failed, 903 passed, 17 skipped, 2 warnings in 94.95 seconds =========
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd
/<<BUILDDIR>>/python-pysam-0.15.0.1+ds/.pybuild/cpython2_2.7_pysam/build;
python2.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned
exit code 13
make[1]: *** [debian/rules:31: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<BUILDDIR>>/python-pysam-0.15.0.1+ds'
make: *** [debian/rules:24: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
Network access (beyond localhost) is not available during build.
Andreas
--- End Message ---
--- Begin Message ---
Hi,
I had fixed this issue in the upload of 0.15.0.1+ds-2 to unstable
without noticing the bug. Thus closing.
Kind regards
Andreas.
--
http://fam-tille.de
--- End Message ---