tag 521525 patch pending
thanks

Daniel Schepler <schep...@math.berkeley.edu> (27/03/2009):
> ...
> : # Adding links to manpages
> mkdir -p debian/python-numpy/usr/share/man/man1
> for v in 2.5 2.4; do \
>           ln -sf f2py.1 debian/python-numpy/usr/share/man/man1/f2py$v.1; \
>           ln -sf f2py.1 debian/python-numpy/usr/share/man/man1/f2py$v-dbg.1; \
>         done
> : # Add unversioned numpy script
> mv /tmp/buildd/python-numpy-1.2.1/debian/tmp//usr/bin/f2py /tmp/buildd/python-
> numpy-1.2.1/debian/tmp//usr/bin/f2py2.5
> mv: cannot stat `/tmp/buildd/python-numpy-1.2.1/debian/tmp//usr/bin/f2py': No 
> such file or directory
> make: *** [install/python-numpy] Error 1
> dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit 
> status 2

I'm not quite sure why it was previously building fine, but since I can
reproduce it on the kfreebsd-* buildds as well as on amd64 sid chroots.
So instead of using a conditional mv (based on whether the file exists
or not), I'm deleting that line entirely. If the old behaviour shows up
again, I guess it'll be time to investigate. I'd bet for some possible
python-central change or whatever, and I'm not keen on spending time on
that instead of the maintainer(s?) who didn't reply in 3 months to an RC
bug. Also, debdiffing the old binaries and the rebuilt ones show no
changes at all, so I'm quite confident I'm not obviously breaking
something here.

Uploading with the attached source debdiff. (python-numpy is also a
blocker for kfreebsd-*'s bootstrapping phase, hence my unwillingness
to wait any further.)

Mraw,
KiBi.
diff -u python-numpy-1.2.1/debian/rules python-numpy-1.2.1/debian/rules
--- python-numpy-1.2.1/debian/rules
+++ python-numpy-1.2.1/debian/rules
@@ -44,7 +44,6 @@
 	done
 
 	: # Add unversioned numpy script
-	mv $(DEB_DESTDIR)/usr/bin/f2py $(DEB_DESTDIR)/usr/bin/f2py$(cdbs_python_current_version)
 	ln -s f2py$(cdbs_python_current_version) debian/python-numpy/usr/bin/f2py
 
 	: # Make Python scripts executable
diff -u python-numpy-1.2.1/debian/changelog python-numpy-1.2.1/debian/changelog
--- python-numpy-1.2.1/debian/changelog
+++ python-numpy-1.2.1/debian/changelog
@@ -1,3 +1,11 @@
+python-numpy (1:1.2.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS caused by “/usr/bin/f2py” no longer being available, leading
+    to an impossible rename (Closes: #521525).
+
+ -- Cyril Brulebois <k...@debian.org>  Fri, 03 Jul 2009 11:13:31 +0200
+
 python-numpy (1:1.2.1-1) unstable; urgency=low
 
   [ David Cournapeau ]

Reply via email to