Source: dipy Version: 1.8.0-2 Severity: serious Tags: ftbfs patch Hi Maintainer
dipy FTBFS when built with the 'nocheck' profile. I've copied what I hope is the relevant part of the log below. The following patch worked for me: --- a/debian/rules +++ b/debian/rules @@ -111,11 +111,11 @@ ; done endif # Cleanup files landing unnecessarily in the python3 modules directory. - rm -v debian/$(PACKAGE3_NAME)/usr/lib/python3*/dist-packages/*.nii.gz - rm -v debian/$(PACKAGE3_NAME)/usr/lib/python3*/dist-packages/*.trk - rm -v debian/$(PACKAGE3_NAME)/usr/lib/python3*/dist-packages/affine.txt + rm -fv debian/$(PACKAGE3_NAME)/usr/lib/python3*/dist-packages/*.nii.gz + rm -fv debian/$(PACKAGE3_NAME)/usr/lib/python3*/dist-packages/*.trk + rm -fv debian/$(PACKAGE3_NAME)/usr/lib/python3*/dist-packages/affine.txt # Cleanup files landing in non-standard path - rm -rv debian/$(PACKAGE3_NAME)/usr/doc + rm -rfv debian/$(PACKAGE3_NAME)/usr/doc ## "Instantiate" both rules so dh sees them override_dh_python3: @@ -136,9 +136,9 @@ -X.par -X.bin -Xobjects.inv execute_before_dh_link-indep: - rm -v debian/python-dipy-doc/usr/share/doc/python-dipy-doc/html/_static/doctools.js - rm -v debian/python-dipy-doc/usr/share/doc/python-dipy-doc/html/_static/language_data.js - rm -v debian/python-dipy-doc/usr/share/doc/python-dipy-doc/html/_static/searchtools.js + rm -fv debian/python-dipy-doc/usr/share/doc/python-dipy-doc/html/_static/doctools.js + rm -fv debian/python-dipy-doc/usr/share/doc/python-dipy-doc/html/_static/language_data.js + rm -fv debian/python-dipy-doc/usr/share/doc/python-dipy-doc/html/_static/searchtools.js execute_after_dh_fixperms-arch: # Fix a couple of executables neither elf nor scripts. Regards Graham find debian/ -name LICENSE -delete # Only now lets build docs # Run tests later on # cd build to prevent use of local/not-built source tree # Cleanup files landing unnecessarily in the python3 modules directory. rm -v debian/python3-dipy/usr/lib/python3*/dist-packages/*.nii.gz rm: cannot remove 'debian/python3-dipy/usr/lib/python3*/dist-packages/*.nii.gz': No such file or directory make[1]: *** [debian/rules:81: execute_after_dh_auto_install] Error 1