Bug 2217962 - prusa-slicer: FTBFS in Fedora Rawhide
Summary: prusa-slicer: FTBFS in Fedora Rawhide
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: prusa-slicer
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: 2036372 F39FTBFS F40FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2023-06-27 16:32 UTC by Jonathan Wakely
Modified: 2023-08-16 08:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Wakely 2023-06-27 16:32:09 UTC
Description of problem:
Package prusa-slicer fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
2.4.2-9.fc39

Steps to Reproduce:
koji build --scratch f39 prusa-slicer-2.4.2-9.fc39.src.rpm

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

Reproducible: Always




It seems to be due to a change in the boost iterator facade:

/builddir/build/BUILD/PrusaSlicer-version_2.4.2/src/libslic3r/MeshBoolean.cpp: In instantiation of 'Slic3r::TriangleMesh Slic3r::MeshBoolean::cgal::cgal_to_triangle_mesh(const _Mesh&) [with _Mesh = CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >]':
/builddir/build/BUILD/PrusaSlicer-version_2.4.2/src/libslic3r/MeshBoolean.cpp:184:33:   required from here
/builddir/build/BUILD/PrusaSlicer-version_2.4.2/src/libslic3r/MeshBoolean.cpp:150:5: error: cannot bind non-const lvalue reference of type 'CGAL::SM_Vertex_index&' to an rvalue of type 'boost::iterators::detail::iterator_facade_base<CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Index_iterator<CGAL::SM_Vertex_index>, CGAL::SM_Vertex_index, std::random_access_iterator_tag, CGAL::SM_Vertex_index, long int, false, false>::reference' {aka 'CGAL::SM_Vertex_index'}
  150 |     for (auto &vi : vertices) {
      |     ^~~
/builddir/build/BUILD/PrusaSlicer-version_2.4.2/src/libslic3r/MeshBoolean.cpp:155:5: error: cannot bind non-const lvalue reference of type 'CGAL::SM_Face_index&' to an rvalue of type 'boost::iterators::detail::iterator_facade_base<CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Index_iterator<CGAL::SM_Face_index>, CGAL::SM_Face_index, std::random_access_iterator_tag, CGAL::SM_Face_index, long int, false, false>::reference' {aka 'CGAL::SM_Face_index'}
  155 |     for (auto &face : faces) {
      |     ^~~

Comment 1 Fedora Release Engineering 2023-08-16 08:11:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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