Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2217962 - prusa-slicer: FTBFS in Fedora Rawhide
Summary: prusa-slicer: FTBFS in Fedora Rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: prusa-slicer
Version: 39
Hardware: Unspecified
OS: Linux
Target Milestone: ---
Assignee: Jan Staněk
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F39FTBFS F40FTBFS 2036372 2246613
TreeView+ depends on / blocked
Reported: 2023-06-27 16:32 UTC by Jonathan Wakely
Modified: 2023-11-07 13:28 UTC (History)
5 users (show)

Fixed In Version: prusa-slicer-2.4.2-11.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-11-07 13:28:30 UTC
Type: ---

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):

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:

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.

Comment 2 Jan Staněk 2023-11-06 11:59:51 UTC
I'm taking a look at this, and seems to be on a way to fix.

This upstream commit seems to address the issue:

Comment 3 Fedora Update System 2023-11-07 13:25:07 UTC
FEDORA-2023-0155d6a63c has been submitted as an update to Fedora 40.

Comment 4 Fedora Update System 2023-11-07 13:28:30 UTC
FEDORA-2023-0155d6a63c has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

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