Search Criteria
Package Details: python-graph-tool 2.80-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-graph-tool.git (read-only, click to copy) |
---|---|
Package Base: | python-graph-tool |
Description: | A Python module for manipulation and statistical analysis of graphs |
Upstream URL: | https://graph-tool.skewed.de |
Keywords: | graphs networks science |
Licenses: | LGPL3 |
Conflicts: | python3-graph-tool |
Provides: | python3-graph-tool |
Replaces: | python3-graph-tool |
Submitter: | muellner |
Maintainer: | count0 |
Last Packager: | count0 |
Votes: | 29 |
Popularity: | 0.000000 |
First Submitted: | 2013-11-24 19:22 (UTC) |
Last Updated: | 2024-12-02 12:45 (UTC) |
Dependencies (15)
- boost-libs
- cairomm-1.16
- cgal (cgal-gitAUR)
- expat (expat-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-cairo (python-cairo-gitAUR)
- python-gobject
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-scipy (python-scipy-gitAUR, python-scipy-mklAUR, python-scipy-mkl-tbbAUR, python-scipy-mkl-binAUR)
- python-zstandard
- autoconf-archive (autoconf-archive-gitAUR) (make)
- boost (boost-gitAUR) (make)
- sparsehash (make)
- graphviz (optional) – graph layout
- python-matplotlib (python-matplotlib-gitAUR) (optional) – graph drawing
Latest Comments
1 2 3 4 5 6 .. 15 Next › Last »
count0 commented on 2024-07-15 14:36 (UTC)
FYI, the compilation errors below have been fixed for some time upstream.
aeden commented on 2023-09-13 04:21 (UTC)
I got past the compiler error by adding
to
src/graph/gml.hh
, directly after#include <boost/spirit/include/support_istream_iterator.hpp>
Someone needs to file a bug report upstream.
aeden commented on 2023-09-13 02:59 (UTC) (edited on 2023-09-13 03:00 (UTC) by aeden)
Could not make package. Compiler errors:
count0 commented on 2022-12-09 13:51 (UTC)
I've incorporated your suggestion, which indeed is enough to prevent the runtime errors.
I've investigated further and found the source of the problem. It's entirely innocuous, and the vector access in question would be completely optimized away if it weren't for the assert itself. 🤦
I've fixed it upstream, but I will keep this fix here, since I don't understand why asserts should be turned on by default in production code. The assert that fails here is evoked in every vector access!!! I'm glad the user got an error instead of a super slow code... Otherwise this performance regression would have passed unnoticed.
lahwaacz commented on 2022-12-09 07:05 (UTC)
@count0 OK, I've got it. In that case, I propose the following which removes the one flag from default
/etc/makepkg.conf
which triggers the assertions:Those assertion errors still indicate an error, though. Some code in graph-tool or boost-python or something is most likely abusing the STL. Has anyone reported the issue?
jg-you commented on 2022-12-09 02:29 (UTC)
@count0 Thanks for the patch; I just successfully rebuilt from the AUR and do not get STL assertion errors anymore.
count0 commented on 2022-12-08 22:45 (UTC)
@lahwaacz Building the package is not the issue — the problem here are the arbitrary assertion errors that come from within STL code. Take a look at the example from @johnabs below. Are you able to reproduce this error?
lahwaacz commented on 2022-12-08 20:02 (UTC)
@count0: Your change completely disregards all CXXFLAGS set in /etc/makepkg.conf which goes against the Arch package guidelines. Can you explain the "pollution" and which flags actually make the build fail?
FWIW, I just successfully built the package before the last change (using a clean chroot), which resulted in these flags being used:
count0 commented on 2022-12-08 18:37 (UTC)
The problems below are due to the pollution of CXXFLAGS with some unnecessary and destructive flags. I've pushed a new version of the package the prevents this from happening. Please test!
jg-you commented on 2022-12-08 18:15 (UTC)
Confirming that I am getting the same assertion failure as @johnabs and @chmue with the AUR version and that a git build works.
1 2 3 4 5 6 .. 15 Next › Last »