Skip to content
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

mipsel build issues #9

Closed
aborrero opened this issue Jun 10, 2015 · 9 comments
Closed

mipsel build issues #9

aborrero opened this issue Jun 10, 2015 · 9 comments

Comments

@aborrero
Copy link

Hi,

there are some issues in the mipsel build at Debian.
Build log: https://buildd.debian.org/status/fetch.php?pkg=libspiro&arch=mipsel&ver=1%3A0.3.20150131-2&stamp=1430325106

The test-suite.log file:

==============================================
   spiro 0.3.20150131: tests/test-suite.log
==============================================

# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: call-test
===============

testing run_spiro() using data=path0[].
curve 0, line 0, x=334.000000 y=117.000000 t=v bend=0.000000 ch=65.741920 th=2.027641 l=0.000000 
curve 0, line 1, x=305.000000 y=176.000000 t=v bend=0.000000 ch=99.020200 th=-2.791096 l=0.000000 
curve 0, line 2, x=212.000000 y=142.000000 t=c bend=-0.851164 ch=60.415230 th=2.640925 l=0.000000 
curve 0, line 3, x=159.000000 y=171.000000 t=c bend=-1.847893 ch=92.633687 th=0.793032 l=0.000000 
curve 0, line 4, x=224.000000 y=237.000000 t=c bend=-0.120277 ch=157.267288 th=0.672755 l=0.000000 
curve 0, line 5, x=347.000000 y=335.000000 t=c bend=1.730337 ch=196.084166 th=2.403091 l=0.000000 
curve 0, line 6, x=202.000000 y=467.000000 t=c bend=1.042797 ch=126.826653 th=-2.837297 l=0.000000 
curve 0, line 7, x=81.000000 y=429.000000 t=v bend=0.000000 ch=69.354164 th=-1.074902 l=0.000000 
curve 0, line 8, x=114.000000 y=368.000000 t=v bend=0.000000 ch=93.407708 th=0.372554 l=0.000000 
curve 0, line 9, x=201.000000 y=402.000000 t=c bend=-0.787061 ch=81.939002 th=-0.414507 l=0.000000 
curve 0, line 10, x=276.000000 y=369.000000 t=c bend=-1.916483 ch=84.172442 th=-2.330990 l=0.000000 
curve 0, line 11, x=218.000000 y=308.000000 t=c bend=-0.158341 ch=159.806133 th=-2.489331 l=0.000000 
curve 0, line 12, x=91.000000 y=211.000000 t=c bend=1.237282 ch=105.304321 th=-1.252049 l=0.000000 
curve 0, line 13, x=124.000000 y=111.000000 t=c bend=0.982576 ch=108.931171 th=-0.269473 l=0.000000 
curve 0, line 14, x=229.000000 y=82.000000 t=c bend=-2.528266 ch=243.238566 th=-2.797739 l=0.000000 
curve 0, line 15, x=0.000000 y=0.000000 t=z bend=3.134681 ch=353.899703 th=0.336942 l=0.000000 
testing spiro_to_bpath() using data from run_spiro(data=path0[],len=16).
test_moveto(334,117)_0
test_mark_knot()_0
test_lineto(305,176)
test_mark_knot()_1
test_curveto(278.711,155.106, 245.566,142.988, 212,142)
test_mark_knot()_2
test_curveto(201.253,142.281, 190.34,143.726, 180.596,148.267)
test_curveto(175.724,150.538, 171.185,153.578, 167.419,157.413)
test_curveto(163.652,161.248, 160.67,165.891, 159,171)
test_mark_knot()_3
test_curveto(156.308,179.236, 157.16,188.418, 160.551,196.391)
test_curveto(163.942,204.365, 169.745,211.173, 176.569,216.513)
test_curveto(190.217,227.191, 207.414,231.978, 224,237)
test_mark_knot()_4
test_curveto(250.342,244.977, 276.682,254.316, 299.357,269.917)
test_curveto(322.032,285.518, 340.938,308.152, 347,335)
test_mark_knot()_5
test_curveto(351.153,353.392, 349.045,373.004, 341.926,390.463)
test_curveto(334.806,407.923, 322.8,423.235, 308.112,435.059)
test_curveto(278.737,458.706, 239.7,467.886, 202,467)
test_mark_knot()_6
test_curveto(159.176,465.994, 116.711,452.658, 81,429)
test_mark_knot()_7
test_lineto(114,368)
test_mark_knot()_8
test_curveto(140.313,385.041, 170.105,396.684, 201,402)
test_mark_knot()_9
test_curveto(216.033,404.587, 231.809,405.634, 246.268,400.776)
test_curveto(253.497,398.347, 260.287,394.428, 265.629,388.985)
test_curveto(270.971,383.541, 274.812,376.534, 276,369)
test_mark_knot()_10
test_curveto(277.186,361.482, 275.702,353.665, 272.413,346.801)
test_curveto(269.124,339.938, 264.092,333.997, 258.267,329.099)
test_curveto(246.617,319.303, 232.105,313.721, 218,308)
test_mark_knot()_11
test_curveto(192.746,297.756, 167.726,286.443, 145.32,270.931)
test_curveto(122.913,255.419, 103.089,235.424, 91,211)
test_mark_knot()_12
test_curveto(81.9232,192.662, 77.4184,171.323, 82.5427,151.513)
test_curveto(85.1048,141.608, 90.0758,132.265, 97.2634,124.984)
test_curveto(104.451,117.703, 113.889,112.559, 124,111)
test_mark_knot()_13
test_curveto(137.228,108.96, 150.603,112.998, 163.11,117.762)
test_curveto(175.618,122.526, 188.071,128.128, 201.395,129.403)
test_curveto(208.057,130.041, 214.889,129.554, 221.213,127.364)
test_curveto(227.537,125.174, 233.332,121.213, 237.179,115.737)
test_curveto(241.025,110.261, 242.792,103.23, 241.403,96.6836)
test_curveto(240.708,93.4104, 239.243,90.2939, 237.104,87.7207)
test_curveto(234.965,85.1475, 232.15,83.128, 229,82)
test_mark_knot()_14
test_lineto(0,0)
test_mark_knot()_15
test_lineto(334,117)

---
testing TaggedSpiroCPsToBezier0() using data=path0[].
test_moveto(334,117)_0
test_mark_knot()_0
test_lineto(305,176)
test_mark_knot()_1
test_curveto(279.449,153.974, 245.733,141.648, 212,142)
test_mark_knot()_2
test_curveto(201.226,142.112, 190.267,143.529, 180.511,148.103)
test_curveto(175.633,150.39, 171.099,153.461, 167.348,157.327)
test_curveto(163.596,161.194, 160.641,165.869, 159,171)
test_mark_knot()_3
test_curveto(156.364,179.243, 157.251,188.403, 160.654,196.36)
test_curveto(164.057,204.316, 169.853,211.112, 176.664,216.45)
test_curveto(190.287,227.126, 207.444,231.953, 224,237)
test_mark_knot()_4
test_curveto(250.322,245.025, 276.649,254.369, 299.324,269.96)
test_curveto(321.998,285.551, 340.921,308.162, 347,335)
test_mark_knot()_5
test_curveto(351.166,353.392, 349.066,373.009, 341.95,390.473)
test_curveto(334.833,407.936, 322.824,423.251, 308.134,435.075)
test_curveto(278.752,458.724, 239.706,467.893, 202,467)
test_mark_knot()_6
test_curveto(159.176,465.986, 116.715,452.651, 81,429)
test_mark_knot()_7
test_lineto(114,368)
test_mark_knot()_8
test_curveto(140.251,385.152, 170.075,396.808, 201,402)
test_mark_knot()_9
test_curveto(216.006,404.519, 231.742,405.476, 246.158,400.607)
test_curveto(253.366,398.172, 260.137,394.269, 265.488,388.861)
test_curveto(270.839,383.452, 274.72,376.5, 276,369)
test_mark_knot()_10
test_curveto(277.287,361.46, 275.914,353.582, 272.701,346.641)
test_curveto(269.488,339.699, 264.498,333.665, 258.672,328.709)
test_curveto(247.02,318.796, 232.367,313.255, 218,308)
test_mark_knot()_11
test_curveto(191.978,298.481, 165.57,289.162, 142.279,274.152)
test_curveto(118.988,259.143, 98.7273,237.609, 91,211)
test_mark_knot()_12
test_curveto(85.821,193.166, 86.5807,173.749, 92.5866,156.176)
test_curveto(98.5925,138.603, 109.749,122.908, 124,111)
test_mark_knot()_13
test_curveto(138.28,99.0677, 155.539,90.9339, 173.578,86.3634)
test_curveto(191.617,81.7928, 210.435,80.7131, 229,82)
test_mark_knot()_14
test_curveto(266.199,84.5786, 302.694,96.7435, 334,117)

---
testing SpiroCPsToBezier0() using data=path0[].
test_moveto(334,117)_0
test_mark_knot()_0
test_lineto(305,176)
test_mark_knot()_1
test_curveto(278.711,155.106, 245.566,142.988, 212,142)
test_mark_knot()_2
test_curveto(201.253,142.281, 190.34,143.726, 180.596,148.267)
test_curveto(175.724,150.538, 171.185,153.578, 167.419,157.413)
test_curveto(163.652,161.248, 160.67,165.891, 159,171)
test_mark_knot()_3
test_curveto(156.308,179.236, 157.16,188.418, 160.551,196.391)
test_curveto(163.942,204.365, 169.745,211.173, 176.569,216.513)
test_curveto(190.217,227.191, 207.414,231.978, 224,237)
test_mark_knot()_4
test_curveto(250.342,244.977, 276.682,254.316, 299.357,269.917)
test_curveto(322.032,285.518, 340.938,308.152, 347,335)
test_mark_knot()_5
test_curveto(351.153,353.392, 349.045,373.004, 341.926,390.463)
test_curveto(334.806,407.923, 322.8,423.235, 308.112,435.059)
test_curveto(278.737,458.706, 239.7,467.886, 202,467)
test_mark_knot()_6
test_curveto(159.176,465.994, 116.711,452.658, 81,429)
test_mark_knot()_7
test_lineto(114,368)
test_mark_knot()_8
test_curveto(140.313,385.041, 170.105,396.684, 201,402)
test_mark_knot()_9
test_curveto(216.033,404.587, 231.809,405.634, 246.268,400.776)
test_curveto(253.497,398.347, 260.287,394.428, 265.629,388.985)
test_curveto(270.971,383.541, 274.812,376.534, 276,369)
test_mark_knot()_10
test_curveto(277.186,361.482, 275.702,353.665, 272.413,346.801)
test_curveto(269.124,339.938, 264.092,333.997, 258.267,329.099)
test_curveto(246.617,319.303, 232.105,313.721, 218,308)
test_mark_knot()_11
test_curveto(192.746,297.756, 167.726,286.443, 145.32,270.931)
test_curveto(122.913,255.419, 103.089,235.424, 91,211)
test_mark_knot()_12
test_curveto(81.9232,192.662, 77.4184,171.323, 82.5427,151.513)
test_curveto(85.1048,141.608, 90.0758,132.265, 97.2634,124.984)
test_curveto(104.451,117.703, 113.889,112.559, 124,111)
test_mark_knot()_13
test_curveto(137.228,108.96, 150.603,112.998, 163.11,117.762)
test_curveto(175.618,122.526, 188.071,128.128, 201.395,129.403)
test_curveto(208.057,130.041, 214.889,129.554, 221.213,127.364)
test_curveto(227.537,125.174, 233.332,121.213, 237.179,115.737)
test_curveto(241.025,110.261, 242.792,103.23, 241.403,96.6836)
test_curveto(240.708,93.4104, 239.243,90.2939, 237.104,87.7207)
test_curveto(234.965,85.1475, 232.15,83.128, 229,82)
test_mark_knot()_14
test_lineto(0,0)
test_mark_knot()_15
test_lineto(334,117)

---
testing TaggedSpiroCPsToBezier1() using data=path0[].
test_moveto(334,117)_0
test_mark_knot()_0
test_lineto(305,176)
test_mark_knot()_1
test_curveto(279.449,153.974, 245.733,141.648, 212,142)
test_mark_knot()_2
test_curveto(201.226,142.112, 190.267,143.529, 180.511,148.103)
test_curveto(175.633,150.39, 171.099,153.461, 167.348,157.327)
test_curveto(163.596,161.194, 160.641,165.869, 159,171)
test_mark_knot()_3
test_curveto(156.364,179.243, 157.251,188.403, 160.654,196.36)
test_curveto(164.057,204.316, 169.853,211.112, 176.664,216.45)
test_curveto(190.287,227.126, 207.444,231.953, 224,237)
test_mark_knot()_4
test_curveto(250.322,245.025, 276.649,254.369, 299.324,269.96)
test_curveto(321.998,285.551, 340.921,308.162, 347,335)
test_mark_knot()_5
test_curveto(351.166,353.392, 349.066,373.009, 341.95,390.473)
test_curveto(334.833,407.936, 322.824,423.251, 308.134,435.075)
test_curveto(278.752,458.724, 239.706,467.893, 202,467)
test_mark_knot()_6
test_curveto(159.176,465.986, 116.715,452.651, 81,429)
test_mark_knot()_7
test_lineto(114,368)
test_mark_knot()_8
test_curveto(140.251,385.152, 170.075,396.808, 201,402)
test_mark_knot()_9
test_curveto(216.006,404.519, 231.742,405.476, 246.158,400.607)
test_curveto(253.366,398.172, 260.137,394.269, 265.488,388.861)
test_curveto(270.839,383.452, 274.72,376.5, 276,369)
test_mark_knot()_10
test_curveto(277.287,361.46, 275.914,353.582, 272.701,346.641)
test_curveto(269.488,339.699, 264.498,333.665, 258.672,328.709)
test_curveto(247.02,318.796, 232.367,313.255, 218,308)
test_mark_knot()_11
test_curveto(191.978,298.481, 165.57,289.162, 142.279,274.152)
test_curveto(118.988,259.143, 98.7273,237.609, 91,211)
test_mark_knot()_12
test_curveto(85.821,193.166, 86.5807,173.749, 92.5866,156.176)
test_curveto(98.5925,138.603, 109.749,122.908, 124,111)
test_mark_knot()_13
test_curveto(138.28,99.0677, 155.539,90.9339, 173.578,86.3634)
test_curveto(191.617,81.7928, 210.435,80.7131, 229,82)
test_mark_knot()_14
test_curveto(266.199,84.5786, 302.694,96.7435, 334,117)

