Package Details: python-cgal 5.5.2.post202303131425.r1.gd5e2662-1

Git Clone URL: https://aur.archlinux.org/cgal-swig-bindings.git (read-only, click to copy)
Package Base: cgal-swig-bindings
Description: CGAL bindings using SWIG
Upstream URL: https://github.com/CGAL/cgal-swig-bindings
Licenses: GPL3
Submitter: xantares
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2015-09-17 05:28 (UTC)
Last Updated: 2023-05-28 03:27 (UTC)

Latest Comments

ivanc1 commented on 2022-10-27 17:30 (UTC)

Encountering an error due to tbb:

[ 51%] Building CXX object SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/__/__/build-java/CGAL/Mesh_3/CGAL_Mesh_3JAVA_wrap.cxx.o
In file included from /usr/include/CGAL/Mesh_3/Mesher_3.h:41,
             from /usr/include/CGAL/refine_mesh_3.h:28,
             from /usr/include/CGAL/make_mesh_3.h:26,
             from /home/ivan/builds/cgal-swig-bindings/src/cgal-swig-bindings/SWIG_CGAL/Mesh_3/typedefs.h:17,
             from /home/ivan/builds/cgal-swig-bindings/src/cgal-swig-bindings/SWIG_CGAL/Mesh_3/all_includes.h:9,
             from /home/ivan/builds/cgal-swig-bindings/src/cgal-swig-bindings/build/build-java/CGAL/Mesh_3/CGAL_Mesh_3JAVA_wrap.cxx:312:
/usr/include/CGAL/Mesh_3/Refine_facets_3.h:29:12: fatal error: tbb/parallel_do.h: No such file or directory
   29 |   #include <tbb/parallel_do.h>
      |            ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/build.make:76: SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/__/__/build-java/CGAL/Mesh_3/CGAL_Mesh_3JAVA_wrap.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2893: SWIG_CGAL/Mesh_3/CMakeFiles/CGAL_Mesh_3.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Found this, may be relevant.

xantares commented on 2022-01-09 16:19 (UTC)

maybe not enough memory, try make -j1

carlosal1015 commented on 2022-01-09 14:58 (UTC)

Hi, I have the following message error:

[ 72%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Convex_hull_2.so
[ 72%] Built target CGAL_Convex_hull_2_python
[ 73%] Building CXX object SWIG_CGAL/Triangulation_3/CMakeFiles/CGAL_Triangulation_3_python.dir/__/__/build-python/CGAL/CGAL_Triangulation_3PYTHON_wrap.cxx.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [SWIG_CGAL/Mesh_2/CMakeFiles/CGAL_Mesh_2_python.dir/build.make:76: SWIG_CGAL/Mesh_2/CMakeFiles/CGAL_Mesh_2_python.dir/__/__/build-python/CGAL/CGAL_Mesh_2PYTHON_wrap.cxx.o] Error 1
make[2]: *** Deleting file 'SWIG_CGAL/Mesh_2/CMakeFiles/CGAL_Mesh_2_python.dir/__/__/build-python/CGAL/CGAL_Mesh_2PYTHON_wrap.cxx.o'
make[1]: *** [CMakeFiles/Makefile2:1265: SWIG_CGAL/Mesh_2/CMakeFiles/CGAL_Mesh_2_python.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 74%] Linking CXX shared module ../../build-python/CGAL/_CGAL_HalfedgeDS.so
[ 74%] Built target CGAL_HalfedgeDS_python
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3_python.dir/build.make:76: SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3_python.dir/__/__/build-python/CGAL/CGAL_Point_set_processing_3PYTHON_wrap.cxx.o] Error 1
make[2]: *** Deleting file 'SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3_python.dir/__/__/build-python/CGAL/CGAL_Point_set_processing_3PYTHON_wrap.cxx.o'
make[1]: *** [CMakeFiles/Makefile2:1637: SWIG_CGAL/Point_set_processing_3/CMakeFiles/CGAL_Point_set_processing_3_python.dir/all] Error 2
[ 75%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Polyhedron_3.so
[ 75%] Built target CGAL_Polyhedron_3_python
[ 76%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Point_set_3.so
[ 76%] Built target CGAL_Point_set_3_python
[ 77%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Box_intersection_d.so
[ 77%] Built target CGAL_Box_intersection_d_python
[ 78%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Spatial_searching.so
[ 78%] Built target CGAL_Spatial_searching_python
[ 79%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Interpolation.so
[ 79%] Built target CGAL_Interpolation_python
[ 80%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Shape_detection.so
[ 80%] Built target CGAL_Shape_detection_python
[ 81%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Convex_hull_3.so
[ 81%] Built target CGAL_Convex_hull_3_python
[ 82%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Advancing_front_surface_reconstruction.so
[ 82%] Built target CGAL_Advancing_front_surface_reconstruction_python
[ 83%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Kernel.so
[ 83%] Built target CGAL_Kernel_python
[ 84%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Classification.so
[ 84%] Built target CGAL_Classification_python
[ 85%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Polyline_simplification_2.so
[ 85%] Built target CGAL_Polyline_simplification_2_python
[ 86%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Triangulation_3.so
[ 86%] Built target CGAL_Triangulation_3_python
[ 87%] Linking CXX shared module ../../build-python/CGAL/_CGAL_Polygon_mesh_processing.so
[ 87%] Built target CGAL_Polygon_mesh_processing_python
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().

xantares commented on 2018-11-06 17:16 (UTC)

@aOaO it would be smarter to fix the java build if possible, could you give the compile logs ?

a0a0 commented on 2018-11-06 16:47 (UTC)

if you get an error like this:

==> Starting package_java-cgal()...
cp: cannot stat 'build-java/CGAL': No such file or directory
==> ERROR: A failure occurred in package_java-cgal().

and you do not use it for java, edit PKGBUILD:

-pkgname=('python-cgal' 'java-cgal')
+pkgname=('python-cgal')

about this step I am not sure if it is necessary, but it worked for me.

package_java-cgal()
{
-  depends=('java-runtime' 'cgal')

-  cd "$srcdir"/cgal-swig-bindings/build
-  install -d "$pkgdir"/usr/share/java/
-  cp -r build-java/CGAL "$pkgdir"/usr/share/java
#   make DESTDIR="$pkgdir" install
+  echo "nothing to do"
}

davidmcinnis commented on 2016-07-16 05:35 (UTC)

Works now! Thanks.

xantares commented on 2015-09-18 06:28 (UTC)

@davidmcinnis please provide full logs then

davidmcinnis commented on 2015-09-17 19:26 (UTC)

python-cgal fails for build for me. I get the following message: ==> Starting package_python-cgal()... cp: cannot stat ‘build-python/CGAL’: No such file or directory