Debian Bug report logs - #422475
matplotlib: FTBFS: Missing plugin file _ns_transforms.so: Failing build

version graph

Package: matplotlib; Maintainer for matplotlib is Sandro Tosi <morph@debian.org>;

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Sun, 6 May 2007 10:27:05 UTC

Severity: serious

Tags: lenny, sid

Found in versions 0.87.7-0.3, matplotlib/0.90.0-1

Fixed in versions 0.90.1-1, matplotlib/0.90.1-2

Done: Alexandre Fayolle <afayolle@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Vittorio Palmisano <redclay81@gmail.com>:
Bug#422475; Package matplotlib. (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Vittorio Palmisano <redclay81@gmail.com>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: matplotlib: FTBFS: Missing plugin file _ns_transforms.so: Failing build
Date: Sun, 6 May 2007 12:08:33 +0200
Package: matplotlib
Version: 0.87.7-0.3
Severity: serious
Justification: FTBFS on i386, very likely to fail everywhere else
Usertags: grid5000 rebuild

Hi,

During a rebuild of all packages in sid, I discovered that your package
failed to build on i386.

Relevant parts:
for v in 2.4; do \
                for p in na ns nc; do \
                        for f in transforms.so image.so cntr.so nxutils.so; do \
                                # Check for these four files for each plugin: \
                                #       _na_transforms.so, _na_image.so, _na_cnt
r.so, _na_nxutils.so \
                                if test ! -f debian/python-matplotlib/usr/lib/python$v/site-packages/matplotlib/_${p
}_${f}; then \
                                        echo "Missing plugin file _${p}_${f}: Failing build"; \
                                        exit 1; \
                                fi \
                        done \
                                # Also check for the backend plugins: \
                                # e.g. backends/_na_backend_agg.so \
                        for f in agg.so gdk.so; do \
                                if test ! -f debian/python-matplotlib/usr/lib/python$v/site-packages/matplotlib/back
ends/_${p}_backend_${f}; then \
                                        echo "Missing backend file _${p}_backend_${f}: Failing build"; \
                                        exit 1; \
                                fi \
                        done \
                done \
        done
Missing plugin file _ns_transforms.so: Failing build
make: *** [install-stamp-2.4] Error 1

The full build log is available from 
http://people.debian.org/~lucas/logs/2007/05/rebuild.sid.i386/

About the archive rebuilt: The rebuilt was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

About Grid'5000:
Grid'5000 is an highly reconfigurable experimental Grid platform
gathering 9 sites and featuring a total of 5000 CPUs. It serves as a
testbed for research in Grid Computing. See https://www.grid5000.fr/
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Information forwarded to debian-bugs-dist@lists.debian.org, Vittorio Palmisano <redclay81@gmail.com>:
Bug#422475; Package matplotlib. (full text, mbox, link).


Acknowledgement sent to David Ham <David.Ham@imperial.ac.uk>:
Extra info received and forwarded to list. Copy sent to Vittorio Palmisano <redclay81@gmail.com>. (full text, mbox, link).


Message #10 received at 422475@bugs.debian.org (full text, mbox, reply):

From: David Ham <David.Ham@imperial.ac.uk>
To: 422475@bugs.debian.org
Subject: workaround: disable test in rules file.
Date: Wed, 16 May 2007 15:21:54 +0100
I also hit this bug but was able to verify that the plugin which the
compile complained was missing was actually present. Commenting out the
plugins tests from the rules file results in the package building and
the resulting package appears to work.

-- 
Dr David Ham
Applied Modelling and Computation Group,
Department of Earth Science and Engineering,
Imperial College London,

http://amcg.ese.ic.ac.uk/index.php?title=David_Ham



Information forwarded to debian-bugs-dist@lists.debian.org, Vittorio Palmisano <redclay81@gmail.com>:
Bug#422475; Package matplotlib. (full text, mbox, link).


Acknowledgement sent to Amit Aronovitch <aronovitch@gmail.com>:
Extra info received and forwarded to list. Copy sent to Vittorio Palmisano <redclay81@gmail.com>. (full text, mbox, link).


Message #15 received at 422475@bugs.debian.org (full text, mbox, reply):

From: Amit Aronovitch <aronovitch@gmail.com>
To: 422475@bugs.debian.org
Subject: workaround: fix test in rules file.
Date: Fri, 15 Jun 2007 16:29:46 +0300
[Message part 1 (text/plain, inline)]
Package: python-matplotlib
Version: 0.90.0-1
Tags: patch