---
testing SpiroCPsToBezier1() using data=path0[].
test_moveto(334,117)_0
test_mark_knot()_0
test_lineto(305,176)
test_mark_knot()_1
test_curveto(278.711,155.106, 245.566,142.988, 212,142)
test_mark_knot()_2
test_curveto(201.253,142.281, 190.34,143.726, 180.596,148.267)
test_curveto(175.724,150.538, 171.185,153.578, 167.419,157.413)
test_curveto(163.652,161.248, 160.67,165.891, 159,171)
test_mark_knot()_3
test_curveto(156.308,179.236, 157.16,188.418, 160.551,196.391)
test_curveto(163.942,204.365, 169.745,211.173, 176.569,216.513)
test_curveto(190.217,227.191, 207.414,231.978, 224,237)
test_mark_knot()_4
test_curveto(250.342,244.977, 276.682,254.316, 299.357,269.917)
test_curveto(322.032,285.518, 340.938,308.152, 347,335)
test_mark_knot()_5
test_curveto(351.153,353.392, 349.045,373.004, 341.926,390.463)
test_curveto(334.806,407.923, 322.8,423.235, 308.112,435.059)
test_curveto(278.737,458.706, 239.7,467.886, 202,467)
test_mark_knot()_6
test_curveto(159.176,465.994, 116.711,452.658, 81,429)
test_mark_knot()_7
test_lineto(114,368)
test_mark_knot()_8
test_curveto(140.313,385.041, 170.105,396.684, 201,402)
test_mark_knot()_9
test_curveto(216.033,404.587, 231.809,405.634, 246.268,400.776)
test_curveto(253.497,398.347, 260.287,394.428, 265.629,388.985)
test_curveto(270.971,383.541, 274.812,376.534, 276,369)
test_mark_knot()_10
test_curveto(277.186,361.482, 275.702,353.665, 272.413,346.801)
test_curveto(269.124,339.938, 264.092,333.997, 258.267,329.099)
test_curveto(246.617,319.303, 232.105,313.721, 218,308)
test_mark_knot()_11
test_curveto(192.746,297.756, 167.726,286.443, 145.32,270.931)
test_curveto(122.913,255.419, 103.089,235.424, 91,211)
test_mark_knot()_12
test_curveto(81.9232,192.662, 77.4184,171.323, 82.5427,151.513)
test_curveto(85.1048,141.608, 90.0758,132.265, 97.2634,124.984)
test_curveto(104.451,117.703, 113.889,112.559, 124,111)
test_mark_knot()_13
test_curveto(137.228,108.96, 150.603,112.998, 163.11,117.762)
test_curveto(175.618,122.526, 188.071,128.128, 201.395,129.403)
test_curveto(208.057,130.041, 214.889,129.554, 221.213,127.364)
test_curveto(227.537,125.174, 233.332,121.213, 237.179,115.737)
test_curveto(241.025,110.261, 242.792,103.23, 241.403,96.6836)
test_curveto(240.708,93.4104, 239.243,90.2939, 237.104,87.7207)
test_curveto(234.965,85.1475, 232.15,83.128, 229,82)
test_mark_knot()_14
test_lineto(0,0)
test_mark_knot()_15
test_lineto(334,117)
testing run_spiro() using data=path1[].
curve 1, line 0, x=80.000000 y=738.000000 t={ bend=0.000000 ch=697.685459 th=-0.287750 l=0.000000 
curve 1, line 1, x=749.000000 y=540.000000 t=o bend=-1.608688 ch=243.813453 th=-1.896438 l=0.000000 
curve 1, line 2, x=671.000000 y=309.000000 t=o bend=-1.770739 ch=173.404152 th=2.616009 l=0.000000 
curve 1, line 3, x=521.000000 y=396.000000 t=o bend=0.937994 ch=157.178243 th=-2.729182 l=0.000000 
curve 1, line 4, x=377.000000 y=333.000000 t=o bend=1.881365 ch=136.029409 th=-0.847817 l=0.000000 
curve 1, line 5, x=467.000000 y=231.000000 t=} bend=1.730337 ch=196.084166 th=2.403091 l=0.000000 
testing spiro_to_bpath() using data from run_spiro(data=path1[],len=6).
test_moveto(80,738)_1
test_mark_knot()_0
test_curveto(172.314,664.426, 287.04,622.654, 403.914,606.06)
test_curveto(462.352,597.763, 521.42,594.908, 580.064,588.226)
test_curveto(638.708,581.543, 698.554,570.643, 749,540)
test_mark_knot()_1
test_curveto(776.321,523.404, 800.431,500.639, 815.305,472.344)
test_curveto(830.178,444.049, 835.075,410.104, 826.082,379.43)
test_curveto(817.089,348.755, 793.992,322.521, 764.639,309.862)
test_curveto(735.286,297.204, 701.137,298.343, 671,309)
test_mark_knot()_2
test_curveto(643.661,318.667, 619.475,335.4, 595.839,352.199)
test_curveto(572.203,368.998, 548.225,386.017, 521,396)
test_mark_knot()_3
test_curveto(493.059,406.245, 461.39,408.353, 433.721,397.395)
test_curveto(419.886,391.915, 407.262,383.305, 397.36,372.199)
test_curveto(387.457,361.092, 380.322,347.504, 377,333)
test_mark_knot()_4
test_curveto(371.073,307.121, 378.034,278.522, 395.545,258.566)
test_curveto(413.056,238.61, 440.626,227.952, 467,231)

