• Re: Idea: autopkgtest on big-endian for 'Architecture: all' packages to

    From =?UTF-8?Q?David_Pr=c3=a9vot?=@21:1/5 to All on Tue Aug 2 18:50:02 2022
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------hAgl0BXah5604loEVS0YLC7b
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    SGksDQoNCkxlIDAyLzA4LzIwMjIgw6AgMTg6MDAsIEVkd2FyZCBCZXR0cyBhIMOpY3JpdMKg Og0KW+KApl0NCj4gSSB3b25kZXIgaWYgaXQgd291bGQgYmUgcG9zc2libGUgdG8gcm91dGlu ZWx5IHJ1biB0aGUgYXV0b3BrZ3Rlc3RzIG9uIHMzOTB4LA0KPiBvciBhbm90aGVyIGJpZy1l bmRpYW4gYXJjaGl0ZWN0dXJlLCBmb3IgJ0FyY2hpdGVjdHVyZTogYWxsJyBwYWNrYWdlcyBh bmQgbWFrZQ0KPiB0aGUgcmVzdWx0cyBhdmFpbGFibGUuDQoNCkFGQUlDVCwgdGhleSBhbHJl YWR5IGFyZS4gRS5nLiA8aHR0cHM6Ly9jaS5kZWJpYW4ubmV0L3BhY2thZ2VzL3AvcGhwdW5p dC8+Lg0KDQpSZWdhcmRzDQoNCnRhZmZpdA0K

    --------------hAgl0BXah5604loEVS0YLC7b--

    -----BEGIN PGP SIGNATURE-----

    wsB5BAABCAAjFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmLpVFoFAwAAAAAACgkQBYwc+UT2vTyV /wf/cz+ezo1OnlfApoH0iBcHvhEW5BUVz2td3vyqXipk5IM6niiEaRKr25jk+rfeXMFg8S8Zi/ae gPypik530LON5UPpzQvwn1ASXAHEQs/dpKJjSavGoqA/CXqzBYeOWy2D2DiK0fTx2fd5XESTVfHj 6HcEplPFERYkK/dzXtMMC98F3b+qUXlOKP3d2ULy0GANJ5re1dYKOMdf8ljBm/ejCs6puzloaBuP 8Zgn/3Kb2sjlx5DbK9Xpu9yZ8h+tX2YWG78QVx/cnxLGMedUauhvQej60PLugNVZCQXuLzC9o/Va rOLKC4u4KwB30sDDiWIhRiU8xvTnA0tkd3ssxDhtwQ==
    =URTy
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Edward Betts@21:1/5 to david@tilapin.org on Tue Aug 2 19:10:01 2022
    David Prévot <david@tilapin.org> wrote:
    Hi,

    Le 02/08/2022 à 18:00, Edward Betts a écrit :
    […]
    I wonder if it would be possible to routinely run the autopkgtests on s390x,
    or another big-endian architecture, for 'Architecture: all' packages and make
    the results available.

    AFAICT, they already are. E.g. <https://ci.debian.net/packages/p/phpunit/>.

    That's what I was looking for. I hadn't found it.

    I see the test fail here: https://ci.debian.net/packages/s/sqlite-fts4/

    Thanks,
    --
    Edward.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Didier 'OdyX' Raboud@21:1/5 to All on Tue Aug 2 18:15:21 2022
    Le mardi, 2 août 2022, 18.00:40 h CEST Edward Betts a écrit :
    I recently packaged a Python module called sqlite-fts4 written by Simon Willison. The package is pure Python, so is 'Architecture: all', but it
    fails on big-endian architectures. The test suite catches this failure.

    The bug was spotted by OpenSUSE because they tried to run the test suite on s390x. They filed a bug which upstream has fixed.

    https://github.com/simonw/sqlite-fts4/issues/6

    Simon has written some posts about this problem.

    https://til.simonwillison.net/python/struct-endianness https://til.simonwillison.net/docker/emulate-s390x-with-qemu

    It would be nice if the Debian infrastructure could catch this class of bug.

    Building the sqlite-fts4 Debian package runs the test suite, and I've configured it to run the tests via autopkgtest.

    If these tests are run at build-time, errors halt the build and that provides the largest coverage. It's also usually easier to iterate and test than autopkgtest.

    --
    OdyX
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAmLpTZkACgkQqcb6xg1j AWl2lBAApblqrEVeWW7sQj6XcbqscEFc949neOzTfJwR97de3xZ4pdGO82VmJ/1M ENtWFYufHGPeOgtJFWznKEHGhkl7nB3qzvOLTJl8A/kn0OWz2h5uVZ1VcUH0GE/Z Ji2oM4KR6xj5ioGTLygkfoKvVx4KI5v35+tdxXFGCd5zUeSPZtfPgg9Qw93MVG3q mT9tHcTG1alsBN+sB+CQaGmDM9Pxa5oMVp+BzyhHaNsN2/G+tXatRIGsyE+5as+Q nose3Nb+DYd4P4JtfuAOcRSIS3qAE9ZSTBzYuyNVXImAUReYYBkLadT2GnG0aABx p5sN9JzaXXOpClwxITKvvnqHGI290sqItAtw/zFQr8a+9BSmdlR1n20GiqIv5/Bf ekzOXuf/2JNWuYqR27mlUwUOMZvbUQuik25wJKGqCxdz7gKRVTyrxCovs6G+oo5G q1y5LTlZdRxR4Hz03E9Hd/A+caNCBiEvSVjdcDjZZrBooIVE/k45Wkqdhpl1o6Cc ZzoqKZS3R7bvVodj3+jVV+yMfwXzsUDQmErwSt9zUAn0OuX/pa2gNKGbYjO7aRn+ 1cMse+zaV1notAny8bypASRquLZhPvoFrxo24GQLZdKu6OL9a0c4pYpSPfnxMNeu oZC0VP5KAwLjbj0jS9uhMr6aAC4e26cgWU/jJTCyr5YJC65KQKg=
    =xN6A
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Gevers@21:1/5 to All on Tue Aug 2 22:50:01 2022
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------VZkqtXmFBfdIGfv45KSwdHda
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    SGkgRWR3YXJkLA0KDQpPbiAwMi0wOC0yMDIyIDE4OjAwLCBFZHdhcmQgQmV0dHMgd3JvdGU6 DQo+IEkgd29uZGVyIGlmIGl0IHdvdWxkIGJlIHBvc3NpYmxlIHRvIHJvdXRpbmVseSBydW4g dGhlIGF1dG9wa2d0ZXN0cyBvbiBzMzkweCwNCj4gb3IgYW5vdGhlciBiaWctZW5kaWFu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jD73kSJwMa4vHCfZvmFUp+Tt Bt1YxVTQgQ1Mzz9GlLq9Xul1zC6AzD69VbvzTxnlplIjWykb9rzHxN+e9NQq713qM5phtXZK0KY0 9WF7SmIwDX2kyprP4r64aRpBj05foWCt2/24zs4ICw==
    =+bak
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thorsten Glaser@21:1/5 to All on Sun Aug 28 19:10:02 2022
    Didier 'OdyX' Raboud dixit:

    If these tests are run at build-time, errors halt the build and that provides

    That may not be enough, though; there are cases where the build
    architecture determines artefact endianness (e.g. with PCF bitmap
    fonts), and that may even be enough (X servers can load PCFs from reverse-endian builds), but it may be a bug. So you’d ideally use
    both.

    bye,
    //mirabilos
    --
    15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adam Borowski@21:1/5 to Thorsten Glaser on Mon Aug 29 03:40:01 2022
    On Sun, Aug 28, 2022 at 04:56:26PM +0000, Thorsten Glaser wrote:
    Didier 'OdyX' Raboud dixit:
    If these tests are run at build-time, errors halt the build and that provides

    That may not be enough, though; there are cases where the build
    architecture determines artefact endianness (e.g. with PCF bitmap
    fonts), and that may even be enough (X servers can load PCFs from reverse-endian builds), but it may be a bug. So you’d ideally use
    both.

    Funny thing: there's not a single release architecture that's both
    bad-endian and supports X (they do build X related packages because the dependency graph is quite dense, but there are no users). So this
    particular problem has solved itself :)


    Meow!
    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁
    ⢿⡄⠘⠷⠚⠋⠀ You're alive. But that's just a phase. ⠈⠳⣄⠀⠀⠀⠀

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastien ROUCARIES@21:1/5 to All on Mon Aug 29 09:20:01 2022
    Le lun. 29 août 2022 à 03:30, Adam Borowski <kilobyte@angband.pl> a écrit :

    On Sun, Aug 28, 2022 at 04:56:26PM +0000, Thorsten Glaser wrote:
    Didier 'OdyX' Raboud dixit:
    If these tests are run at build-time, errors halt the build and that
    provides

    That may not be enough, though; there are cases where the build architecture determines artefact endianness (e.g. with PCF bitmap
    fonts), and that may even be enough (X servers can load PCFs from reverse-endian builds), but it may be a bug. So you’d ideally use
    both.

    Funny thing: there's not a single release architecture that's both
    bad-endian and supports X (they do build X related packages because the dependency graph is quite dense, but there are no users). So this
    particular problem has solved itself :)


    They could use xembed + vnc

    Bastien



    Meow!
    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁
    ⢿⡄⠘⠷⠚⠋⠀ You're alive. But that's just a phase. ⠈⠳⣄⠀⠀⠀⠀



    <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 29 août 2022 à 03:30, Adam Borowski &lt;<a href="mailto:kilobyte@angband.pl">kilobyte@angband.pl</a>&gt; a écrit :<br></div><blockquote class="gmail_quote"
    style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Aug 28, 2022 at 04:56:26PM +0000, Thorsten Glaser wrote:<br>
    &gt; Didier &#39;OdyX&#39; Raboud dixit:<br>
    &gt; &gt;If these tests are run at build-time, errors halt the build and that provides<br>
    &gt; <br>
    &gt; That may not be enough, though; there are cases where the build<br>
    &gt; architecture determines artefact endianness (e.g. with PCF bitmap<br>
    &gt; fonts), and that may even be enough (X servers can load PCFs from<br>
    &gt; reverse-endian builds), but it may be a bug. So you’d ideally use<br> &gt; both.<br>

    Funny thing: there&#39;s not a single release architecture that&#39;s both<br> bad-endian and supports X (they do build X related packages because the<br> dependency graph is quite dense, but there are no users).  So this<br> particular problem has solved itself :)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">They could use xembed + vnc</div><div dir="auto"><br></div><div dir="auto">Bastien</div><div dir="auto"><div class="gmail_quote"><blockquote
    class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


    Meow!<br>
    -- <br>
    ⢀⣴⠾⠻⢶⣦⠀<br>
    ⣾⠁⢠⠒⠀⣿⡁<br>
    ⢿⡄⠘⠷⠚⠋⠀ You&#39;re alive.  But that&#39;s just a phase.<br> ⠈⠳⣄⠀⠀⠀⠀<br>

    </blockquote></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thorsten Glaser@21:1/5 to All on Mon Aug 29 16:20:01 2022
    kilobyte dixit:

    Funny thing: there's not a single release architecture that's both
    bad-endian and supports X (they do build X related packages because the >dependency graph is quite dense, but there are no users). So this

    Meh. Remote X, X forwarding over SSH, VNC and RDP servers exist.
    So do d-ports architectures, which I used to care about before
    sid got Poettering’d again by Md. Now I run bullseye.

    So no, it’s not solved itself… well, not like you said but, as I
    said, X *can* load wrong-endian PCF fonts.

    bye,
    //mirabilos
    --
    <cnuke> den AGP stecker anfeilen, damit er in den slot aufm 440BX board passt…
    oder netzteile, an die man auch den monitor angeschlossen hat und die dann für ein elektrisch aufgeladenes gehäuse gesorgt haben […] für lacher gut auf jeder
    LAN party │ <nvb> damals, als der pizzateig noch auf dem monior "gegangen" ist

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)