Open craftyguy opened 2 years ago
Hi @craftyguy, could you please confirm, that this fix helps solve your issue with test: https://github.com/prusa3d/PrusaSlicer/commit/6ab517187fa5f3a8e2b87a59b6a50f26b3a49da6
It still fails for me:
Also, looks like the same issue here: https://github.com/void-linux/void-packages/pull/35105
and just in case there's some more context that might be useful, here's the test failure in the Alpine Linux CI:
https://gitlab.alpinelinux.org/craftyguy/aports/-/jobs/719734#L4981
There are no test failures with patches to boost. Refer to https://github.com/prusa3d/PrusaSlicer/pull/6849#issuecomment-1125598262
Boost 1.77 needs the following patches for Prusa Slicer to compile correctly: https://github.com/boostorg/math/commit/3d3d2d7467cf9e0e8dc3220cf1a2badb321df099.patch https://github.com/boostorg/geometry/commit/5110ec7daea0fef72ebdbd41c7f3392502c55945.patch https://github.com/boostorg/geometry/commit/3dbd2247b63613f68ed4feebb5f5ba390d021b39.patch
@kk6mrp hmm, the test is still failing even with the patches to boost: https://gitlab.alpinelinux.org/craftyguy/aports/-/jobs/720012#L1911
so I'm curious how/why it passed for you 😄
@craftyguy I have no idea, I built it successfully three or four times and then I've got the same issue as you now.
@Jony01 so I think it's fairly safe to say at this point that your patch doesn't resolve the failure for us. Is there anything I can collect to help?
@craftyguy would you please test the current master?
I hope I have fixed the unit tests with 15a082b80b1d9ed3cfa70d3d8133c4cd1e5d699d f5ec76c2300095f23af6be9d37488b7f434df25d
I'm having some unrelated issues trying to build master.. and it looks like those patches are not trivial (to someone unfamiliar with the codebase) to backport to the 2.4.x stable branch, which is what I've been trying to package all along. Any chance these patches could be backported to the latest stable release?
@bubnikv I can build on the latest master but some of the tests are still failing:
Test project /home/weston/dev/aports/testing/prusa-slicer/src/PrusaSlicer-master/build
Start 1: libnest2d_tests
1/5 Test #1: libnest2d_tests .................. Passed 0.54 sec
Start 2: libslic3r_tests
2/5 Test #2: libslic3r_tests ..................Subprocess aborted***Exception: 0.07 sec
[2022-07-27 23:52:18.468394] [0x00007fa796a75be0] [trace] Initializing StaticPrintConfigs
Assertion failed: scaling_factor.x() > 0.0 && scaling_factor.y() > 0.0 && scaling_factor.z() > 0.0 (/home/weston/dev/aports/testing/prusa-slicer/src/PrusaSlicer-master/src/libslic3r/Geometry.cpp: set_scaling_factor: 555)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libslic3r_tests is a Catch v2.13.6 host application.
Run with -? for options
-------------------------------------------------------------------------------
Scenario: Export+Import geometry to/from 3mf file cycle
Given: world vertices coordinates before save
-------------------------------------------------------------------------------
/home/weston/dev/aports/testing/prusa-slicer/src/PrusaSlicer-master/tests/libslic3r/test_3mf.cpp:27
...............................................................................
/home/weston/dev/aports/testing/prusa-slicer/src/PrusaSlicer-master/tests/libslic3r/test_3mf.cpp:27: FAILED:
due to a fatal error condition:
SIGABRT - Abort (abnormal termination) signal
===============================================================================
test cases: 4 | 3 passed | 1 failed
assertions: 7 | 6 passed | 1 failed
Start 3: slic3rutils_tests
3/5 Test #3: slic3rutils_tests ................ Passed 2.55 sec
Start 4: fff_print_tests
4/5 Test #4: fff_print_tests .................. Passed 40.02 sec
Start 5: sla_print_tests
5/5 Test #5: sla_print_tests .................. Passed 63.78 sec
80% tests passed, 1 tests failed out of 5
Total Test time (real) = 106.96 sec
Any ideas?
Description of the bug
I'm working to package this application on Alpine Linux and this test fails:
Project file & How to reproduce
Reproducing this requires a system running Alpine Linux (or a container). A preliminary APKBUILD + patches required to build it are located here: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33890
It can be used to build/run tests with
abuild -r
from the directory where the APKBUILD + patches are located.Checklist of files included above
Version of PrusaSlicer
2.4.2
Operating system
Alpine Linux (edge)
Printer model
n/a