Forwarding Gentoo bug 920696 . We see the following test failure on an hppa2.0-unknown-linux-gnu (Linux-6.9.8-gentoo-parisc64-parisc64-PA8900_-Shortfin-with-glibc2.39) system: Test erc-networks--id-sort-buffers condition: (ert-test-failed ((should (equal (erc-networks--id-sort-buffers ...) (list newest middle oldest))) :form (equal (# # #) (# # #)) :value nil :explanation (list-elt 0 (different-atoms # #)))) FAILED 6/41 erc-networks--id-sort-buffers (0.000000 sec) at lisp/erc/erc-networks-tests.el:133 [...] Ran 41 tests, 40 results as expected, 1 unexpected (2024-09-03 20:09:01+0000, 14 .712021 sec) 1 unexpected results: FAILED erc-networks--id-sort-buffers ((should (equal (erc-networks--id-sort -buffers (list oldest newest middle)) (list newest middle oldest))) :form (equal (# # #) (# # #)) :value nil :explanation (list-elt 0 (different-atoms # #))) [...] SUMMARY OF TEST RESULTS ----------------------- Files examined: 465 Ran 6939 tests, 6675 results as expected, 1 unexpected, 263 skipped 1 files contained unexpected results: lisp/erc/erc-networks-tests.log Looking at the code, the test creates three buffers, then sorts them by time. Clock resolution on HPPA appears to be 4 milliseconds, so it is not unlikely that the buffers end up with exactly the same timestamp and sorting fails. Attached patch fixes the problem. Is it OK to install it on the emacs-30 branch?