---
testing TaggedSpiroCPsToBezier0() using data=path1[].
test_moveto(80,738)_1
test_mark_knot()_0
test_curveto(172.314,664.426, 287.04,622.654, 403.914,606.06)
test_curveto(462.352,597.763, 521.42,594.908, 580.064,588.226)
test_curveto(638.708,581.543, 698.554,570.643, 749,540)
test_mark_knot()_1
test_curveto(776.321,523.404, 800.431,500.639, 815.305,472.344)
test_curveto(830.178,444.049, 835.075,410.104, 826.082,379.43)
test_curveto(817.089,348.755, 793.992,322.521, 764.639,309.862)
test_curveto(735.286,297.204, 701.137,298.343, 671,309)
test_mark_knot()_2
test_curveto(643.661,318.667, 619.475,335.4, 595.839,352.199)
test_curveto(572.203,368.998, 548.225,386.017, 521,396)
test_mark_knot()_3
test_curveto(493.059,406.245, 461.39,408.353, 433.721,397.395)
test_curveto(419.886,391.915, 407.262,383.305, 397.36,372.199)
test_curveto(387.457,361.092, 380.322,347.504, 377,333)
test_mark_knot()_4
test_curveto(371.073,307.121, 378.034,278.522, 395.545,258.566)
test_curveto(413.056,238.61, 440.626,227.952, 467,231)

---
testing SpiroCPsToBezier0() using data=path1[].
test_moveto(80,738)_1
test_mark_knot()_0
test_curveto(172.314,664.426, 287.04,622.654, 403.914,606.06)
test_curveto(462.352,597.763, 521.42,594.908, 580.064,588.226)
test_curveto(638.708,581.543, 698.554,570.643, 749,540)
test_mark_knot()_1
test_curveto(776.321,523.404, 800.431,500.639, 815.305,472.344)
test_curveto(830.178,444.049, 835.075,410.104, 826.082,379.43)
test_curveto(817.089,348.755, 793.992,322.521, 764.639,309.862)
test_curveto(735.286,297.204, 701.137,298.343, 671,309)
test_mark_knot()_2
test_curveto(643.661,318.667, 619.475,335.4, 595.839,352.199)
test_curveto(572.203,368.998, 548.225,386.017, 521,396)
test_mark_knot()_3
test_curveto(493.059,406.245, 461.39,408.353, 433.721,397.395)
test_curveto(419.886,391.915, 407.262,383.305, 397.36,372.199)
test_curveto(387.457,361.092, 380.322,347.504, 377,333)
test_mark_knot()_4
test_curveto(371.073,307.121, 378.034,278.522, 395.545,258.566)
test_curveto(413.056,238.61, 440.626,227.952, 467,231)

---
testing TaggedSpiroCPsToBezier1() using data=path1[].
test_moveto(80,738)_1
test_mark_knot()_0
test_curveto(172.314,664.426, 287.04,622.654, 403.914,606.06)
test_curveto(462.352,597.763, 521.42,594.908, 580.064,588.226)
test_curveto(638.708,581.543, 698.554,570.643, 749,540)
test_mark_knot()_1
test_curveto(776.321,523.404, 800.431,500.639, 815.305,472.344)
test_curveto(830.178,444.049, 835.075,410.104, 826.082,379.43)
test_curveto(817.089,348.755, 793.992,322.521, 764.639,309.862)
test_curveto(735.286,297.204, 701.137,298.343, 671,309)
test_mark_knot()_2
test_curveto(643.661,318.667, 619.475,335.4, 595.839,352.199)
test_curveto(572.203,368.998, 548.225,386.017, 521,396)
test_mark_knot()_3
test_curveto(493.059,406.245, 461.39,408.353, 433.721,397.395)
test_curveto(419.886,391.915, 407.262,383.305, 397.36,372.199)
test_curveto(387.457,361.092, 380.322,347.504, 377,333)
test_mark_knot()_4
test_curveto(371.073,307.121, 378.034,278.522, 395.545,258.566)
test_curveto(413.056,238.61, 440.626,227.952, 467,231)

