Package: matplotlib
Version: 0.86.2-2
Severity: serious
Tags: patch

When building 'matplotlib' in a clean unstable chroot,
I get the following error:


copying lib/matplotlib/backends/Matplotlib.nib/classes.nib -> 
/matplotlib-0.86.2/debian/python-matplotlib-data/usr/share/lib/python2.3/site-packages/matplotlib/mpl-data/Matplotlib.nib
rm 
/matplotlib-0.86.2/debian/python-matplotlib-data/usr/share/matplotlib/mpl-data/Vera*.ttf
rm: cannot remove 
`/matplotlib-0.86.2/debian/python-matplotlib-data/usr/share/matplotlib/mpl-data/Vera*.ttf':
 No such file or directory
make: *** [install-indep] Error 1


This problem can be fixed with the attached patch.


Regards
Andreas Jochens


diff -urN ../tmp-orig/matplotlib-0.86.2/debian/rules ./debian/rules
--- ../tmp-orig/matplotlib-0.86.2/debian/rules  2006-02-25 17:42:03.000000000 
+0000
+++ ./debian/rules      2006-02-25 17:41:59.000000000 +0000
@@ -80,7 +80,7 @@
        dh_clean -k
        python ./setup.py install_data -d $(CURDIR)/debian/$(pdata)/usr/share
 
-       rm $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/Vera*.ttf
+       rm -f $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/Vera*.ttf
 
        # make svg images not executable:
        chmod 644 $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/*.svg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to