[3dprinter-general] Bug#1041870: slic3r-prusa FTBFS on i386

Adrian Bunk bunk at debian.org
Mon Jul 24 18:51:04 BST 2023


Source: slic3r-prusa
Version: 2.6.0+dfsg-1
Severity: serious
Tags: ftbfs patch
Forwarded: https://github.com/prusa3d/PrusaSlicer/pull/11036

https://buildd.debian.org/status/fetch.php?pkg=slic3r-prusa&arch=i386&ver=2.6.0%2Bdfsg-1&stamp=1690032193&raw=0

...
/<<PKGBUILDDIR>>/src/libslic3r/Format/AnycubicSLA.cpp:327:15: error: no matching function for call to ‘crop_value(float_t&, float, float)’
  327 |     crop_value(h.delay_before_exposure_s, 0.0f, 1000.0f);
      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/libslic3r/Format/AnycubicSLA.cpp:219:24: note: candidate: ‘template<class T> void Slic3r::{anonymous}::crop_value(T&, T, T)’
...


Two fixes are required for fixing the build on i386
(and likely also some non-release 32bit architectures).

1. The patch from the pull request above, and

2. the following change:

--- debian/rules.old	2023-07-24 15:36:20.941771419 +0000
+++ debian/rules	2023-07-24 15:36:43.133759741 +0000
@@ -5,7 +5,7 @@
 # less debug info to avoid running out of address space
 ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
 	export DEB_CXXFLAGS_MAINT_APPEND += --param ggc-min-expand=5 -g0
-else ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
+else ifeq ($(DEB_HOST_ARCH_BITS), 32)
 	export DEB_CXXFLAGS_MAINT_APPEND += -g1
 endif
 


More information about the 3dprinter-general mailing list