Bug#1020779: slic3r-prusa: FTBFS on 32-bit arches

2022-10-15 Thread Peter Michael Green

To clarify the situation for people stumbling across this bug.

The issue in cereal was fixed, however slic3r-prusa still FTBFS because of

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021566



Bug#1020779: slic3r-prusa: FTBFS on 32-bit arches

2022-10-04 Thread Chow Loong Jin
reassign 1020779 libcereal-dev 1.3.2+dfsg-2
thanks

From the build log in [1], it looks like the build error is:

CMake Warning at cmake/modules/Findcereal.cmake:6 (find_package):
  Could not find a configuration file for package "cereal" that is compatible
  with requested version "".

  The following configuration files were considered but not accepted:

/usr/share/cmake/cereal/cerealConfig.cmake, version: 1.3.2 (64bit)

Call Stack (most recent call first):
  CMakeLists.txt:448 (find_package)

I think this is because
/usr/share/cmake/cereal/cerealConfigVersion.cmake is not actually
architecture-dependent despite being shipped in an arch:all package 
(libcereal-dev).

[1] 
https://buildd.debian.org/status/fetch.php?pkg=slic3r-prusa=i386=2.5.0%2Bdfsg-1=1663915166=0

-- 
Kind regards,
Loong Jin


signature.asc
Description: PGP signature


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

2022-09-27 Thread Gregor Riepl

Do you have a bit more context for this?

From the log, I can't see what the actual issue is.
Is it an autoconf check that fails or an actual compilation issue?

If it's a check, which one?

If it's actually in the source, the error doesn't make any sense. 
Compilation is done without -Werror, and the deprecation message is only 
a warning.




Bug#1020779: slic3r-prusa: FTBFS on 32-bit arches

2022-09-26 Thread Scott Talbert
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 
'/<>/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 
'/<>/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=/<>=. -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 
/<>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp/src.cxx
/<>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp/src.cxx: In 
function ‘int main()’:
/<>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp/src.cxx:2:33: 
warning: ‘int somefunc()’ is deprecated [-Wdeprecated-declarations]
2 | int main() { return somefunc();}
  | ^~
/<>/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=/<>=. 
-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 
'/<>/obj-arm-linux-gnueabihf/CMakeFiles/CMakeTmp'
gmake[2]: Leaving directory 
'/<>/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 '/<>'
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