---
testing SpiroCPsToBezier1() using data=path1[].
test_moveto(80,738)_1
test_mark_knot()_0
test_curveto(172.314,664.426, 287.04,622.654, 403.914,606.06)
test_curveto(462.352,597.763, 521.42,594.908, 580.064,588.226)
test_curveto(638.708,581.543, 698.554,570.643, 749,540)
test_mark_knot()_1
test_curveto(776.321,523.404, 800.431,500.639, 815.305,472.344)
test_curveto(830.178,444.049, 835.075,410.104, 826.082,379.43)
test_curveto(817.089,348.755, 793.992,322.521, 764.639,309.862)
test_curveto(735.286,297.204, 701.137,298.343, 671,309)
test_mark_knot()_2
test_curveto(643.661,318.667, 619.475,335.4, 595.839,352.199)
test_curveto(572.203,368.998, 548.225,386.017, 521,396)
test_mark_knot()_3
test_curveto(493.059,406.245, 461.39,408.353, 433.721,397.395)
test_curveto(419.886,391.915, 407.262,383.305, 397.36,372.199)
test_curveto(387.457,361.092, 380.322,347.504, 377,333)
test_mark_knot()_4
test_curveto(371.073,307.121, 378.034,278.522, 395.545,258.566)
test_curveto(413.056,238.61, 440.626,227.952, 467,231)
testing run_spiro() using data=path2[].
curve 2, line 0, x=233.000000 y=143.000000 t={ bend=0.000000 ch=108.115679 th=-0.046263 l=0.000000 
curve 2, line 1, x=341.000000 y=138.000000 t=o bend=-0.926114 ch=79.881162 th=-0.972377 l=0.000000 
curve 2, line 2, x=386.000000 y=72.000000 t=o bend=1.844174 ch=90.138782 th=0.871797 l=0.000000 
curve 2, line 3, x=444.000000 y=141.000000 t=} bend=0.937994 ch=157.178243 th=-2.729182 l=0.000000 
testing spiro_to_bpath() using data from run_spiro(data=path2[],len=4).
test_moveto(233,143)_1
test_mark_knot()_0
test_curveto(249.592,152.178, 268.758,156.639, 287.698,155.745)
test_curveto(306.638,154.851, 325.283,148.607, 341,138)
test_mark_knot()_1
test_curveto(363.594,122.753, 379.786,98.5395, 386,72)
test_mark_knot()_2
test_curveto(390.58,52.4395, 389.897,31.7133, 384.352,12.4039)
test_curveto(378.808,-6.90551, 368.441,-24.7755, 354.638,-39.3726)
test_curveto(327.032,-68.5668, 285.794,-83.7957, 245.694,-81.2662)
test_curveto(205.595,-78.7367, 167.108,-58.898, 140.822,-28.5107)
test_curveto(114.535,1.87655, 100.493,42.3853, 101.481,82.5524)
test_curveto(102.469,122.719, 118.343,162.269, 145.013,192.321)
test_curveto(171.682,222.373, 208.93,242.787, 248.567,249.365)
test_curveto(288.204,255.942, 329.988,248.669, 365.12,229.172)
test_curveto(400.251,209.674, 428.514,178.075, 444,141)

---
testing TaggedSpiroCPsToBezier0() using data=path2[].
test_moveto(233,143)_1
test_mark_knot()_0
test_curveto(249.592,152.178, 268.758,156.639, 287.698,155.745)
test_curveto(306.638,154.851, 325.283,148.607, 341,138)
test_mark_knot()_1
test_curveto(363.594,122.753, 379.786,98.5395, 386,72)
test_mark_knot()_2
test_curveto(390.58,52.4395, 389.897,31.7133, 384.352,12.4039)
test_curveto(378.808,-6.90551, 368.441,-24.7755, 354.638,-39.3726)
test_curveto(327.032,-68.5668, 285.794,-83.7957, 245.694,-81.2662)
test_curveto(205.595,-78.7367, 167.108,-58.898, 140.822,-28.5107)
test_curveto(114.535,1.87655, 100.493,42.3853, 101.481,82.5524)
test_curveto(102.469,122.719, 118.343,162.269, 145.013,192.321)
test_curveto(171.682,222.373, 208.93,242.787, 248.567,249.365)
test_curveto(288.204,255.942, 329.988,248.669, 365.12,229.172)
test_curveto(400.251,209.674, 428.514,178.075, 444,141)

---
testing SpiroCPsToBezier0() using data=path2[].
test_moveto(233,143)_1
test_mark_knot()_0
test_curveto(249.592,152.178, 268.758,156.639, 287.698,155.745)
test_curveto(306.638,154.851, 325.283,148.607, 341,138)
test_mark_knot()_1
test_curveto(363.594,122.753, 379.786,98.5395, 386,72)
test_mark_knot()_2
test_curveto(390.58,52.4395, 389.897,31.7133, 384.352,12.4039)
test_curveto(378.808,-6.90551, 368.441,-24.7755, 354.638,-39.3726)
test_curveto(327.032,-68.5668, 285.794,-83.7957, 245.694,-81.2662)
test_curveto(205.595,-78.7367, 167.108,-58.898, 140.822,-28.5107)
test_curveto(114.535,1.87655, 100.493,42.3853, 101.481,82.5524)
test_curveto(102.469,122.719, 118.343,162.269, 145.013,192.321)
test_curveto(171.682,222.373, 208.93,242.787, 248.567,249.365)
test_curveto(288.204,255.942, 329.988,248.669, 365.12,229.172)
test_curveto(400.251,209.674, 428.514,178.075, 444,141)

