-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test suite fails to run on Debian i386 #117
Comments
Without further information it's hard to tell, what's going wrong there. The deviations of the values are too large for pure rounding issues. |
I use gcc 9.2.1. You may have a look at our build log on build log i386 if that helps you.
Not sure if that helps you: if you look at all build logs you'll notice that only the Intel 32bit architectures are affected. |
I tried to build using gcc 8.3.0 yesterday: same result. I've now clue why the issue reamin invisible in #116. |
Thanks for the additional info. I guess I have to set up a 32-bit VM in order to reproduce the problem. Since I'm pretty busy at the moment, I probably won't be able to do that before next week. |
I'm able to reproduce the failure now. As far as I have investigated it, it's an issue in the potrace library. It only occurs with optimized ( |
After some more investigations and feedback from the author of potrace, it turned out that the tested functions work correctly. However, the path segments describing the traced shape are allowed to differ, i.e. due to its floating point arithmetic, potrace may generate different results depending on compiler optimizations. So, it's just the test that doesn't take this into account. Since a proper enhancement of the test takes some time and as I can't work on dvisvgm at the moment, I suggest you simply disable the affected test |
Many thanks for help! Looking at the build status page, you'll notice that we have package for i386 now. Let me know, when you have a real fix for the issue. |
Great. Glad to hear you've got successful builds for all archs now. I leave this ticket open and post updates as soon as there are any news regarding the test case. |
We're trying to build the source code on Debian i386. Building the binary runs fine, but in the test suite afterwards a test fails. The test suite log is attached. This is for 2.7.4, but 2.7.3 is affected too. Thanks for looking into it.
test-suite.log
The text was updated successfully, but these errors were encountered: