1. 06 Feb, 2019 40 commits
    • Leonardo Arena's avatar
      b3fe173e
    • Leonardo Arena's avatar
      cbf6fcec
    • Leonardo Arena's avatar
      68d928e3
    • Leonardo Arena's avatar
      8fa76ce4
    • Leonardo Arena's avatar
      6c402445
    • Leonardo Arena's avatar
      community/R: rebuild against icu-63.1 · fe19aabe
      Leonardo Arena authored
      fe19aabe
    • Leonardo Arena's avatar
      fc5e010f
    • Leonardo Arena's avatar
      community/php7: rebuild against icu-63.1 · 2cbbe8b9
      Leonardo Arena authored
      2cbbe8b9
    • Leonardo Arena's avatar
      492604bb
    • Leonardo Arena's avatar
      1d794521
    • Leonardo Arena's avatar
      community/mpd: rebuild against icu-63.1 · 31130544
      Leonardo Arena authored
      31130544
    • Leonardo Arena's avatar
      db40f30c
    • Leonardo Arena's avatar
      9296ba6e
    • Leonardo Arena's avatar
      main/harfbuzz: rebuild against icu-63.1 · a46d84a4
      Leonardo Arena authored
      a46d84a4
    • Simon F's avatar
      main/py-icu: Update to 2.2 · 33ce5a97
      Simon F authored
      33ce5a97
    • Simon F's avatar
      main/icu: Update to 63.1 · 8bf603de
      Simon F authored
      8bf603de
    • Simon F's avatar
      main/nasm: Update to 2.14.01 · ac006af2
      Simon F authored
      ac006af2
    • Simon F's avatar
      main/postfix-policyd-spf-perl: Update to 2.011 · ce2c8c25
      Simon F authored
      ce2c8c25
    • Simon F's avatar
      main/perl-dbix-dbschema: Update to 0.45 · d11edbdb
      Simon F authored
      d11edbdb
    • J0WI's avatar
      main/duply: upgrade to 2.2 · 82dd475e
      J0WI authored
      82dd475e
    • J0WI's avatar
      main/fail2ban: upgrade to 0.10.4 · 50ce4921
      J0WI authored
      50ce4921
    • J0WI's avatar
      main/gnutls: upgrade to 3.6.6 · b8661f63
      J0WI authored
      b8661f63
    • J0WI's avatar
      main/gnutls: upgrade to 3.6.5 · 1fe28b50
      J0WI authored
      1fe28b50
    • tcely's avatar
      main/unbound: upgrade to 1.9.0 · c63272cf
      tcely authored
      This release includes DNS flag day changes.
      c63272cf
    • Leonardo Arena's avatar
      main/dovecot: disable tests on 32bit arches · 65a41e4a
      Leonardo Arena authored
      test-event-stats.c:365: Assert failed: compare_test_stats_to( "EVENT	%lu	1	0	0" "	stest-event-stats.c	%d" "	l0	0	ctest2\n", id, l)
      no merging parent sent to stats ...................................... : FAILED
      test-event-stats.c:394: Assert failed: compare_test_stats_to( "BEGIN	%lu	0	1	0	0" "	stest-event-stats.c	%d	ctest1\n" "EVENT	%lu	1	1	0" "	stest-event-stats.c	%d" "	l1	0	ctest2\n" "END\t%lu\n", idp, lp, idp, l, idp)
      no merging parent timestamp differs .................................. : FAILED
      merge events parent NULL ............................................. : ok
      test-event-stats.c:458: Assert failed: compare_test_stats_to( "EVENT	%lu	1	0	0" "	stest-event-stats.c	%d	l0	0" "	ctest3	ctest2	ctest1	Tkey3" "	10	0	Ikey2	20" "	Skey1	str1\n", id, l)
      merge events parent sent to stats .................................... : FAILED
      test-event-stats.c:490: Assert failed: compare_test_stats_to( "BEGIN	%lu	0	1	0	0" "	stest-event-stats.c	%d	ctest1\n" "EVENT	%lu	1	3	0	" "stest-event-stats.c	%d	l3	0" "	ctest2\nEND\t%lu\n", id, lp, id, l, id)
      skip empty parents ................................................... : FAILED
      test-event-stats.c:533: Assert failed: compare_test_stats_to( "BEGIN	%lu	0	1	0	0" "	stest-event-stats.c	%d	ctest1\n" "EVENT	%lu	1	3	0	" "stest-event-stats.c	%d	l3	0	" "ctest4	ctest5	Tkey3	10	0	Skey4" "	str4\nEND\t%lu\n", id, lp, id, l, id)
      merge events and skip empty parents .................................. : FAILED
      5 / 7 tests failed
      65a41e4a
    • Leonardo Arena's avatar
      main/py-cffi: disable tests also for aarch64 · faec38ac
      Leonardo Arena authored
      =================================== FAILURES ===================================
      _________________________ TestFFI.test_struct_by_value _________________________
      
      self = <testing.cffi0.test_ffi_backend.TestFFI object at 0xfff247db0a50>
      
          def test_struct_by_value(self):
              if self.module is None:
                  py.test.skip("fix the auto-generation of the tiny test lib")
              ffi = FFI(backend=self.Backend())
              ffi.cdef("""
                  typedef struct {
                      long x;
                      long y;
                  } POINT;
      
                  typedef struct {
                      long left;
                      long top;
                      long right;
                      long bottom;
                  } RECT;
      
                  long left, top, right, bottom;
      
                  RECT ReturnRect(int i, RECT ar, RECT* br, POINT cp, RECT dr,
                              RECT *er, POINT fp, RECT gr);
              """)
              ownlib = ffi.dlopen(self.module)
      
              rect = ffi.new('RECT[1]')
              pt = ffi.new('POINT[1]')
              pt[0].x = 15
              pt[0].y = 25
              rect[0].left = ownlib.left
              rect[0].right = ownlib.right
              rect[0].top = ownlib.top
              rect[0].bottom = ownlib.bottom
      
              for i in range(4):
                  ret = ownlib.ReturnRect(i, rect[0], rect, pt[0], rect[0],
                                          rect, pt[0], rect[0])
      >           assert ret.left == ownlib.left
      E           AssertionError: assert -200 == 10
      E            +  where -200 = <cdata 'RECT' owning 32 bytes>.left
      E            +  and   10 = <cffi.api.FFILibrary_/tmp/ffi-0/testownlib.so object at 0xfff247de1f50>.left
      
      testing/cffi0/test_ownlib.py:296: AssertionError
      _______________________ TestOwnLib.test_struct_by_value ________________________
      
      self = <testing.cffi0.test_ownlib.TestOwnLib object at 0xfff24884d550>
      
          def test_struct_by_value(self):
              if self.module is None:
                  py.test.skip("fix the auto-generation of the tiny test lib")
              ffi = FFI(backend=self.Backend())
              ffi.cdef("""
                  typedef struct {
                      long x;
                      long y;
                  } POINT;
      
                  typedef struct {
                      long left;
                      long top;
                      long right;
                      long bottom;
                  } RECT;
      
                  long left, top, right, bottom;
      
                  RECT ReturnRect(int i, RECT ar, RECT* br, POINT cp, RECT dr,
                              RECT *er, POINT fp, RECT gr);
              """)
              ownlib = ffi.dlopen(self.module)
      
              rect = ffi.new('RECT[1]')
              pt = ffi.new('POINT[1]')
              pt[0].x = 15
              pt[0].y = 25
              rect[0].left = ownlib.left
              rect[0].right = ownlib.right
              rect[0].top = ownlib.top
              rect[0].bottom = ownlib.bottom
      
              for i in range(4):
                  ret = ownlib.ReturnRect(i, rect[0], rect, pt[0], rect[0],
                                          rect, pt[0], rect[0])
      >           assert ret.left == ownlib.left
      E           AssertionError: assert -200 == 10
      E            +  where -200 = <cdata 'RECT &' 0xaaace719ec20>.left
      E            +  and   10 = <cffi.api.FFILibrary_/tmp/ffi-0/testownlib.so object at 0xfff24886a0d0>.left
      
      testing/cffi0/test_ownlib.py:296: AssertionError
       2 failed, 1861 passed, 106 skipped, 4 xfailed, 508 warnings in 929.02 seconds =
      faec38ac
    • J0WI's avatar
      main/ccache: upgrade to 3.6 · 76ad23c9
      J0WI authored
      76ad23c9
    • Dmitry Romanenko's avatar
      main/py-requests: upgrade to 2.21.0 · 4e920111
      Dmitry Romanenko authored
      4e920111
    • Simon F's avatar
      5725c3c2
    • Leonardo Arena's avatar
      main/py-cffi: disable tests on x86 and ppc64le · bb6a081a
      Leonardo Arena authored
      >>>>>>>>>>>>>>>>>>> ppc64le
      
      =================================== FAILURES ===================================
      _______________________________ test_float_types _______________________________
      
          def test_float_types():
              INF = 1E200 * 1E200
              for name in ["float", "double"]:
                  p = new_primitive_type(name)
                  assert bool(cast(p, 0)) is False      # since 1.7
                  assert bool(cast(p, -0.0)) is False   # since 1.7
                  assert bool(cast(p, 1e-42)) is True
                  assert bool(cast(p, -1e-42)) is True
                  assert bool(cast(p, INF))
                  assert bool(cast(p, -INF))
                  assert bool(cast(p, float("nan")))
                  assert int(cast(p, -150)) == -150
                  assert int(cast(p, 61.91)) == 61
                  assert long(cast(p, 61.91)) == 61
                  assert type(int(cast(p, 61.91))) is int
                  assert type(int(cast(p, 1E22))) is long
                  assert type(long(cast(p, 61.91))) is long
                  assert type(long(cast(p, 1E22))) is long
                  py.test.raises(OverflowError, int, cast(p, INF))
                  py.test.raises(OverflowError, int, cast(p, -INF))
                  assert float(cast(p, 1.25)) == 1.25
                  assert float(cast(p, INF)) == INF
                  assert float(cast(p, -INF)) == -INF
                  if name == "float":
                      assert float(cast(p, 1.1)) != 1.1     # rounding error
      >               assert float(cast(p, 1E200)) == INF   # limited range
      E               AssertionError: assert 21918092.0 == inf
      E                +  where 21918092.0 = float(<cdata 'float' 21918092.0>)
      E                +    where <cdata 'float' 21918092.0> = cast(<ctype 'float'>, 1e+200)
      
      c/test_c.py:181: AssertionError
      ______________________________ test_complex_types ______________________________
      
          def test_complex_types():
              INF = 1E200 * 1E200
              for name in ["float", "double"]:
                  p = new_primitive_type(name + " _Complex")
                  assert bool(cast(p, 0)) is False
                  assert bool(cast(p, INF))
                  assert bool(cast(p, -INF))
                  assert bool(cast(p, 0j)) is False
                  assert bool(cast(p, INF*1j))
                  assert bool(cast(p, -INF*1j))
                  # "can't convert complex to float", like CPython's "float(0j)"
                  py.test.raises(TypeError, int, cast(p, -150))
                  py.test.raises(TypeError, long, cast(p, -150))
                  py.test.raises(TypeError, float, cast(p, -150))
                  assert complex(cast(p, 1.25)) == 1.25
                  assert complex(cast(p, 1.25j)) == 1.25j
                  assert complex(cast(p, complex(0,INF))) == complex(0,INF)
                  assert complex(cast(p, -INF)) == -INF
                  if name == "float":
                      assert complex(cast(p, 1.1j)) != 1.1j         # rounding error
      >               assert complex(cast(p, 1E200+3j)) == INF+3j   # limited range
      E               AssertionError: assert (21918092+3j) == (inf + 3j)
      E                +  where (21918092+3j) = complex(<cdata 'float _Complex' (21918092+3j)>)
      E                +    where <cdata 'float _Complex' (21918092+3j)> = cast(<ctype 'float _Complex'>, (1e+200 + 3j))
      
      c/test_c.py:210: AssertionError
      ______________________________ TestFFI.test_float ______________________________
      
      self = <testing.cffi0.test_ffi_backend.TestFFI object at 0x7fffaef9b048>
      
          def test_float(self):
              ffi = FFI(backend=self.Backend())
              p = ffi.new("float[]", [-2, -2.5])
              assert p[0] == -2.0
              assert p[1] == -2.5
              p[1] += 17.75
              assert p[1] == 15.25
              #
              p = ffi.new("float*", 15.75)
              assert p[0] == 15.75
              py.test.raises(TypeError, int, p)
              py.test.raises(TypeError, float, p)
              p[0] = 0.0
              assert bool(p) is True
              #
              p = ffi.new("float*", 1.1)
              f = p[0]
              assert f != 1.1      # because of rounding effect
              assert abs(f - 1.1) < 1E-7
              #
              INF = 1E200 * 1E200
              assert 1E200 != INF
              p[0] = 1E200
      >       assert p[0] == INF     # infinite, not enough precision
      E       AssertionError
      
      testing/cffi0/backend_tests.py:416: AssertionError
      ____________________________ TestNewFFI1.test_float ____________________________
      
      self = <testing.cffi1.test_new_ffi_1.TestNewFFI1 instance at 0x7fffaeaaed48>
      
          def test_float(self):
              p = ffi.new("float[]", [-2, -2.5])
              assert p[0] == -2.0
              assert p[1] == -2.5
              p[1] += 17.75
              assert p[1] == 15.25
              #
              p = ffi.new("float*", 15.75)
              assert p[0] == 15.75
              py.test.raises(TypeError, int, p)
              py.test.raises(TypeError, float, p)
              p[0] = 0.0
              assert bool(p) is True
              #
              p = ffi.new("float*", 1.1)
              f = p[0]
              assert f != 1.1      # because of rounding effect
              assert abs(f - 1.1) < 1E-7
              #
              INF = 1E200 * 1E200
              assert 1E200 != INF
              p[0] = 1E200
      >       assert p[0] == INF     # infinite, not enough precision
      E       assert 21918092.0 == inf
      
      testing/cffi1/test_new_ffi_1.py:474: AssertionError
       4 failed, 1859 passed, 106 skipped, 4 xfailed, 508 warnings in 235.82 seconds =
      
      >>>>>>>>>>>>>>>>>>>>>>>>> x86
      
      =================================== FAILURES ===================================
      ________________________ TestFFI.test_function_typedef _________________________
      
      self = <testing.cffi0.test_ffi_backend.TestFFI object at 0xf62c9aec>
      
          def test_function_typedef(self):
              ffi = FFI(backend=self.Backend())
              ffi.cdef("""
                  typedef double func_t(double);
                  func_t sin;
              """)
              m = ffi.dlopen(lib_m)
              x = m.sin(1.23)
      >       assert x == math.sin(1.23)
      E       assert nan == 0.9424888019316975
      E        +  where 0.9424888019316975 = <built-in function sin>(1.23)
      E        +    where <built-in function sin> = math.sin
      
      testing/cffi0/test_function.py:301: AssertionError
      ______________________ TestFunction.test_function_typedef ______________________
      
      self = <testing.cffi0.test_function.TestFunction object at 0xf59fd24c>
      
          def test_function_typedef(self):
              ffi = FFI(backend=self.Backend())
              ffi.cdef("""
                  typedef double func_t(double);
                  func_t sin;
              """)
              m = ffi.dlopen(lib_m)
              x = m.sin(1.23)
      >       assert x == math.sin(1.23)
      E       assert nan == 0.9424888019316975
      E        +  where 0.9424888019316975 = <built-in function sin>(1.23)
      E        +    where <built-in function sin> = math.sin
      
      testing/cffi0/test_function.py:301: AssertionError
       2 failed, 1866 passed, 101 skipped, 4 xfailed, 504 warnings in 303.41 seconds =
      bb6a081a
    • alpine-mips-patches's avatar
      main/py-cparser: enable tests · 2a927c15
      alpine-mips-patches authored
      Built-in unit tests pass on x86_64 and mipseln8hf at least.
      2a927c15
    • Leonardo Arena's avatar
      Revert "main/py-six: upgrade to 1.12.0, added tests" · 47a0135e
      Leonardo Arena authored
      This reverts commit aaf2d627.
      47a0135e
    • alpine-mips-patches's avatar
      main/py-cffi: enable tests · 872c00e3
      alpine-mips-patches authored
      These built-in tests take time (15 min per python version on P5600,
      should be roughly comparable on ARM A53) and surprisingly fail the
      python3 thread-related units on x86_64 (but not on much more faulty
      mipseln8hf). This is why the python3 part is set as optional.
      
      The musl-compat.patch disables/fixes units with obvious glibcisms:
      pretty %p formatting, writable stdout/stderr and RTLD_DEEPBIND.
      872c00e3
    • Dmitry Romanenko's avatar
      aaf2d627
    • J0WI's avatar
      main/jansson: upgrade to 2.12 · 7a063a05
      J0WI authored
      7a063a05
    • tcely's avatar
      community/knot: become maintainer · 9e3c09b1
      tcely authored
      9e3c09b1
    • tcely's avatar
      community/knot: upgrade to 2.7.6 · fdce0222
      tcely authored
      fdce0222
    • Dmitry Romanenko's avatar
      main/py-urllib3: upgrade to 1.24.1 · 310702ca
      Dmitry Romanenko authored
      310702ca
    • J0WI's avatar
      main/libell: upgrade to 0.17 · 7dc50a1e
      J0WI authored
      7dc50a1e
    • Leonardo Arena's avatar
      main/imagemagick: upgrade to 7.0.8.26 · 66b73ddf
      Leonardo Arena authored
      66b73ddf