Source: sparql-wrapper-python Version: 1.7.6-2 Severity: serious Tags: buster sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20180502 qa-ftbfs Justification: FTBFS on amd64
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > # sed command is a custom hack that's also present in upstream's > run_tests_py3.sh script > PYBUILD_BEFORE_TEST_python3='cp -r {dir}/test {build_dir}; 2to3 -w > {build_dir}/test; sed -i.sedbak -e > "s/urllib2._opener/urllib.request._opener/g" > {build_dir}/test/wrapper_test.py' \ > PYBUILD_AFTER_TEST='rm -rf {build_dir}/test' \ > dh_auto_test --buildsystem=pybuild > I: pybuild base:217: cd > /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_sparqlwrapper/build; python2.7 -m nose > test > ..................... > ---------------------------------------------------------------------- > Ran 21 tests in 0.026s > > OK > I: pybuild pybuild:293: rm -rf > /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_sparqlwrapper/build/test > I: pybuild pybuild:267: cp -r /<<PKGBUILDDIR>>/test > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_sparqlwrapper/build; 2to3 -w > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_sparqlwrapper/build/test; sed > -i.sedbak -e "s/urllib2._opener/urllib.request._opener/g" > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_sparqlwrapper/build/test/wrapper_test.py > /bin/sh: 1: 2to3: not found > I: pybuild base:217: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_sparqlwrapper/build; python3.6 -m nose > test > E > ====================================================================== > ERROR: Failure: ModuleNotFoundError (No module named 'urllib2') > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest > raise self.exc_val.with_traceback(self.tb) > File "/usr/lib/python3/dist-packages/nose/loader.py", line 417, in > loadTestsFromName > addr.filename, addr.module) > File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in > importFromPath > return self.importFromDir(dir_path, fqname) > File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in > importFromDir > mod = load_module(part_fqname, fh, filename, desc) > File "/usr/lib/python3.6/imp.py", line 235, in load_module > return load_source(name, filename, file) > File "/usr/lib/python3.6/imp.py", line 172, in load_source > module = _load(spec) > File "<frozen importlib._bootstrap>", line 684, in _load > File "<frozen importlib._bootstrap>", line 665, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 678, in exec_module > File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_sparqlwrapper/build/test/wrapper_test.py", > line 10, in <module> > import urllib2 > ModuleNotFoundError: No module named 'urllib2' > > ---------------------------------------------------------------------- > Ran 1 test in 0.006s > > FAILED (errors=1) > E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_sparqlwrapper/build; python3.6 -m nose > test > dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.6 returned > exit code 13 The full build log is available from: http://aws-logs.debian.net/2018/05/02/sparql-wrapper-python_1.7.6-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.