[3dprinter-general] Bug#1020779: slic3r-prusa: FTBFS on 32-bit arches

Scott Talbert swt at techie.net
Mon Sep 26 16:11:58 BST 2022


Source: slic3r-prusa
Version: 2.5.0+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

slic3r-prusa 2.5.0+dfsg-1 FTBFS on 32-bit arches (armhf, i386, mipsel).

Log snippet:
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_8a1c7/fast && gmake[2]: Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp'
/usr/bin/gmake  -f CMakeFiles/cmTC_8a1c7.dir/build.make CMakeFiles/cmTC_8a1c7.dir/build
gmake[3]: Entering directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8a1c7.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_HAS_DEPRECATED_ATTR  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g1 -Wdate-time -D_FORTIFY_SOURCE=2 -fext-numeric-literals -Wall -Wno-reorder  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_8a1c7.dir/src.cxx.o -c /<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp/src.cxx
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp/src.cxx:2:33: warning: ‘int somefunc()’ is deprecated [-Wdeprecated-declarations]
    2 |     int main() { return somefunc();}
      |                         ~~~~~~~~^~
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp/src.cxx:1:37: note: declared here
    1 | __attribute__((__deprecated__)) int somefunc() { return 0; }
      |                                     ^~~~~~~~
Linking CXX executable cmTC_8a1c7
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8a1c7.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g1 -Wdate-time -D_FORTIFY_SOURCE=2 -fext-numeric-literals -Wall -Wno-reorder  -Wl,-z,relro  CMakeFiles/cmTC_8a1c7.dir/src.cxx.o -o cmTC_8a1c7 
gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp'
gmake[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp'


Source file was:
__attribute__((__deprecated__)) int somefunc() { return 0; }
    int main() { return somefunc();}
dh_auto_configure: error: cd obj-arm-linux-gnueabihf && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/arm-linux-gnueabihf -DBUILD_TESTING=1 -DCMAKE_BUILD_TYPE=Release -DOPENVDB_FIND_MODULE_PATH=/usr/lib/arm-linux-gnueabihf/cmake/OpenVDB -DSLIC3R_FHS=1 -DSLIC3R_WX_STABLE=1 -DSLIC3R_GTK=3 .. returned exit code 1
make[1]: *** [debian/rules:20: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the 3dprinter-general mailing list