[3dprinter-general] Bug#1084769: slic3r-prusa: FTBFS: error: ‘random_device’ is not a member of ‘std’
Santiago Vila
sanvila at debian.org
Tue Oct 8 00:34:54 BST 2024
Package: src:slic3r-prusa
Version: 2.8.1+dfsg2-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
/<<PKGBUILDDIR>>/tests/libslic3r/test_mutable_priority_queue.cpp:121:14: error: ‘random_device’ is not a member of ‘std’
121 | std::random_device rd;
| ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/tests/libslic3r/test_mutable_priority_queue.cpp:122:14: error: ‘mt19937’ is not a member of ‘std’
122 | std::mt19937 gen(rd());
| ^~~~~~~
/<<PKGBUILDDIR>>/tests/libslic3r/test_mutable_priority_queue.cpp:126:22: error: ‘gen’ was not declared in this scope
126 | i = dist(gen);
| ^~~
/<<PKGBUILDDIR>>/tests/libslic3r/test_mutable_priority_queue.cpp: In function ‘void CATCH2_INTERNAL_TEST_14()’:
/<<PKGBUILDDIR>>/tests/libslic3r/test_mutable_priority_queue.cpp:319:14: error: ‘random_device’ is not a member of ‘std’
319 | std::random_device rd;
| ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/tests/libslic3r/test_mutable_priority_queue.cpp:320:14: error: ‘mt19937’ is not a member of ‘std’
320 | std::mt19937 gen(rd());
| ^~~~~~~
/<<PKGBUILDDIR>>/tests/libslic3r/test_mutable_priority_queue.cpp:327:23: error: ‘gen’ was not declared in this scope
327 | int num = gen();
| ^~~
make[3]: *** [tests/libslic3r/CMakeFiles/libslic3r_tests.dir/build.make:373: tests/libslic3r/CMakeFiles/libslic3r_tests.dir/test_mutable_priority_queue.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1473: tests/libslic3r/CMakeFiles/libslic3r_tests.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
--------------------------------------------------------------------------------
The error happens in the middle of the build, so I have quoted the relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the 3dprinter-general
mailing list