Source: sfcgal Severity: serious Tags: upstream Hi,
I would like to upgrade CGAL from 4.9 to 4.11 but if I do so your package FTBFS. Therefore (and because of the SONAME transition), CGAL 4.11 has been uploaded to experimental for now instead of sid. Attached is an excerpt from the build log with the errors. Joachim -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (800, 'stable'), (700, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (200, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
from /tmp/cgal/sfcgal-1.3.1/src/Coordinate.cpp:21: /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/numeric.h:50:15: note: candidate: double SFCGAL::round(const double&) inline double round( const double& v ) ^~~~~ /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/numeric.h:50:15: note: no known conversion for argument 1 from ‘__gmp_expr<__mpq_struct [1], __gmp_binary_expr<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>, long int, __gmp_binary_multiplies> >’ to ‘const double&’ /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/numeric.h:72:23: note: candidate: CGAL::Gmpz SFCGAL::round(const CGAL::Gmpq&) SFCGAL_API CGAL::Gmpz round( const CGAL::Gmpq& v ) ; ^~~~~ /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/numeric.h:72:23: note: no known conversion for argument 1 from ‘__gmp_expr<__mpq_struct [1], __gmp_binary_expr<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>, long int, __gmp_binary_multiplies> >’ to ‘const CGAL::Gmpq&’ src/CMakeFiles/SFCGAL.dir/build.make:65: recipe for target 'src/CMakeFiles/SFCGAL.dir/Coordinate.cpp.o' failed make[3]: *** [src/CMakeFiles/SFCGAL.dir/Coordinate.cpp.o] Error 1 -- from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/Geometry.h:26, from /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/algorithm/collect.h:26, from /tmp/cgal/sfcgal-1.3.1/src/algorithm/collect.cpp:21: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~ src/CMakeFiles/SFCGAL.dir/build.make:617: recipe for target 'src/CMakeFiles/SFCGAL.dir/algorithm/Intersection3D.cpp.o' failed make[3]: *** [src/CMakeFiles/SFCGAL.dir/algorithm/Intersection3D.cpp.o] Error 1 -- /usr/include/boost/archive/detail/iserializer.hpp:369:31: required from ‘boost::archive::detail::pointer_iserializer<Archive, T>::pointer_iserializer() [with Archive = boost::archive::binary_iarchive; T = SFCGAL::Point]’ /usr/include/boost/serialization/singleton.hpp:100:7: required from ‘static T& boost::serialization::singleton<T>::get_instance() [with T = boost::archive::detail::pointer_iserializer<boost::archive::binary_iarchive, SFCGAL::Point>]’ /usr/include/boost/serialization/singleton.hpp:135:28: required from ‘static const T& boost::serialization::singleton<T>::get_const_instance() [with T = boost::archive::detail::pointer_iserializer<boost::archive::binary_iarchive, SFCGAL::Point>]’ /usr/include/boost/archive/detail/interface_iarchive.hpp:55:34: required from ‘const boost::archive::detail::basic_pointer_iserializer* boost::archive::detail::interface_iarchive<Archive>::register_type(T*) [with T = SFCGAL::Point; Archive = boost::archive::binary_iarchive]’ /tmp/cgal/sfcgal-1.3.1/src/detail/io/Serialization.cpp:59:28: required from here /usr/include/boost/serialization/access.hpp:116:11: error: ‘class __gmp_expr<__mpq_struct [1], __mpq_struct [1]>’ has no member named ‘serialize’; did you mean ‘canonicalize’? t.serialize(ar, file_version); ~~^~~~~~~~~ canonicalize src/CMakeFiles/SFCGAL.dir/build.make:1601: recipe for target 'src/CMakeFiles/SFCGAL.dir/detail/io/Serialization.cpp.o' failed make[3]: *** [src/CMakeFiles/SFCGAL.dir/detail/io/Serialization.cpp.o] Error 1 [ 39%] Building CXX object src/CMakeFiles/SFCGAL.dir/detail/polygonSetToMultiPolygon.cpp.o cd /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DCGAL_INTERSECTION_VERSION=1 -DSFCGAL_BUILD_SHARED -DSFCGAL_EXPORTS -I/tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include -I/tmp/cgal/sfcgal-1.3.1/patches/CGAL-4.3 -isystem /usr/include/x86_64-linux-gnu -g -O2 -fdebug-prefix-map=/tmp/cgal/sfcgal-1.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-long-long -pedantic -Wpointer-arith -Wcast-align -Wcast-qual -Wno-overloaded-virtual -Wformat=2 -Winit-self -Wmissing-include-dirs -Wwrite-strings -Wno-error=undef -O2 -g -DNDEBUG -fPIC -o CMakeFiles/SFCGAL.dir/detail/polygonSetToMultiPolygon.cpp.o -c /tmp/cgal/sfcgal-1.3.1/src/detail/polygonSetToMultiPolygon.cpp src/CMakeFiles/SFCGAL.dir/build.make:1625: recipe for target 'src/CMakeFiles/SFCGAL.dir/detail/io/WktReader.cpp.o' failed make[3]: *** [src/CMakeFiles/SFCGAL.dir/detail/io/WktReader.cpp.o] Error 1 -- from /usr/include/boost/shared_ptr.hpp:17, from /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/Geometry.h:26, from /tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu/include/SFCGAL/triangulate/triangulatePolygon.h:26, from /tmp/cgal/sfcgal-1.3.1/src/triangulate/triangulatePolygon.cpp:21: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~ make[3]: Target 'src/CMakeFiles/SFCGAL.dir/build' not remade because of errors. make[3]: Leaving directory '/tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu' CMakeFiles/Makefile2:91: recipe for target 'src/CMakeFiles/SFCGAL.dir/all' failed make[2]: *** [src/CMakeFiles/SFCGAL.dir/all] Error 2 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu' Makefile:143: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Target 'default_target' not remade because of errors. make[1]: Leaving directory '/tmp/cgal/sfcgal-1.3.1/obj-x86_64-linux-gnu' dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 returned exit code 2 debian/rules:22: recipe for target 'build' failed make: *** [build] Error 2
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel