Bug#521525: python-numpy: FTBFS: Fails to install f2py wrapper

2009-07-03 Thread Cyril Brulebois
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 ]


Bug#521525: python-numpy: FTBFS: Fails to install f2py wrapper

2009-07-03 Thread Ondrej Certik
On Fri, Jul 3, 2009 at 3:27 AM, Cyril Bruleboisk...@debian.org wrote:
 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.

Many thanks for fixing it!

I apologize for not having time for this.

Ondrej



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521525: python-numpy: FTBFS: Fails to install f2py wrapper

2009-07-03 Thread Cyril Brulebois
Ondrej Certik ond...@certik.cz (03/07/2009):
 Many thanks for fixing it!
 
 I apologize for not having time for this.

No problem, that only triggered my 0-day NMU mood. :D

You could also get rid of the “:” in your “: # comment” in debian/rules.
What is the purpose of that “:”? :)

Mraw,
KiBi.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Bug#521525: python-numpy: FTBFS: Fails to install f2py wrapper

2009-03-27 Thread Daniel Schepler
Package: python-numpy
Version: 1:1.2.1-1
Severity: serious

From my pbuilder build log:

...
: # 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
-- 
Daniel Schepler




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org