Debian Bug report logs -
#806867
python-scipy: FTBFS when built with dpkg-buildpackage -A (No module named scipy)
Reported by: Santiago Vila <sanvila@debian.org>
Date: Wed, 2 Dec 2015 12:12:13 UTC
Severity: serious
Found in version python-scipy/0.16.1-1
Fixed in version python-scipy/0.18.1-1
Done: Julian Taylor <jtaylor.debian@googlemail.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Wed, 02 Dec 2015 12:12:17 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Wed, 02 Dec 2015 12:12:17 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:python-scipy
Version: 0.16.1-1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
(export MPLCONFIGDIR=. ; make -C doc html PYTHONPATH=../build/lib.linux-x86_64-2.7)
make[1]: Entering directory '/<<PKGBUILDDIR>>/doc'
mkdir -p build/html build/doctrees
LANG=C sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.3.1
Exception occurred:
File "conf.py", line 58, in <module>
import scipy
ImportError: No module named scipy
The full traceback has been saved in /tmp/sphinx-err-dX0KL_.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Makefile:87: recipe for target 'html' failed
make[1]: *** [html] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc'
debian/rules:37: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:
* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.
* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").
Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.
Thanks.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Sun, 29 May 2016 19:42:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Sun, 29 May 2016 19:42:04 GMT) (full text, mbox, link).
Message #10 received at 806867@bugs.debian.org (full text, mbox, reply):
> Exception occurred:
> File "conf.py", line 58, in <module>
> import scipy
> ImportError: No module named scipy
> The full traceback has been saved in /tmp/sphinx-err-dX0KL_.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> Makefile:87: recipe for target 'html' failed
> make[1]: *** [html] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> debian/rules:37: recipe for target 'build-indep' failed
This error message suggests that the package build may not be split
into build-arch and build-indep, because the manual needs "python-scipy"
to be present in the system and this is created in the build-arch
target.
My suggestion to fix this would be to make build-arch and build-indep
to depend on build (not the other way around) and build everything in
the build target.
The package will probably not build "optimally", but at least it
should build, and that will always be better than the current FTBFS bug.
Thanks.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Thu, 14 Jul 2016 22:14:21 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Thu, 14 Jul 2016 22:14:21 GMT) (full text, mbox, link).
Message #15 received at 806867@bugs.debian.org (full text, mbox, reply):
Greetings.
I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".
If you need help to fix this bug, please tag it as "help".
Thanks.
Severity set to 'serious' from 'important'
Request was from Santiago Vila <sanvila@debian.org>
to control@bugs.debian.org.
(Mon, 01 Aug 2016 21:15:56 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Sat, 24 Sep 2016 21:15:14 GMT) (full text, mbox, link).
Acknowledgement sent
to Sebastian Humenda <shumenda@gmx.de>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Sat, 24 Sep 2016 21:15:14 GMT) (full text, mbox, link).
Message #22 received at 806867@bugs.debian.org (full text, mbox, reply):
Just to let people know: I'm working on it and hope to upload a new package
shortly.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Sat, 24 Sep 2016 21:27:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Taylor <jtaylor.debian@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Sat, 24 Sep 2016 21:27:06 GMT) (full text, mbox, link).
Message #27 received at 806867@bugs.debian.org (full text, mbox, reply):
On 24.09.2016 23:14, Sebastian Humenda wrote:
> Just to let people know: I'm working on it and hope to upload a new package
> shortly.
>
hm I wanted to do it tomorrow, but if you have it done go ahead.
note there is a new upstream version that should be uploaded to fix
other issues.
Added tag(s) pending.
Request was from Sebastian Humenda <shumenda@gmx.de>
to control@bugs.debian.org.
(Sun, 25 Sep 2016 09:33:07 GMT) (full text, mbox, link).
Message sent on
to Santiago Vila <sanvila@debian.org>:
Bug#806867.
(Sun, 25 Sep 2016 09:33:09 GMT) (full text, mbox, link).
Message #32 received at 806867-submitter@bugs.debian.org (full text, mbox, reply):
tag 806867 pending
thanks
Hello,
Bug #806867 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
http://git.debian.org/?p=python-modules/packages/python-scipy.git;a=commitdiff;h=35c0709
---
commit 35c07094df432e474d7cce22af82aca9a7a5fe51
Author: Sebastian Humenda <shumenda@gmx.de>
Date: Sun Sep 25 11:25:24 2016 +0200
update changelog
diff --git a/debian/changelog b/debian/changelog
index a5ca27b..35cac7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
-python-scipy (0.18.1-1) UNRELEASED; urgency=medium
+python-scipy (0.18.1-1) unstable; urgency=medium
+ * team upload
* import new upstream (bug fix) release
+ * make the build-indep target execute the build target to allow the usage of
+ the module for generating the documentation (Closes: 806867)
- -- Sebastian Humenda <shumenda@gmx.de> Sat, 24 Sep 2016 19:48:37 +0200
+ -- Sebastian Humenda <shumenda@gmx.de> Sun, 25 Sep 2016 11:25:21 +0200
python-scipy (0.18.0-1) unstable; urgency=medium
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Mon, 03 Oct 2016 12:57:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Taylor <jtaylor.debian@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Mon, 03 Oct 2016 12:57:02 GMT) (full text, mbox, link).
Message #37 received at 806867@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On 24.09.2016 23:26, Julian Taylor wrote:
> On 24.09.2016 23:14, Sebastian Humenda wrote:
>> Just to let people know: I'm working on it and hope to upload a new package
>> shortly.
>>
>
> hm I wanted to do it tomorrow, but if you have it done go ahead.
> note there is a new upstream version that should be uploaded to fix
> other issues.
>
where did you get the tarball from that you pushed to git?
its different from what uscan pulls and is missing all the documentation.
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Tue, 04 Oct 2016 17:06:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Sebastian Humenda <shumenda@gmx.de>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Tue, 04 Oct 2016 17:06:02 GMT) (full text, mbox, link).
Message #42 received at 806867@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi
Julian Taylor schrieb am 03.10.2016, 14:53 +0200:
>where did you get the tarball from that you pushed to git?
>its different from what uscan pulls and is missing all the documentation.
Good question, I went to
<https://github.com/scipy/scipy/releases>, more specifically
<http://github.com/scipy/scipy/releases/download/v0.18.1/scipy-0.18.1.tar.gz>.
If that's different from what's in the git repo, I might have made a mistake. In
this case, please be so kind to correct it.
Thanks
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#806867; Package src:python-scipy.
(Tue, 04 Oct 2016 17:15:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Taylor <jtaylor.debian@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>.
(Tue, 04 Oct 2016 17:15:06 GMT) (full text, mbox, link).
Message #47 received at 806867@bugs.debian.org (full text, mbox, reply):
On 04.10.2016 19:02, Sebastian Humenda wrote:
> Hi
>
> Julian Taylor schrieb am 03.10.2016, 14:53 +0200:
>> where did you get the tarball from that you pushed to git?
>> its different from what uscan pulls and is missing all the documentation.
> Good question, I went to
> <https://github.com/scipy/scipy/releases>, more specifically
> <http://github.com/scipy/scipy/releases/download/v0.18.1/scipy-0.18.1.tar.gz>.
>
> If that's different from what's in the git repo, I might have made a mistake. In
> this case, please be so kind to correct it.
>
> Thanks
>
hi,
you must be careful with tarballs from github tags, these are straight
dumps from git and do not include submodules.
Also they are missing postprocessing which e.g. make dist or setup.py
sdist do.
I will correct the git repository, please do not commit to it for now.
You also broke the binary-arch build in your changes (dpkg-buildpackage
-B), I will fix that too.
Reply sent
to Julian Taylor <jtaylor.debian@googlemail.com>:
You have taken responsibility.
(Fri, 07 Oct 2016 11:39:06 GMT) (full text, mbox, link).
Notification sent
to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer.
(Fri, 07 Oct 2016 11:39:06 GMT) (full text, mbox, link).
Message #52 received at 806867-close@bugs.debian.org (full text, mbox, reply):
Source: python-scipy
Source-Version: 0.18.1-1
We believe that the bug you reported is fixed in the latest version of
python-scipy, which is due to be installed in the Debian FTP archive.
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 806867@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julian Taylor <jtaylor.debian@googlemail.com> (supplier of updated python-scipy 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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 25 Sep 2016 11:25:21 +0200
Source: python-scipy
Binary: python-scipy python3-scipy python-scipy-dbg python3-scipy-dbg python-scipy-doc
Architecture: source amd64 all
Version: 0.18.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Changed-By: Julian Taylor <jtaylor.debian@googlemail.com>
Description:
python-scipy - scientific tools for Python
python-scipy-dbg - scientific tools for Python - debugging symbols
python-scipy-doc - scientific library for Python - documentation
python3-scipy - scientific tools for Python 3
python3-scipy-dbg - scientific tools for Python 3 - debugging symbols
Closes: 806867
Changes:
python-scipy (0.18.1-1) unstable; urgency=medium
.
[ Julian Taylor ]
* New upstream bugfix release
.
[ Sebastian Humenda ]
* make the build-indep target execute the build target to allow the usage of
the module for generating the documentation (Closes: #806867)
Checksums-Sha1:
21d5f990541db1091c1b5de214a06ac30435d799 3160 python-scipy_0.18.1-1.dsc
94308a6b6dc6d47f965b773d4f907af5ca741415 13141689 python-scipy_0.18.1.orig.tar.gz
09bff7f9b20058304e41f548d1b71792ec8ac42d 17172 python-scipy_0.18.1-1.debian.tar.xz
960aa80dbe721a2bc364c425984b111e861e6d67 20187406 python-scipy-dbg_0.18.1-1_amd64.deb
d3ce2e175d9d19c3d166ac9df9d83a5ce2d3a140 12884562 python-scipy-doc_0.18.1-1_all.deb
bd44b9d1a24439f8db248784ee13f70b57daf5a4 8929228 python-scipy_0.18.1-1_amd64.deb
4fd0c9e1ffd758361e05bbe7d0c8595fbaff8e04 12026510 python3-scipy-dbg_0.18.1-1_amd64.deb
49bdf443a34a28ac57298faffa7f83fe88c390cb 8534728 python3-scipy_0.18.1-1_amd64.deb
Checksums-Sha256:
ab9483ea308fb1105b457261dbb93d77f2f3b75118a3e0f4f0e18733b23f95fb 3160 python-scipy_0.18.1-1.dsc
8ab6e9c808bf2fb3e8576cd8cf07226d9cdc18b012c06d9708429a821ac6634e 13141689 python-scipy_0.18.1.orig.tar.gz
02f4b1673f76fb36789f0abc03e22ae672ec3ff6ec81f7319981876127a92da9 17172 python-scipy_0.18.1-1.debian.tar.xz
b6c89ec7056eb119d7b625d955f77934b1cba1a9822c1358ab8f526ee5017c3a 20187406 python-scipy-dbg_0.18.1-1_amd64.deb
9288504129932832e9428a1d037ae3a16c2f0578803e16a60540d12d45001f68 12884562 python-scipy-doc_0.18.1-1_all.deb
6c9f05c5dff59634d2014cf5db1d718e9fb4c894d4751b0b70bb506558a354fc 8929228 python-scipy_0.18.1-1_amd64.deb
3de5fc66613399d726274b32c9777f5180a61666db4456778c3454cbef5c2614 12026510 python3-scipy-dbg_0.18.1-1_amd64.deb
b86ad3c50602cc010f2d5c937f8a785ae0def85d8c8b594dc025bf39f4bd380b 8534728 python3-scipy_0.18.1-1_amd64.deb
Files:
2f9831cd0cb59a2b42ee30afe59f902f 3160 python extra python-scipy_0.18.1-1.dsc
5fb5fb7ccb113ab3a039702b6c2f3327 13141689 python extra python-scipy_0.18.1.orig.tar.gz
79f1230be4eeb0c93d233b946a9694af 17172 python extra python-scipy_0.18.1-1.debian.tar.xz
337dd1888fabef14a1456c208f00b778 20187406 debug extra python-scipy-dbg_0.18.1-1_amd64.deb
de4f0818049db163fec27fecf0769af6 12884562 doc extra python-scipy-doc_0.18.1-1_all.deb
166a2301c34b9e1aefcca57b5015be24 8929228 python extra python-scipy_0.18.1-1_amd64.deb
a010f625ee193f8bc8f164981a7a2750 12026510 debug extra python3-scipy-dbg_0.18.1-1_amd64.deb
14abf8b80d09cbf740b71da82dd29e8d 8534728 python extra python3-scipy_0.18.1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJX931pAAoJEDLMSqwCh1b/zvEQAIA+ZEr/oIjxNeRai883w3tx
jKR/tEOfYPhvqWxQIc98kAlNHyuewERPgYIrSmvk5KfAEEG2YMYSVv7AnOE8QUOD
eP/0QQ3Pg5peWxyDZ/C8B8GMINGWMNncD97c3MRYSWdA6W8JS9GveCG1iRfXxkiH
0qku3xfw5O4OG8dz+lcOo8oDC4rDxgRV2fdOCUiQQPvPZmrUCyMUtwNJKeDX6enX
CcgEQ7d4df4j/fPYNIJRo9Zjq/ylUUUzlRUrgdRoHZRaDlfRMq7275P6mS0rqe8e
fxqTXX5tPPfdy7mB0mQqC2b+5gOe+jJ1uh/VdUHAPAlr3VTXnwpmBSdVSLaDxaL2
Smuada/FKAAMBZNf5xNbdCGvgeWY3auXWZ5TxfYwe2SFg3X5x78O0xFogyRWFrHA
rdbwhPfqff7NRrfwBubjdP9nvTUilmFNR3/sxItWcgdBM85o/frq4jLhQu9gsc+o
Jz/JvImawI46Iox2pf4sZi03w9knGGQMcugc6sEtkSVaxxATminLLgHJkMf97yZZ
bUzkUySDivOQPpKyGfhyAgkzSK3RGPUdwwa3GgHqbIe+qdVcnDMlBKiCRs+zRbws
9xZWnMqyAvpBlzYwotggEyQBgYMqANBQrE32e9w4KhdvWLGu5dJuKeqBpr6HHi7e
0saEvrp0c6qSkZw8sakT
=etoW
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 05 Nov 2016 07:32:25 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:
Mon Oct 23 00:05:38 2017;
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.