---
testing TaggedSpiroCPsToBezier1() using data=path2[].
test_moveto(233,143)_1
test_mark_knot()_0
test_curveto(249.592,152.178, 268.758,156.639, 287.698,155.745)
test_curveto(306.638,154.851, 325.283,148.607, 341,138)
test_mark_knot()_1
test_curveto(363.594,122.753, 379.786,98.5395, 386,72)
test_mark_knot()_2
test_curveto(390.58,52.4395, 389.897,31.7133, 384.352,12.4039)
test_curveto(378.808,-6.90551, 368.441,-24.7755, 354.638,-39.3726)
test_curveto(327.032,-68.5668, 285.794,-83.7957, 245.694,-81.2662)
test_curveto(205.595,-78.7367, 167.108,-58.898, 140.822,-28.5107)
test_curveto(114.535,1.87655, 100.493,42.3853, 101.481,82.5524)
test_curveto(102.469,122.719, 118.343,162.269, 145.013,192.321)
test_curveto(171.682,222.373, 208.93,242.787, 248.567,249.365)
test_curveto(288.204,255.942, 329.988,248.669, 365.12,229.172)
test_curveto(400.251,209.674, 428.514,178.075, 444,141)

---
testing SpiroCPsToBezier1() using data=path2[].
test_moveto(233,143)_1
test_mark_knot()_0
test_curveto(249.592,152.178, 268.758,156.639, 287.698,155.745)
test_curveto(306.638,154.851, 325.283,148.607, 341,138)
test_mark_knot()_1
test_curveto(363.594,122.753, 379.786,98.5395, 386,72)
test_mark_knot()_2
test_curveto(390.58,52.4395, 389.897,31.7133, 384.352,12.4039)
test_curveto(378.808,-6.90551, 368.441,-24.7755, 354.638,-39.3726)
test_curveto(327.032,-68.5668, 285.794,-83.7957, 245.694,-81.2662)
test_curveto(205.595,-78.7367, 167.108,-58.898, 140.822,-28.5107)
test_curveto(114.535,1.87655, 100.493,42.3853, 101.481,82.5524)
test_curveto(102.469,122.719, 118.343,162.269, 145.013,192.321)
test_curveto(171.682,222.373, 208.93,242.787, 248.567,249.365)
test_curveto(288.204,255.942, 329.988,248.669, 365.12,229.172)
test_curveto(400.251,209.674, 428.514,178.075, 444,141)
testing run_spiro() using data=path3[].
error with run_spiro() using data=path3[].

---
Multi-thread testing of libspiro.
bad pthread_create[167]
time 0.747777
@JoesCat
Copy link
Contributor

JoesCat commented Jun 11, 2015

Hi Arturo,
Thank you for the printout of where it was failing. I looked at
https://buildd.debian.org/status/logs.php?arch=mips&pkg=libspiro&ver=1%3A0.3.20150131-2
and I did not know where it could be failing.

Looking at your log files, libspiro (mips) is failing at creating pthreads.


Multi-thread testing of libspiro.
bad pthread_create[167]
time 0.747777

At the time I created 20150131, I put an arbitrary number of expecting 300 
pthreads to be run in parallel, but the mips only managed to make 167 
before running out of space.
I've created a fix already for this (I think) in file tests/call-test.c at 
approximately line 423 if you look here:
https://github.com/fontforge/libspiro/commit/567c19430614c4f485ea3c4873b343170b2ca469
"Sawtooth through the test data to complete all S_TESTS using pthreads"

This fix will allow computers with less memory, or allowance for less
pthreads to continue sawtoothing through the pile of data.
I also increased the number of tests from 300 to 3000 to match the number
of tests done by computers lacking pthreads (equal number of tests).

I am a little concerned if the increase of tests from 300 to 3000 may be an
issue since the various FPU may put out slightly different values which may
be an issue with data[2] when doing the 3000 (3x1000) tests.

Can you please test HEAD
https://github.com/fontforge/libspiro
If HEAD is working, I would like to make this the next release (preferably
after finding-out what exactly failed with the other architectures too).
http://buildd.debian-ports.org/status/package.php?p=libspiro&suite=sid
(I did not see resulting log files for the failed units here).

Thank you for providing a mips log file to see where the problem appeared.
Joe

@aborrero
Copy link
Author

On 11 June 2015 at 09:33, Joe notifications@github.com wrote:

