• Bug#1104274: mlmmj: FTBFS on all archs except amd64, mips64el: broken:

    From Chris Hofstaedtler@21:1/5 to Chris Knadle on Thu May 1 11:20:02 2025
    On Wed, Apr 30, 2025 at 05:40:34PM -0400, Chris Knadle wrote:
    This bug is a duplicate of #1103308

    I've been working with upstream trying to figure out the test failures.

    The code compiles fine but the tests time out on all but 4 architectures (2 release architectures).

    It's 7 release architectures.

    Unfortunately the test log seems to not have enough detail to debug
    anything. However on arm64 at least I can see this happening:

    bash -e ./tests/functional-tests discard
    ...
    + for d in incoming queue queue/discarded archive text subconf unsubconf bounce control moderation subscribers.d digesters.d requeue nomailsubs.d
    + mkdir list/nomailsubs.d
    + echo list@test
    ++ pwd
    + here=/home/ch/Debian/nmu/mlmmj-1.5.0
    + echo 'step 1'
    step 1
    + atf_check -s exit:0 .../mlmmj-1.5.0/src/mlmmj-receive -L list -F
    + /usr/libexec/atf-check -s exit:0 /home/ch/Debian/nmu/mlmmj-1.5.0/src/mlmmj-receive -L list -F
    Executing command [ .../mlmmj-1.5.0/src/mlmmj-receive -L list -F ]

    strace'ing mlmmj-receive shows a lot of this happening:

    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1
    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1
    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1
    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1
    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1
    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1
    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1
    read(7, "", 4096) = 0
    write(5, "\377", 1) = 1

    and mlmmj-receive taking one full CPU core until it gets killed.

    The involved FDs are:

    5u mlmmj-1.5.0/list/queue/46edf6467742b084
    6r mlmmj-1.5.0/list/incoming/1d47fc2375333420
    7r mlmmj-1.5.0/list/incoming/1d47fc2375333420

    % hexdump -C mlmmj-1.5.0/list/incoming/1d47fc2375333420
    00000000 62 6c 61 0a |bla.|
    00000004

    This seems like a code bug.

    Chris

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