Actually, the problem is that there is a loop on the python versions inside a *per version* target.

As it is the build scheme goes something like (rough pseudocode):

 

  for each version ($*) in $(PYVERS)  # this is done by make
                                      # (because of the dependencies of "install-arch" in line 56)

       python$* ./setup.py install_lib  # install the extensions for version $*

       for v in $(PYVERS); do

                    check that stuff$v is installed

I really have no idea what the original intent was, but the result is that after the first (2.4) extensions

are installed, the check is run for *all* versions, and fails because 2.5 extensions were not installed yet.

I believe that the v loop in line 73 should just be removed.

The minimalistic patch attached simply loops over a single version (the current one), which makes the package build OK.

Package maintainer should really fix the problem in a more appropriate manner.

    Regards,

         Amit A.


[matplotlib-vbyv.diff (text/plain, inline)]
--- matplotlib-0.90.0/debian/rules	2007-06-15 15:53:45.000000000 +0300
+++ matplotlib-0.90.0.nw/debian/rules	2007-06-15 14:50:10.000000000 +0300
@@ -70,7 +70,7 @@
 	# autobuilders.
 	# The plugin abbreviations are:
 	#  ns_ = numpy, na_ = numarray, nc_ = numeric
-	for v in $(PYVERS); do \
+	for v in $*; do \
 		for p in na ns nc; do \
 			for f in transforms.so image.so cntr.so nxutils.so; do \
 				# Check for these four files for each plugin: \

Tags added: lenny, sid Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sun, 01 Jul 2007 23:24:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Vittorio Palmisano <redclay81@gmail.com>:
Bug#422475; Package matplotlib. (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Vittorio Palmisano <redclay81@gmail.com>. (full text, mbox, link).


Message #22 received at 422475@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
To: 422475@bugs.debian.org, Amit Aronovitch <aronovitch@gmail.com>
Cc: Lucas Nussbaum <lucas@lucas-nussbaum.net>, David Ham <David.Ham@imperial.ac.uk>, python-modules-team@lists.alioth.debian.org
Subject: Re: Bug#422475: matplotlib: FTBFS: Missing plugin file _ns_transforms.so: Failing build
Date: Mon, 16 Jul 2007 03:43:52 +0200
[Message part 1 (text/plain, inline)]
Amit Aronovitch <aronovitch@gmail.com> (15/06/2007):
> The minimalistic patch attached simply loops over a single version
> (the current one), which makes the package build OK.

Hi,

now that pyversions outputs 2.4 and 2.5, that's no longer true.

(BTW, the correct way to tag was to send a mail to the control bot
<control@bugs.debian.org>, with ``tag 422475 patch'', see the bts
command of the devscripts package.)