Can you please test HEAD
https://github.com/fontforge/libspiro
If HEAD is working, I would like to make this the next release (preferably
after finding-out what exactly failed with the other architectures too).
http://buildd.debian-ports.org/status/package.php?p=libspiro&suite=sid
(I did not see resulting log files for the failed units here).

While testing HEAD, this error arises in my mipsel machine:

While doing the build, this error arises:

[...]
make[3]: Entering directory '/tmp/buildd/libspiro-0.3.20150131'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-D_FORTIFY_SOURCE=2 -Wall -Wextra -Wcast-align -Wbad-function-cast
-Wc++-compat -Wmissing-prototypes -Wunused -g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -c -o spiro.lo spiro.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -Wall
-Wextra -Wcast-align -Wbad-function-cast -Wc++-compat -Wmissing-prototypes
-Wunused -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
-c spiro.c -fPIC -DPIC -o .libs/spiro.o
spiro.c: In function 'spiro_iter':
spiro.c:812:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.9/README.Bugs for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
Makefile:531: recipe for target 'spiro.lo' failed
make[3]: *** [spiro.lo] Error 1
[...]

Any idea?

Arturo Borrero González

JoesCat added a commit that referenced this issue Jun 12, 2015
Check issues #9 and #10. configure returned back to using ac_search_libs
to resolve problem with ubuntu 14.04 and gcc 4.8.2.
Moved more inits to top of functions to deal with possible memory max-out
while processing -D_FORTIFY_SOURCE=2 on mipsel platform (happened once).
@JoesCat
Copy link
Contributor

JoesCat commented Jun 12, 2015

Hi Arturo,
I recall when working with Borrero Gonzalez wrote:

While testing HEAD, this error arises in my mipsel machine:

While doing the build, this error arises:

[...]
make[3]: Entering directory '/tmp/buildd/libspiro-0.3.20150131'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-D_FORTIFY_SOURCE=2 -Wall -Wextra -Wcast-align -Wbad-function-cast
-Wc++-compat -Wmissing-prototypes -Wunused -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c -o
spiro.lo spiro.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -Wall
-Wextra -Wcast-align -Wbad-function-cast -Wc++-compat
-Wmissing-prototypes -Wunused -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -c spiro.c -fPIC -DPIC -o .libs/spiro.o
spiro.c: In function 'spiro_iter':
spiro.c:812:1: internal compiler error: Segmentation fault
}
^

My first reaction is that there is a mis-match of "{" to "}" between the
start of the function spiro_iter at 687 down to line 812. To be on the safe
side, you may want to copy file spiro.c into your mipsel machine again, just
to ensure there was no file corruption.

My second thought is how another user had trouble with an older compiler
when there was a mixture of commands in the initialization (the older
compiler I tried, did not appear to have these issues). So I'm thinking
that I need to also fix this at line 688 from:
int cyclic = s[0].ty != '{' && s[0].ty != 'v';
int i, j, jj;
double norm;
int n_invert;

to:
int cyclic;
int i, j, jj;
double norm;
int n_invert;

cyclic = s[0].ty != '{' && s[0].ty != 'v';

My third thought is the -D_FORTIFY_SOURCE=2 having trouble with the memcpy
statements. More reading here:
https://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html

I have moved many of the initializations outside of the "if" statements and
put them at the top of the function. This may help ease any complications
of initialized values mid function, particularly of the complex type such
as derivs[4][2][4]

The bug is not reproducible, so it is likely a hardware or OS problem.

This suggests to me a possible shortage of memory while gcc was
preprocessing spiro.c during checks for -D_FORTIFY_SOURCE=2

Ensure you have plenty of swap space if you don't have much memory.
If your computer ran particularly slow and accessed the harddrive
frequently, you may want to check that you didn't reach 100% memory use, or
try avoid running big programs at this time.

I've loaded another update with fewer variable inits mid-function into
HEAD, hopefully this cures the problem if you saw it more than once
earlier.

@JoesCat
Copy link
Contributor

JoesCat commented Jun 12, 2015 via email

@JoesCat
Copy link
Contributor

JoesCat commented Jun 14, 2015

I'm not sure about your reply, is this issue considered fixed? or is there still a problem?
If problem, do you have a new log?

@aborrero
Copy link
Author

On 15 June 2015 at 00:14, Joe notifications@github.com wrote:

I'm not sure about your reply, is this issue considered fixed? or is there
still a problem?
If problem, do you have a new log?

Sorry, I didn't manage to get time to give additional testing. Please, give
me a couple more of days.

Arturo Borrero González

@JoesCat
Copy link
Contributor

JoesCat commented Jun 15, 2015 via email

@aborrero
Copy link
Author

I was able to build libspiro on mipsel :-)

The test suite ends like this:

============================================================================
Testsuite summary for spiro 0.3.20150131
============================================================================
# TOTAL: 6
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

Thanks, I will let the Debian maint know.

Arturo Borrero González

@JoesCat
Copy link
Contributor

JoesCat commented Jun 17, 2015 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants