• Bug#1107773: ocaml: FTBFS on ppc64el: Something failed. Exiting with er

    From Sebastian Ramacher@21:1/5 to All on Sat Jun 14 10:40:01 2025
    Source: ocaml
    Version: 5.3.0-3
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: debian-powerpc@lists.debian.org, sramacher@debian.org
    User: debian-powerpc@lists.debian.org
    Usertags: ppc64el

    Dear maintainer,

    ocaml FTBFS on ppc64el:

    https://buildd.debian.org/status/fetch.php?pkg=ocaml&arch=ppc64el&ver=5.3.0-3&stamp=1749734249&raw=0

    ... testing 'test_dropped_events.ml' => failed
    ... testing 'test_dropped_events.ml' with line 5 (hasunix) => passed
    ... testing 'test_dropped_events.ml' with line 7 (native) => failed (Running program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt without any argument:
    command /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt
    failed with exit code 2)
    ... testing 'test_dropped_events.ml' with line 9 (bytecode) => passed
    Specified modules: test_dropped_events.ml
    Source modules: test_dropped_events.ml
    Running test hasunix with 1 actions

    Running action 1/1 (hasunix)
    Action 1/1 (hasunix) => passed (unix library available)
    Running test native with 8 actions

    Running action 1/8 (setup-ocamlopt.byte-build-env)
    Action 1/8 (setup-ocamlopt.byte-build-env) => passed

    Running action 2/8 (ocamlopt.byte)
    Compiling program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt from modules test_dropped_events.ml
    Commandline: /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun /build/reproducible-path/ocaml-5.3.0/ocamlopt -I /build/reproducible-path/ocaml-5.3.0/runtime -nostdlib -I /build/reproducible-path/ocaml-5.3.0/stdlib -I /build/reproducible-path/ocaml-
    5.3.0/otherlibs/runtime_events -I /build/reproducible-path/ocaml-5.3.0/otherlibs/unix runtime_events.cmxa unix.cmxa -o /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_
    events.opt test_dropped_events.ml
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/ocamlopt.byte.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/ocamlopt.byte.output
    Action 2/8 (ocamlopt.byte) => passed

    Running action 3/8 (check-ocamlopt.byte-output)
    Comparing compiler output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/ocamlopt.byte.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-events/
    test_dropped_events.compilers.reference
    Action 3/8 (check-ocamlopt.byte-output) => passed

    Running action 4/8 (run)
    Commandline: /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt.output
    ### begin stdout ###
    Fatal error: exception Failure("Runtime_events: corrupt stream")
    ### end stdout ###
    Action 4/8 (run) => failed (Running program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt without any argument: command
    /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt
    failed with exit code 2)
    Running test bytecode with 9 actions

    Running action 1/9 (setup-ocamlc.byte-build-env)
    Action 1/9 (setup-ocamlc.byte-build-env) => passed

    Running action 2/9 (ocamlc.byte)
    Compiling program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte from modules test_dropped_events.ml
    Commandline: /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun /build/reproducible-path/ocaml-5.3.0/ocamlc -use-runtime /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun -I /build/reproducible-path/ocaml-5.3.0/runtime -nostdlib -I /build/
    reproducible-path/ocaml-5.3.0/stdlib -I /build/reproducible-path/ocaml-5.3.0/otherlibs/runtime_events -I /build/reproducible-path/ocaml-5.3.0/otherlibs/unix runtime_events.cma unix.cma -o /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/
    lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte test_dropped_events.ml
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/ocamlc.byte.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/ocamlc.byte.output
    Action 2/9 (ocamlc.byte) => passed

    Running action 3/9 (check-ocamlc.byte-output)
    Comparing compiler output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/ocamlc.byte.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-events/test_
    dropped_events.compilers.reference
    Action 3/9 (check-ocamlc.byte-output) => passed

    Running action 4/9 (run)
    Commandline: /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte.output
    Action 4/9 (run) => passed

    Running action 5/9 (check-program-output)
    Comparing program output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-
    events/test_dropped_events.reference
    Action 5/9 (check-program-output) => passed

    Running action 6/9 (setup-ocamlc.opt-build-env)
    Action 6/9 (setup-ocamlc.opt-build-env) => passed

    Running action 7/9 (ocamlc.opt)
    Compiling program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/test_dropped_events.byte from modules test_dropped_events.ml
    Commandline: /build/reproducible-path/ocaml-5.3.0/ocamlc.opt -use-runtime /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun -I /build/reproducible-path/ocaml-5.3.0/runtime -nostdlib -I /build/reproducible-path/ocaml-5.3.0/stdlib -I /build/
    reproducible-path/ocaml-5.3.0/otherlibs/runtime_events -I /build/reproducible-path/ocaml-5.3.0/otherlibs/unix runtime_events.cma unix.cma -o /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/
    test_dropped_events.byte test_dropped_events.ml
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/ocamlc.opt.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/ocamlc.opt.output
    Action 7/9 (ocamlc.opt) => passed

    Running action 8/9 (check-ocamlc.opt-output)
    Comparing compiler output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/ocamlc.opt.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-events/test_
    dropped_events.compilers.reference
    Action 8/9 (check-ocamlc.opt-output) => passed

    Running action 9/9 (compare-bytecode-programs)
    Comparing bytecode programs /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte and /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-
    events/test_dropped_events/ocamlc.opt/test_dropped_events.byte
    Action 9/9 (compare-bytecode-programs) => passed


    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sebastian Ramacher@21:1/5 to Sebastian Ramacher on Sat Jun 14 15:30:01 2025
    Control: severity -1 important

    On 2025-06-14 10:29:56 +0200, Sebastian Ramacher wrote:
    Source: ocaml
    Version: 5.3.0-3
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past)
    X-Debbugs-Cc: debian-powerpc@lists.debian.org, sramacher@debian.org
    User: debian-powerpc@lists.debian.org
    Usertags: ppc64el

    Dear maintainer,

    ocaml FTBFS on ppc64el:

    https://buildd.debian.org/status/fetch.php?pkg=ocaml&arch=ppc64el&ver=5.3.0-3&stamp=1749734249&raw=0

    ... testing 'test_dropped_events.ml' => failed
    ... testing 'test_dropped_events.ml' with line 5 (hasunix) => passed
    ... testing 'test_dropped_events.ml' with line 7 (native) => failed (Running program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt without any argument:
    command
    /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt
    failed with exit code 2)
    ... testing 'test_dropped_events.ml' with line 9 (bytecode) => passed
    Specified modules: test_dropped_events.ml
    Source modules: test_dropped_events.ml
    Running test hasunix with 1 actions

    Running action 1/1 (hasunix)
    Action 1/1 (hasunix) => passed (unix library available)
    Running test native with 8 actions

    Running action 1/8 (setup-ocamlopt.byte-build-env)
    Action 1/8 (setup-ocamlopt.byte-build-env) => passed

    Running action 2/8 (ocamlopt.byte)
    Compiling program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt from modules test_dropped_events.ml
    Commandline: /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun /build/reproducible-path/ocaml-5.3.0/ocamlopt -I /build/reproducible-path/ocaml-5.3.0/runtime -nostdlib -I /build/reproducible-path/ocaml-5.3.0/stdlib -I /build/reproducible-path/
    ocaml-5.3.0/otherlibs/runtime_events -I /build/reproducible-path/ocaml-5.3.0/otherlibs/unix runtime_events.cmxa unix.cmxa -o /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_
    events.opt test_dropped_events.ml
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/ocamlopt.byte.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/ocamlopt.byte.output
    Action 2/8 (ocamlopt.byte) => passed

    Running action 3/8 (check-ocamlopt.byte-output)
    Comparing compiler output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/ocamlopt.byte.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-events/
    test_dropped_events.compilers.reference
    Action 3/8 (check-ocamlopt.byte-output) => passed

    Running action 4/8 (run)
    Commandline: /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt.output
    ### begin stdout ###
    Fatal error: exception Failure("Runtime_events: corrupt stream")
    ### end stdout ###
    Action 4/8 (run) => failed (Running program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt without any argument: command
    /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlopt.byte/test_dropped_events.opt
    failed with exit code 2)
    Running test bytecode with 9 actions

    Running action 1/9 (setup-ocamlc.byte-build-env)
    Action 1/9 (setup-ocamlc.byte-build-env) => passed

    Running action 2/9 (ocamlc.byte)
    Compiling program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte from modules test_dropped_events.ml
    Commandline: /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun /build/reproducible-path/ocaml-5.3.0/ocamlc -use-runtime /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun -I /build/reproducible-path/ocaml-5.3.0/runtime -nostdlib -I /build/
    reproducible-path/ocaml-5.3.0/stdlib -I /build/reproducible-path/ocaml-5.3.0/otherlibs/runtime_events -I /build/reproducible-path/ocaml-5.3.0/otherlibs/unix runtime_events.cma unix.cma -o /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/
    lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte test_dropped_events.ml
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/ocamlc.byte.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/ocamlc.byte.output
    Action 2/9 (ocamlc.byte) => passed

    Running action 3/9 (check-ocamlc.byte-output)
    Comparing compiler output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/ocamlc.byte.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-events/test_
    dropped_events.compilers.reference
    Action 3/9 (check-ocamlc.byte-output) => passed

    Running action 4/9 (run)
    Commandline: /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte.output
    Action 4/9 (run) => passed

    Running action 5/9 (check-program-output)
    Comparing program output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-
    events/test_dropped_events.reference
    Action 5/9 (check-program-output) => passed

    Running action 6/9 (setup-ocamlc.opt-build-env)
    Action 6/9 (setup-ocamlc.opt-build-env) => passed

    Running action 7/9 (ocamlc.opt)
    Compiling program /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/test_dropped_events.byte from modules test_dropped_events.ml
    Commandline: /build/reproducible-path/ocaml-5.3.0/ocamlc.opt -use-runtime /build/reproducible-path/ocaml-5.3.0/runtime/ocamlrun -I /build/reproducible-path/ocaml-5.3.0/runtime -nostdlib -I /build/reproducible-path/ocaml-5.3.0/stdlib -I /build/
    reproducible-path/ocaml-5.3.0/otherlibs/runtime_events -I /build/reproducible-path/ocaml-5.3.0/otherlibs/unix runtime_events.cma unix.cma -o /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/
    test_dropped_events.byte test_dropped_events.ml
    Redirecting stdout to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/ocamlc.opt.output
    Redirecting stderr to /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/ocamlc.opt.output
    Action 7/9 (ocamlc.opt) => passed

    Running action 8/9 (check-ocamlc.opt-output)
    Comparing compiler output /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.opt/ocamlc.opt.output to reference /build/reproducible-path/ocaml-5.3.0/testsuite/tests/lib-runtime-events/test_
    dropped_events.compilers.reference
    Action 8/9 (check-ocamlc.opt-output) => passed

    Running action 9/9 (compare-bytecode-programs)
    Comparing bytecode programs /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-events/test_dropped_events/ocamlc.byte/test_dropped_events.byte and /build/reproducible-path/ocaml-5.3.0/testsuite/_ocamltest/tests/lib-runtime-
    events/test_dropped_events/ocamlc.opt/test_dropped_events.byte
    Action 9/9 (compare-bytecode-programs) => passed

    A give-back was successful. So this is another flaky test.

    Cheers
    --
    Sebastian Ramacher

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