I'm Cc-ing the DPMT, since its members might want to give a hand and
clean this package (I don't have the time right now).

Cheers,

-- 
Cyril Brulebois
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Vittorio Palmisano <redclay81@gmail.com>:
Bug#422475; Package matplotlib. (full text, mbox, link).


Acknowledgement sent to Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com>:
Extra info received and forwarded to list. Copy sent to Vittorio Palmisano <redclay81@gmail.com>. (full text, mbox, link).


Message #27 received at 422475@bugs.debian.org (full text, mbox, reply):

From: Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com>
To: 422475@bugs.debian.org
Subject: 422475 is fixed in experimental
Date: Tue, 17 Jul 2007 09:41:05 -0500
[Message part 1 (text/plain, inline)]
fixed 422475 0.90.1-1
thanks

I have verified that the version of matplotlib in experimental builds
properly. In case someone wants to backport the patch to unstable, instead of
uploading that version to unstable, it appears that the propper change would 
be to define

DEFPY := $(shell pyversions -v -d)

at the start of debian/rules plus the following minor change to Amit's patch

---------------------------------------------------------------------------
--- matplotlib-0.90.0/debian/rules	2007-06-15 15:53:45.000000000 +0300
+++ matplotlib-0.90.0.nw/debian/rules	2007-06-15 14:50:10.000000000 +0300
@@ -70,7 +70,7 @@
 	# autobuilders.
 	# The plugin abbreviations are:
 	#  ns_ = numpy, na_ = numarray, nc_ = numeric
-	for v in $(PYVERS); do \
+	for v in $(DEFPY); do \
 		for p in na ns nc; do \
 			for f in transforms.so image.so cntr.so nxutils.so; do \
 				# Check for these four files for each plugin: \

---------------------------------------------------------------------------
[signature.asc (application/pgp-signature, inline)]

Bug marked as fixed in version 0.90.1-1. Request was from Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com> to control@bugs.debian.org. (Tue, 17 Jul 2007 14:42:07 GMT) (full text, mbox, link).


Reply sent to Alexandre Fayolle <afayolle@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #34 received at 422475-close@bugs.debian.org (full text, mbox, reply):

From: Alexandre Fayolle <afayolle@debian.org>
To: 422475-close@bugs.debian.org
Subject: Bug#422475: fixed in matplotlib 0.90.1-2
Date: Thu, 19 Jul 2007 15:32:04 +0000
Source: matplotlib
Source-Version: 0.90.1-2

We believe that the bug you reported is fixed in the latest version of
matplotlib, which is due to be installed in the Debian FTP archive:

matplotlib_0.90.1-2.diff.gz
  to pool/main/m/matplotlib/matplotlib_0.90.1-2.diff.gz
matplotlib_0.90.1-2.dsc
  to pool/main/m/matplotlib/matplotlib_0.90.1-2.dsc
python-matplotlib-data_0.90.1-2_all.deb
  to pool/main/m/matplotlib/python-matplotlib-data_0.90.1-2_all.deb
python-matplotlib-doc_0.90.1-2_all.deb
  to pool/main/m/matplotlib/python-matplotlib-doc_0.90.1-2_all.deb
python-matplotlib_0.90.1-2_i386.deb
  to pool/main/m/matplotlib/python-matplotlib_0.90.1-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 422475@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Fayolle <afayolle@debian.org> (supplier of updated matplotlib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 19 Jul 2007 11:58:24 +0200
Source: matplotlib
Binary: python-matplotlib python-matplotlib-doc python-matplotlib-data
Architecture: source all i386
Version: 0.90.1-2
Distribution: unstable
Urgency: low
Maintainer: Vittorio Palmisano <redclay81@gmail.com>
Changed-By: Alexandre Fayolle <afayolle@debian.org>
Description: 
 python-matplotlib - python based plotting system in a style similar to Matlab
 python-matplotlib-data - python based plotting system (data package)
 python-matplotlib-doc - python based plotting system (documentation package)
Closes: 403198 406176 410777 411709 421593 422475 422711 425906 426953
Changes: 
 matplotlib (0.90.1-2) unstable; urgency=low
 .
   * Upload to unstable and not experimental (closes: #411709)
   * New version can coexist with python-numpy (closes: #426953)
   * Removed spurious dependency on python-gst (closes: #422711)
   * New package correctly detects numpy, numeric and numarray (closes: #425906)
   * applied debian/rules patch for the check that plugins were built (closes: #422475)
   * Changed dependency on dvipng to a recommendation (closes: #403198)
   * use texlive instead of tetex (closes:  #406176)
   * added suggests on texlive-latex-extra (closes: #410777)
   * reworded the description bit about "publication quality" (closes: #421593)
Files: 
 85b6d9d8f290a29a4b837c19f870f266 1366 python optional matplotlib_0.90.1-2.dsc
 b5b8f18e9e5d9ed13d82c1eb4093b3bf 16667 python optional matplotlib_0.90.1-2.diff.gz
 d95c549d2a7fa9d0ce7ee46530bd04d0 493428 python optional python-matplotlib-data_0.90.1-2_all.deb
 82ed29f4cf7d28deadfaa55dae11df2f 677728 python optional python-matplotlib-doc_0.90.1-2_all.deb
 e4a8e42f2254b5d4d5aa5bb7a046eeec 4608688 python optional python-matplotlib_0.90.1-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRp99/V6T+PKoJ87eAQKl8AgAgsgxN6/Y++rCx159OWFAeCXKbsWI7p+6
QPYjQGGQ+7WNmdowAx7EHUhczCzkqG05Kvlz/YwqlYeIQF9+tK1Ld+yFiMWSegaK
73iMfyll2P+l28zket4Xry5HJx0CkGWYALvb0xT6bG1Lv3aECXaoIca1F9IdXEb/
pdt7b5BWJFtLS61EuSobWCsuAFodjWveySStCBpdec1IBU2Wvn+J0foZEQfeGIWW
ea035Q/55zWEaiovAoPJsnn74CUvWZmRl7lZiO+aHjBsOmhALdnUlMPZ5no3gOsE
E0BYkKjeNb8o/6f6ttBnKBGwIEtM13RLbDHwt6gGHKSi+PnF6DH4CA==
=lfWc
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 16 Mar 2009 09:59:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 20:27:26 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.