69098 Commits

Author SHA1 Message Date
Leonardo Arena
faec38acfe main/py-cffi: disable tests also for aarch64
=================================== 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 =
2019-02-06 14:11:38 +00:00
J0WI
76ad23c95b main/ccache: upgrade to 3.6 2019-02-06 14:07:29 +00:00
Dmitry Romanenko
4e9201118e main/py-requests: upgrade to 2.21.0 2019-02-06 14:06:36 +00:00
Simon Frankenberger
5725c3c222 main/dovecot: Security upgrade to 2.3.4.1 (CVE-2019-3814) 2019-02-06 14:05:02 +00:00
Leonardo Arena
bb6a081a73 main/py-cffi: disable tests on x86 and ppc64le
>>>>>>>>>>>>>>>>>>> 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 =
2019-02-06 13:48:09 +00:00
alpine-mips-patches
2a927c1555 main/py-cparser: enable tests
Built-in unit tests pass on x86_64 and mipseln8hf at least.
2019-02-06 13:40:54 +00:00
Leonardo Arena
47a0135efc Revert "main/py-six: upgrade to 1.12.0, added tests"
This reverts commit aaf2d627aa99b8425b74e7ee39af33d70045fd5a.
2019-02-06 13:37:45 +00:00
alpine-mips-patches
872c00e3f6 main/py-cffi: enable tests
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.
2019-02-06 13:22:20 +00:00
Dmitry Romanenko
aaf2d627aa main/py-six: upgrade to 1.12.0, added tests 2019-02-06 11:27:26 +00:00
J0WI
7a063a0587 main/jansson: upgrade to 2.12 2019-02-06 11:27:02 +00:00
tcely
9e3c09b1cd community/knot: become maintainer 2019-02-06 11:24:43 +00:00
tcely
fdce022232 community/knot: upgrade to 2.7.6 2019-02-06 11:24:43 +00:00
Dmitry Romanenko
310702ca01 main/py-urllib3: upgrade to 1.24.1 2019-02-06 11:24:10 +00:00
J0WI
7dc50a1e53 main/libell: upgrade to 0.17 2019-02-06 11:22:04 +00:00
Leonardo Arena
66b73ddf36 main/imagemagick: upgrade to 7.0.8.26 2019-02-06 11:21:32 +00:00
J0WI
7d2b7387f3 main/imagemagick: upgrade to 7.0.8.24 2019-02-06 11:11:16 +00:00
Oleg Titov
5ea7ffbf0d main/libuv: upgrade to 1.25.0 2019-02-06 11:08:34 +00:00
PureTryOut
69b0b34f6b community/qt5-qtwayland: new aport 2019-02-06 11:07:59 +00:00
PureTryOut
3d25ed9508 community/qt5-qtspeech: new aport 2019-02-06 11:07:36 +00:00
PureTryOut
e8fff67b7d community/qt5-qtvirtualkeyboard: new aport 2019-02-06 11:04:48 +00:00
Fabian Affolter
c5b1cdc157 community/xkcdpass: upgrade to 1.17.0 2019-02-06 11:03:43 +00:00
Fabian Affolter
038a106cf6 main/py3-pylast: upgrade to 3.0.0 2019-02-06 11:02:45 +00:00
Fabian Affolter
032a6a4e48 main/py-pylast: rename aport (now Python 3-only) 2019-02-06 11:02:45 +00:00
Leonardo Arena
1ed74482a0 main/iperf: update checksums 2019-02-06 11:02:08 +00:00
Fabian Affolter
7cb7dd7f6d main/pytest: upgrade to 4.1.1 2019-02-06 11:00:52 +00:00
Fabian Affolter
4c223d8742 main/p11-kit: upgrade to 0.23.15 2019-02-06 11:00:33 +00:00
Fabian Affolter
06fd282e8e main/py-psycopg2: upgrade to 2.7.6 2019-02-06 10:58:44 +00:00
Fabian Affolter
6cb83fef01 main/py-idna: upgrade to 2.8 2019-02-06 10:54:15 +00:00
André Klitzing
8c130516e3 main/py-cryptography: upgrade to 2.5 2019-02-06 10:53:46 +00:00
Oleg Titov
30275f31cd main/iperf: upgrade to 2.0.13 2019-02-06 10:52:06 +00:00
tcely
50eda18236 main/unbound: add -openrc subpackage 2019-02-06 10:06:26 +00:00
tcely
b9afdcf86c main/unbound: root.hints cleanup white-space warnings 2019-02-06 10:06:26 +00:00
tcely
309313e40c main/unbound: upgrade root.hints to 2018111402 2019-02-06 10:06:26 +00:00
tcely
8b82b5d5fc main/bind: named.ca cleanup white-space warnings 2019-02-06 10:05:59 +00:00
tcely
ad413784a2 main/bind: upgrade named.ca to 2018111402 2019-02-06 10:05:59 +00:00
tcely
621d11e236 main/bind: upgrade to 9.12.3-P1
https://kb.isc.org/docs/dnssec-key-deletion-may-create-broken-nsec-and-nsec3-chains-and-unnecessary-rrsigs
2019-02-06 10:05:59 +00:00
Timo Teräs
5af4400e9f main/mkinitfs: fix fbsplash 2019-02-06 11:43:20 +02:00
Tuan Hoang
012fdd1640 main/directfb: fix broken source 2019-02-06 09:19:08 +00:00
J0WI
7d6eb4f4a4 community/virtualbox-guest-modules-vanilla: uprade to 6.0.4 2019-02-06 09:18:37 +00:00
J0WI
1c2dc53719 community/virtualbox-guest-modules-vanilla: uprade to 6.0.2 2019-02-06 09:18:37 +00:00
J0WI
35367aed0a community/virtualbox-guest-additions: upgrade to 6.0.4 2019-02-06 09:09:40 +00:00
J0WI
067448dfb7 main/iso-codes: upgrade to 4.2 2019-02-06 09:08:49 +00:00
J0WI
52320f58de main/supervisor: upgrade to 3.3.5 2019-02-06 09:06:05 +00:00
Leonardo Arena
8763a9bbae testing/capnproto: disable tests on arm* too 2019-02-06 09:03:22 +00:00
Leonardo Arena
9195380396 testing/capnproto: disable tests on s390x
FAIL: capnp-test
2019-02-06 08:31:06 +00:00
Leonardo Arena
89c648d65d Revert "main/busybox: add program to get hw-provided clocksource on s390x"
This reverts commit 2979bb1d34e0253297e4fab4069848c638fa1aac.
2019-02-06 08:22:04 +00:00
Leonardo Arena
ea7e06c9e8 Revert "main/openrc: use tod as hwclock on s390x"
This reverts commit 28d9a37f27e810798196424f52208e6914924e24.
2019-02-06 08:21:32 +00:00
J0WI
86bc52a2cc main/vim: upgrade to 8.1.0829 2019-02-06 08:00:06 +00:00
nick black
92b61d8bc7 testing/capnproto: pkgrel 0 for initial release 2019-02-06 07:58:35 +00:00
nick black
5c3202651c testing/capnproto: normalize whitespace 2019-02-06 07:58:35 +00:00