Bug 1922297 - python-pynest2d: FTBFS in Fedora rawhide
Summary: python-pynest2d: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pynest2d
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F34FTBFS PYTHON3.10
TreeView+ depends on / blocked
 
Reported: 2021-01-29 15:36 UTC by Tomáš Hrnčiar
Modified: 2021-01-29 16:11 UTC (History)
3 users (show)

Fixed In Version: python-pynest2d-4.8.0-2.fc34
Clone Of:
Environment:
Last Closed: 2021-01-29 16:11:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log from Koji (2.11 MB, text/plain)
2021-01-29 15:43 UTC, Miro Hrončok
no flags Details

Description Tomáš Hrnčiar 2021-01-29 15:36:07 UTC
Description of problem:
Package python-pynest2d fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
4.8.0-1.fc34

Steps to Reproduce:
koji build --scratch f34 python-pynest2d-4.8.0-1.fc34.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-pynest2d

Comment 1 Miro Hrončok 2021-01-29 15:43:25 UTC
Created attachment 1752103 [details]
build.log from Koji

Looks like it is boost relevant.

Most of the errors come from boost itself:

[ 70%] Building CXX object CMakeFiles/python_module_pynest2d.dir/src/sippynest2dpart5.cpp.o
/usr/bin/g++ -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_THREADING_std -Dpython_module_pynest2d_EXPORTS -I/builddir/build/BUILD/pynest2d-4.8.0/src -I/usr/include/python3.9 -isystem /usr/include/polyclipping -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fPIC -std=gnu++11 -o CMakeFiles/python_module_pynest2d.dir/src/sippynest2dpart3.cpp.o -c /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart3.cpp
/usr/bin/g++ -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_THREADING_std -Dpython_module_pynest2d_EXPORTS -I/builddir/build/BUILD/pynest2d-4.8.0/src -I/usr/include/python3.9 -isystem /usr/include/polyclipping -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fPIC -std=gnu++11 -o CMakeFiles/python_module_pynest2d.dir/src/sippynest2dpart4.cpp.o -c /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart4.cpp
/usr/bin/g++ -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_THREADING_std -Dpython_module_pynest2d_EXPORTS -I/builddir/build/BUILD/pynest2d-4.8.0/src -I/usr/include/python3.9 -isystem /usr/include/polyclipping -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fPIC -std=gnu++11 -o CMakeFiles/python_module_pynest2d.dir/src/sippynest2dpart1.cpp.o -c /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart1.cpp
/usr/bin/g++ -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_THREADING_std -Dpython_module_pynest2d_EXPORTS -I/builddir/build/BUILD/pynest2d-4.8.0/src -I/usr/include/python3.9 -isystem /usr/include/polyclipping -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fPIC -std=gnu++11 -o CMakeFiles/python_module_pynest2d.dir/src/sippynest2dpart5.cpp.o -c /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart5.cpp
In file included from /usr/include/boost/geometry/geometry.hpp:26,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart2.cpp:7:
/usr/include/boost/geometry/geometry.hpp:27:1: note: '#pragma message: CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.'
   27 | BOOST_PRAGMA_MESSAGE("CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.")
      | ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/geometry/geometry.hpp:28:1: note: '#pragma message: CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.'
   28 | BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.")
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/geometry/geometry.hpp:26,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart0.cpp:7:
/usr/include/boost/geometry/geometry.hpp:27:1: note: '#pragma message: CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.'
   27 | BOOST_PRAGMA_MESSAGE("CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.")
      | ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/geometry/geometry.hpp:28:1: note: '#pragma message: CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.'
   28 | BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.")
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/geometry/geometry.hpp:26,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart4.cpp:7:
/usr/include/boost/geometry/geometry.hpp:27:1: note: '#pragma message: CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.'
   27 | BOOST_PRAGMA_MESSAGE("CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.")
      | ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/geometry/geometry.hpp:28:1: note: '#pragma message: CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.'
   28 | BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.")
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/geometry/core/tag.hpp:23,
                 from /usr/include/boost/geometry/core/ring_type.hpp:28,
                 from /usr/include/boost/geometry/core/closure.hpp:24,
                 from /usr/include/boost/geometry/geometry.hpp:34,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart2.cpp:7:
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected template-name before '<' token
   54 |     : std::conditional_t<Trait::value, conjunction<Traits...>, Trait>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected '{' before '<' token
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected template-name before '<' token
   68 |     : std::conditional_t<Trait::value, Trait, disjunction<Traits...>>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected '{' before '<' token
/usr/include/boost/geometry/util/type_traits_std.hpp:95:23: error: 'remove_cv_t' in namespace 'std' does not name a template type; did you mean 'remove_cv'?
   95 |     using type = std::remove_cv_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~
      |                       remove_cv
/usr/include/boost/geometry/util/type_traits_std.hpp:105:23: error: 'remove_const_t' in namespace 'std' does not name a template type; did you mean 'remove_const'?
  105 |     using type = std::remove_const_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
In file included from /usr/include/boost/geometry/core/tag.hpp:23,
                 from /usr/include/boost/geometry/core/ring_type.hpp:28,
                 from /usr/include/boost/geometry/core/closure.hpp:24,
                 from /usr/include/boost/geometry/geometry.hpp:34,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart4.cpp:7:
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected template-name before '<' token
   54 |     : std::conditional_t<Trait::value, conjunction<Traits...>, Trait>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected '{' before '<' token
In file included from /usr/include/boost/geometry/core/tag.hpp:23,
                 from /usr/include/boost/geometry/core/ring_type.hpp:28,
                 from /usr/include/boost/geometry/core/closure.hpp:24,
                 from /usr/include/boost/geometry/geometry.hpp:34,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart0.cpp:7:
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected template-name before '<' token
   54 |     : std::conditional_t<Trait::value, conjunction<Traits...>, Trait>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:54:25: error: expected '{' before '<' token
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected template-name before '<' token
   68 |     : std::conditional_t<Trait::value, Trait, disjunction<Traits...>>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected '{' before '<' token
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected template-name before '<' token
   68 |     : std::conditional_t<Trait::value, Trait, disjunction<Traits...>>
      |                         ^
/usr/include/boost/geometry/util/type_traits_std.hpp:68:25: error: expected '{' before '<' token
/usr/include/boost/geometry/util/type_traits_std.hpp:115:23: error: 'remove_const_t' in namespace 'std' does not name a template type; did you mean 'remove_const'?
  115 |     using type = std::remove_const_t
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
/usr/include/boost/geometry/util/type_traits_std.hpp:95:23: error: 'remove_cv_t' in namespace 'std' does not name a template type; did you mean 'remove_cv'?
   95 |     using type = std::remove_cv_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~
      |                       remove_cv
/usr/include/boost/geometry/util/type_traits_std.hpp:95:23: error: 'remove_cv_t' in namespace 'std' does not name a template type; did you mean 'remove_cv'?
   95 |     using type = std::remove_cv_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~
      |                       remove_cv
/usr/include/boost/geometry/util/type_traits_std.hpp:129:23: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
  129 |     using type = std::conditional_t
      |                       ^~~~~~~~~~~~~
      |                       conditional
/usr/include/boost/geometry/util/type_traits_std.hpp:105:23: error: 'remove_const_t' in namespace 'std' does not name a template type; did you mean 'remove_const'?
  105 |     using type = std::remove_const_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
/usr/include/boost/geometry/util/type_traits_std.hpp:105:23: error: 'remove_const_t' in namespace 'std' does not name a template type; did you mean 'remove_const'?
  105 |     using type = std::remove_const_t<std::remove_reference_t<T>>;
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
/usr/include/boost/geometry/util/type_traits_std.hpp:166:18: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
  166 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/util/type_traits_std.hpp:115:23: error: 'remove_const_t' in namespace 'std' does not name a template type; did you mean 'remove_const'?
  115 |     using type = std::remove_const_t
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
/usr/include/boost/geometry/util/type_traits_std.hpp:115:23: error: 'remove_const_t' in namespace 'std' does not name a template type; did you mean 'remove_const'?
  115 |     using type = std::remove_const_t
      |                       ^~~~~~~~~~~~~~
      |                       remove_const
/usr/include/boost/geometry/util/type_traits_std.hpp:129:23: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
  129 |     using type = std::conditional_t
      |                       ^~~~~~~~~~~~~
      |                       conditional
/usr/include/boost/geometry/util/type_traits_std.hpp:129:23: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
  129 |     using type = std::conditional_t
      |                       ^~~~~~~~~~~~~
      |                       conditional
In file included from /usr/include/boost/geometry/core/closure.hpp:24,
                 from /usr/include/boost/geometry/geometry.hpp:34,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart2.cpp:7:
/usr/include/boost/geometry/core/ring_type.hpp:96:18: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
   96 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/util/type_traits_std.hpp:166:18: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
  166 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/util/type_traits_std.hpp:166:18: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
  166 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:111:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  111 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:111:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  111 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:116:17: error: wrong number of template arguments (4, should be 2)
  116 |                 >
      |                 ^
/usr/include/boost/geometry/core/ring_type.hpp:73:8: note: provided for 'template<class GeometryTag, class Geometry> struct boost::geometry::core_dispatch::ring_return_type'
   73 | struct ring_return_type
      |        ^~~~~~~~~~~~~~~~
In file included from /usr/include/boost/geometry/core/closure.hpp:24,
                 from /usr/include/boost/geometry/geometry.hpp:34,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart4.cpp:7:
/usr/include/boost/geometry/core/ring_type.hpp:96:18: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
   96 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:108:22: error: expected nested-name-specifier
  108 |     typedef typename ring_return_type
      |                      ^~~~~~~~~~~~~~~~
  109 |         <
      |         ~             
  110 |             linestring_tag,
      |             ~~~~~~~~~~~~~~~
  111 |             std::conditional_t
      |             ~~~~~~~~~~~~~~~~~~
  112 |                 <
      |                 ~     
  113 |                     std::is_const<MultiLinestring>::value,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  114 |                     typename boost::range_value<MultiLinestring>::type const,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |                     typename boost::range_value<MultiLinestring>::type
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  116 |                 >
      |                 ~     
In file included from /usr/include/boost/geometry/core/closure.hpp:24,
                 from /usr/include/boost/geometry/geometry.hpp:34,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart0.cpp:7:
/usr/include/boost/geometry/core/ring_type.hpp:96:18: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
   96 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:127:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  127 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:111:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  111 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:111:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  111 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:127:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  127 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:132:17: error: wrong number of template arguments (4, should be 2)
  132 |                 >
      |                 ^
/usr/include/boost/geometry/core/ring_type.hpp:73:8: note: provided for 'template<class GeometryTag, class Geometry> struct boost::geometry::core_dispatch::ring_return_type'
   73 | struct ring_return_type
      |        ^~~~~~~~~~~~~~~~
/usr/include/boost/geometry/core/ring_type.hpp:111:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  111 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:124:22: error: expected nested-name-specifier
  124 |     typedef typename ring_return_type
      |                      ^~~~~~~~~~~~~~~~
  125 |         <
      |         ~             
  126 |             polygon_tag,
      |             ~~~~~~~~~~~~
  127 |             std::conditional_t
      |             ~~~~~~~~~~~~~~~~~~
  128 |                 <
      |                 ~     
  129 |                     std::is_const<MultiPolygon>::value,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  130 |                     typename boost::range_value<MultiPolygon>::type const,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  131 |                     typename boost::range_value<MultiPolygon>::type
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  132 |                 >
      |                 ~     
/usr/include/boost/geometry/core/ring_type.hpp:111:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  111 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:116:17: error: wrong number of template arguments (4, should be 2)
  116 |                 >
      |                 ^
/usr/include/boost/geometry/core/ring_type.hpp:73:8: note: provided for 'template<class GeometryTag, class Geometry> struct boost::geometry::core_dispatch::ring_return_type'
   73 | struct ring_return_type
      |        ^~~~~~~~~~~~~~~~
/usr/include/boost/geometry/core/ring_type.hpp:116:17: error: wrong number of template arguments (4, should be 2)
  116 |                 >
      |                 ^
/usr/include/boost/geometry/core/ring_type.hpp:108:22: error: expected nested-name-specifier
  108 |     typedef typename ring_return_type
      |                      ^~~~~~~~~~~~~~~~
  109 |         <
      |         ~             
  110 |             linestring_tag,
      |             ~~~~~~~~~~~~~~~
  111 |             std::conditional_t
      |             ~~~~~~~~~~~~~~~~~~
  112 |                 <
      |                 ~     
  113 |                     std::is_const<MultiLinestring>::value,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  114 |                     typename boost::range_value<MultiLinestring>::type const,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |                     typename boost::range_value<MultiLinestring>::type
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  116 |                 >
      |                 ~     
/usr/include/boost/geometry/core/ring_type.hpp:73:8: note: provided for 'template<class GeometryTag, class Geometry> struct boost::geometry::core_dispatch::ring_return_type'
   73 | struct ring_return_type
      |        ^~~~~~~~~~~~~~~~
/usr/include/boost/geometry/core/ring_type.hpp:108:22: error: expected nested-name-specifier
  108 |     typedef typename ring_return_type
      |                      ^~~~~~~~~~~~~~~~
  109 |         <
      |         ~             
  110 |             linestring_tag,
      |             ~~~~~~~~~~~~~~~
  111 |             std::conditional_t
      |             ~~~~~~~~~~~~~~~~~~
  112 |                 <
      |                 ~     
  113 |                     std::is_const<MultiLinestring>::value,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  114 |                     typename boost::range_value<MultiLinestring>::type const,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |                     typename boost::range_value<MultiLinestring>::type
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  116 |                 >
      |                 ~     
