[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Branch unlinked: lp:ubuntu/natty/python-scipy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/302649 Title: scipy.weave.inline compilation fails with gcc 4.3 To manage notifications about this bug go to: https://bugs.launchpad.net/scipy/+bug/302649/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Branch linked: lp:debian/experimental/python-scipy ** Branch linked: lp:ubuntu/python-scipy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/302649 Title: scipy.weave.inline compilation fails with gcc 4.3 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: python-scipy (Debian) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/302649 Title: scipy.weave.inline compilation fails with gcc 4.3 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
This bug was fixed in the package python-scipy - 0.7.0-2ubuntu0.1 --- python-scipy (0.7.0-2ubuntu0.1) lucid-proposed; urgency=low * Fix scipy.weave.inline compilations (LP: #302649) -- Sameer MorarThu, 30 Sep 2010 15:32:13 +0200 ** Changed in: python-scipy (Ubuntu Lucid) Status: Fix Committed => Fix Released -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: python-scipy (Debian) Status: Unknown => Fix Committed -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Addendum to comment 24: To verify the fix, python-dev needs to be installed. Will open this as a separate bug, as python-scipy does not recommend or suggest python-dev to be installed. ** Tags added: verification-done ** Tags removed: verification-needed -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
The new package works for me. -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Branch linked: lp:ubuntu/lucid-proposed/python-scipy -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Accepted python-scipy into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Uploaded to lucid-proposed, pending SRU team verification. ** Changed in: python-scipy (Ubuntu Lucid) Importance: Undecided => Low ** Changed in: python-scipy (Ubuntu Lucid) Status: New => Fix Committed -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Branch linked: lp:ubuntu/python-scipy -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
This bug was fixed in the package python-scipy - 0.7.2-2ubuntu1 --- python-scipy (0.7.2-2ubuntu1) maverick; urgency=low * debian/patches/blitz++.patch: - Fix scipy.weave.inline compilations (LP: #302649) -- Sameer MorarWed, 29 Sep 2010 13:42:10 +0200 ** Changed in: python-scipy (Ubuntu) Status: Fix Committed => Fix Released -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Tags added: patch -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Bug watch added: Debian Bug tracker #598520 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598520 ** Also affects: python-scipy (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598520 Importance: Unknown Status: Unknown -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Package changed: python-scipy (Debian) => blitz++ (Debian) -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Here is a patch for lucid ** Patch added: "Patch for lucid" https://bugs.launchpad.net/ubuntu/+source/python-scipy/+bug/302649/+attachment/1653309/+files/python-scipy_0.7.0-2ubuntu1.debdiff -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Here is a patch for lucid ** Patch added: "Patch for lucid" https://bugs.launchpad.net/ubuntu/+source/python-scipy/+bug/302649/+attachment/1653308/+files/python-scipy_0.7.0-2ubuntu1.debdiff -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: python-scipy (Ubuntu Lucid) Assignee: (unassigned) => Sameer Morar (smorar) -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Also affects: python-scipy (Ubuntu Lucid) Importance: Undecided Status: New -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Thanks for the patch, I'll forward this to Debian ** Changed in: python-scipy (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: python-scipy (Ubuntu) Assignee: Stefano Rivera (stefanor) => Sameer Morar (smorar) -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Updated patch - added an cstdlib include to prettyprint.h Change reference to launchpad bug number. Updated the Patch Tags to only use a description and bug-ubuntu fields. ** Patch added: "Patch v2" https://bugs.launchpad.net/ubuntu/+source/python-scipy/+bug/302649/+attachment/1652978/+files/python-scipy_0.7.2-2ubuntu1.debdiff -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: python-scipy (Ubuntu) Assignee: (unassigned) => Stefano Rivera (stefanor) -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Patch to fix this bug ** Patch added: "Patch to fix this bug" https://bugs.launchpad.net/ubuntu/+source/python-scipy/+bug/302649/+attachment/1652837/+files/python-scipy_0.7.2-2ubuntu1.debdiff -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
The fix for this bug is simple. As per the debian patch linked to below, one needs to add an include for cstdlib above the BZ_NAMESPACE(blitz) call in the following files: /usr/share/pyshared/scipy/weave/blitz/blitz/blitz.h /usr/share/pyshared/scipy/weave/blitz/blitz/mathfunc.h http://bugs.debian.org/cgi- bin/bugreport.cgi?msg=10;filename=blitz%2B%2B.patch;att=1;bug=455661 This fix works for me by manually editing those files. -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Err, meant to add, obviously this is now an issue with 4.4 -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Matthias: Haven't had a proper look at these headers, but the test case attached to this bug seems to show up some bugs in them. Full output attached In file included from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/applics.h:394, from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecexpr.h:26, from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecpick.cc:16, from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecpick.h:287, from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vector.h:443, from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/tinyvec.h:424, from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array-impl.h:38, from /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array.h:26, from /home/stefanor/.python26_compiled/sc_3ec397f0c53c3b3e50e2375deba7b7ed1.cpp:11: /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h: In static member function ‘static long int blitz::_bz_abs::apply(long int)’: /usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h:45: error: ‘labs’ is not a member of ‘std’ ** Attachment added: "weave_test.log" https://bugs.edge.launchpad.net/ubuntu/+source/python-scipy/+bug/302649/+attachment/1652565/+files/weave_test.log ** Changed in: python-scipy (Ubuntu) Status: Incomplete => Confirmed -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Sameer, Stefano, what is the problem in maverick? ** Changed in: python-scipy (Ubuntu) Status: Confirmed => Incomplete -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: python-scipy (Ubuntu) Status: Incomplete => Confirmed -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
This bug still exists in ubuntu 10.10: smo...@spud:~/$ dpkg -l|grep scipy ii python-scipy 0.7.2-2 -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: scipy Status: Fix Released => New -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
changing the compiler to g++-4.2 it works... Karmic comes with g++-4.4 though -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
The weave bug seems to be still present in scipy 0.7.1 I am running Ubuntu 9.10 (Karmic) and have scipy installed from source (since it is not in the repos) without problems, the required Atlas, ... libraries were installed using synaptic ipython: In [2]: scipy.__version__ Out[2]: '0.7.1' Running a weave.blitz test routine: "... weave.inline(code, vars, type_converters = weave.converters.blitz) ..." Output is: starting weavefunc.. In file included from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/applics.h:394, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecexpr.h:26, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecpick.cc:16, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecpick.h:287, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vector.h:443, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/tinyvec.h:424, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array-impl.h:38, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array.h:26, from /home/jakob/.python26_compiled/sc_6211de8cbbdd4538661eae1a48c2a9890.cpp:11: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h: In static member function ‘static long int blitz::_bz_abs::apply(long int)’: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h:45: error: ‘labs’ is not a member of ‘std’ In file included from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array/funcs.h:23, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array/newet.h:23, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array/et.h:21, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array-impl.h:2509, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array.h:26, from /home/jakob/.python26_compiled/sc_6211de8cbbdd4538661eae1a48c2a9890.cpp:11: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/funcs.h: In static member function ‘static int blitz::Fn_abs::apply(int)’: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/funcs.h:503: error: call of overloaded ‘abs(int&)’ is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/funcs.h: In static member function ‘static long int blitz::Fn_abs::apply(long int)’: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/funcs.h:524: error: ‘labs’ is not a member of ‘std’ In file included from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/applics.h:394, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecexpr.h:26, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecpick.cc:16, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vecpick.h:287, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/vector.h:443, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/tinyvec.h:424, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array-impl.h:38, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array.h:26, from /home/jakob/.python26_compiled/sc_6211de8cbbdd4538661eae1a48c2a9890.cpp:11: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h: In static member function ‘static long int blitz::_bz_abs::apply(long int)’: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h:45: error: ‘labs’ is not a member of ‘std’ In file included from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array/funcs.h:23, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array/newet.h:23, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array/et.h:21, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array-impl.h:2509, from /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/array.h:26, from /home/jakob/.python26_compiled/sc_6211de8cbbdd4538661eae1a48c2a9890.cpp:11: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/funcs.h: In static member function ‘static int blitz::Fn_abs::apply(int)’: /usr/local/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/funcs.h:5
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Note that according to the scipy bug tracker, this isn't going to be fixed until scipy 0.7.1, which means that this bug still exists in ubuntu 9.04. -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: python-scipy (Debian) Status: Unknown => Fix Released -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
This bug was fixed in the package python-scipy - 0.7.0-0ubuntu1 --- python-scipy (0.7.0-0ubuntu1) jaunty; urgency=low * New upstream version (LP: #285936, #299375, #302649). * Apply changes from Debian's python-modules team, thanks! * debian/rules: make python-scipy ready for Python 2.6 (LP: #336239): - Include /usr/share/python/python.mk. - Pass $(py_setup_install_args) macro to setup.py install. - Remove some files present in new dist-packages directory too. -- Luca FalavignaMon, 02 Mar 2009 17:28:08 +0100 ** Changed in: python-scipy (Ubuntu) Status: Fix Committed => Fix Released -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Fixed upstream with new 0.7.0. ** Changed in: python-scipy (Ubuntu) Importance: Undecided => Medium Status: New => Fix Committed -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Changed in: scipy Status: Unknown => Fix Released -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Also affects: scipy via http://projects.scipy.org/scipy/scipy/ticket/739 Importance: Unknown Status: Unknown ** Also affects: python-scipy (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455661 Importance: Unknown Status: Unknown -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
I can confirm the bug and workaround of linking g++-4.2. For reference, here is the upstream ticket: http://www.scipy.org/scipy/scipy/ticket/739 What Matthias has noted is present in the debian patch. And the original (as far as I can tell) mention of this problem on the debian list, more than a year ago: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455661 -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
an include of cstdlib seems to be missing. -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
** Description changed: Binary package hint: python-scipy The compiler fails with the following error: In file included from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/applics.h:400, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecexpr.h:32, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.cc:16, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.h:293, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vector.h:449, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/tinyvec.h:430, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:44, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32, from /home/smorar/.python25_compiled/sc_b1d4a37f384bb7ae593fe0b86178e5990.cpp:11: /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h: In static member function ‘static long int blitz::_bz_abs::apply(long int)’: /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h:45: error: ‘labs’ is not a member of ‘std’ In file included from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/funcs.h:29, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/newet.h:29, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/et.h:27, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:2515, from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32, from /home/smorar/.python25_compiled/sc_b1d4a37f384bb7ae593fe0b86178e5990.cpp:11: /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static member function ‘static int blitz::Fn_abs::apply(int)’: /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:509: error: call of overloaded ‘abs(int&)’ is ambiguous /usr/include/c++/4.3/cmath:99: note: candidates are: double std::abs(double) /usr/include/c++/4.3/cmath:103: note: float std::abs(float) /usr/include/c++/4.3/cmath:107: note: long double std::abs(long double) /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static member function ‘static long int blitz::Fn_abs::apply(long int)’: /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:530: error: ‘labs’ is not a member of ‘std’ This problem can be worked around by changing /usr/bin/g++ from g++-4.3 to point to g++-4.2 + + I am using Intrepid + [EMAIL PROTECTED]:/usr/bin# dpkg -l|grep python-scipy + ii python-scipy 0.6.0-11 scientific tools for Python -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Attached is some python code which demonstrates the bug. To reproduce, please follow the following steps: 1) Ensure that gcc-4.3 is installed: [EMAIL PROTECTED]:/usr/bin# ls -la g++ lrwxrwxrwx 1 root root 7 2008-11-27 02:37 g++ -> g++-4.3 2) Remove pre-compiled python snippets [EMAIL PROTECTED]:~$ rm -rf /home/smorar/.python25_compiled/ 3) Run code [EMAIL PROTECTED]:~$ python weave_test.py The compilation will fail with the above error. To demonstrate that this is related to the latest gcc: 1) Ensure that gcc-4.2 is installed [EMAIL PROTECTED]:/usr/bin# rm g++ [EMAIL PROTECTED]:/usr/bin# ln -s g++-4.2 g++ 2) Remove pre-compiled python snippets [EMAIL PROTECTED]:~$ rm -rf /home/smorar/.python25_compiled/ 3) Run code [EMAIL PROTECTED]:~$ python weave_test.py The compilation will succeed (with many compiler warnings), and the python / c code produces the expected output. ** Attachment added: "Example python code which demonstrates the bug" http://launchpadlibrarian.net/19978957/weave_test.py -- scipy.weave.inline compilation fails with gcc 4.3 https://bugs.launchpad.net/bugs/302649 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs