[Debian-med-packaging] Bug#915382: python-ruffus FTBFS: test failure

Adrian Bunk bunk at debian.org
Mon Dec 3 11:53:01 GMT 2018


Source: python-ruffus
Version: 2.8.1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=python-ruffus&arch=all&ver=2.8.1-1&stamp=1543767274&raw=0

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- --test --system=custom \
	--test-args='set -e; \
		    cd {build_dir}/ruffus/test ; \
		    if [ "{version.major}" = 2 ] ; then \
			ln -s /build/python-ruffus-*/ruffus/test/Makefile ; \
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
		    else \
			sed "s/^python3/python{version}/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
		    fi ;\
                            PYTHONPATH={build_dir} HOME=`mktemp -d` bash /tmp/run_all_unit_tests.cmd'
I: pybuild base:217: set -e; \
		    cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_ruffus/build/ruffus/test ; \
		    if [ "2" = 2 ] ; then \
			ln -s /build/python-ruffus-*/ruffus/test/Makefile ; \
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
		    else \
			sed "s/^python3/python2.7/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
		    fi ;\
                            PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_ruffus/build HOME=`mktemp -d` bash /tmp/run_all_unit_tests.cmd
make[2]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_ruffus/build/ruffus/test'
make[2]: Makefile: No such file or directory
make[2]: *** No rule to make target 'Makefile'.
make[2]: Failed to remake makefile 'Makefile'.
make[2]: *** No rule to make target 'all'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_ruffus/build/ruffus/test'
E: pybuild pybuild:338: test: plugin custom failed with: exit code=2: set -e; \
		    cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_ruffus/build/ruffus/test ; \
		    if [ "2" = 2 ] ; then \
			ln -s /build/python-ruffus-*/ruffus/test/Makefile ; \
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \
		    else \
			sed "s/^python3/python2.7/" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \
		    fi ;\
                            PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_ruffus/build HOME=`mktemp -d` bash /tmp/run_all_unit_tests.cmd
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 --test --system=custom "--test-args=set -e; \\\
		    cd {build_dir}/ruffus/test ; \\\
		    if [ \"{version.major}\" = 2 ] ; then \\\
			ln -s /build/python-ruffus-*/ruffus/test/Makefile ; \\\
		        cp -a run_all_unit_tests.cmd /tmp/run_all_unit_tests.cmd ; \\\
		    else \\\
			sed \"s/^python3/python{version}/\" run_all_unit_tests3.cmd > /tmp/run_all_unit_tests.cmd ; \\\
		    fi ;\\\
                            PYTHONPATH={build_dir} HOME=\`mktemp -d\` bash /tmp/run_all_unit_tests.cmd" returned exit code 13
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 25



More information about the Debian-med-packaging mailing list