In file included from /usr/include/boost/geometry/geometry.hpp:26,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart1.cpp:7:
/usr/include/boost/geometry/geometry.hpp:27:1: note: '#pragma message: CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.'
   27 | BOOST_PRAGMA_MESSAGE("CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.")
      | ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/geometry/geometry.hpp:28:1: note: '#pragma message: CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.'
   28 | BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.")
      | ^~~~~~~~~~~~~~~~~~~~
/usr/include/boost/geometry/core/ring_type.hpp:127:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  127 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:127:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  127 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:127:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  127 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:132:17: error: wrong number of template arguments (4, should be 2)
  132 |                 >
      |                 ^
/usr/include/boost/geometry/core/ring_type.hpp:127:18: error: 'conditional_t' is not a member of 'std'; did you mean 'conditional'?
  127 |             std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
/usr/include/boost/geometry/core/ring_type.hpp:73:8: note: provided for 'template<class GeometryTag, class Geometry> struct boost::geometry::core_dispatch::ring_return_type'
   73 | struct ring_return_type
      |        ^~~~~~~~~~~~~~~~
/usr/include/boost/geometry/core/ring_type.hpp:132:17: error: wrong number of template arguments (4, should be 2)
  132 |                 >
      |                 ^
/usr/include/boost/geometry/core/ring_type.hpp:124:22: error: expected nested-name-specifier
  124 |     typedef typename ring_return_type
      |                      ^~~~~~~~~~~~~~~~
  125 |         <
      |         ~             
  126 |             polygon_tag,
      |             ~~~~~~~~~~~~
  127 |             std::conditional_t
      |             ~~~~~~~~~~~~~~~~~~
  128 |                 <
      |                 ~     
  129 |                     std::is_const<MultiPolygon>::value,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  130 |                     typename boost::range_value<MultiPolygon>::type const,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  131 |                     typename boost::range_value<MultiPolygon>::type
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  132 |                 >
      |                 ~     
/usr/include/boost/geometry/core/ring_type.hpp:73:8: note: provided for 'template<class GeometryTag, class Geometry> struct boost::geometry::core_dispatch::ring_return_type'
   73 | struct ring_return_type
      |        ^~~~~~~~~~~~~~~~
/usr/include/boost/geometry/core/ring_type.hpp:124:22: error: expected nested-name-specifier
  124 |     typedef typename ring_return_type
      |                      ^~~~~~~~~~~~~~~~
  125 |         <
      |         ~             
  126 |             polygon_tag,
      |             ~~~~~~~~~~~~
  127 |             std::conditional_t
      |             ~~~~~~~~~~~~~~~~~~
  128 |                 <
      |                 ~     
  129 |                     std::is_const<MultiPolygon>::value,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  130 |                     typename boost::range_value<MultiPolygon>::type const,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  131 |                     typename boost::range_value<MultiPolygon>::type
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  132 |                 >
      |                 ~     
In file included from /usr/include/boost/geometry/core/coordinate_type.hpp:25,
                 from /usr/include/boost/geometry/geometry.hpp:37,
                 from /usr/include/boost/geometry.hpp:17,
                 from /usr/include/libnest2d/utils/boost_alg.hpp:17,
                 from /usr/include/libnest2d/backends/clipper/geometries.hpp:348,
                 from /usr/include/libnest2d/libnest2d.hpp:7,
                 from /builddir/build/BUILD/pynest2d-4.8.0/src/Pynest2D.sip:19,
                 from /builddir/build/BUILD/pynest2d-4.8.0/x86_64-redhat-linux-gnu/src/sippynest2dpart2.cpp:7:
/usr/include/boost/geometry/util/promote_floating_point.hpp:40:18: error: 'conditional_t' in namespace 'std' does not name a template type; did you mean 'conditional'?
   40 |     typedef std::conditional_t
      |                  ^~~~~~~~~~~~~
      |                  conditional
...

Comment 2 Miro Hrončok 2021-01-29 15:56:24 UTC
'#pragma message: CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.'

That was it. But I was confused by how is this told. I'd expect it to error out with:

Boost.Geometry in Boost 1.75 onwards requires C++14.

Comment 3 Miro Hrončok 2021-01-29 15:58:54 UTC
Scratchbuild with C++14:

https://koji.fedoraproject.org/koji/taskinfo?taskID=60826155


A local mockbuild on x6_64 passed, so I assume this will as well.

Upstream: https://github.com/Ultimaker/pynest2d/pull/7


Note You need to log in before you can comment on or make changes to this bug.