• Bug#1103089: jnr-ffi: FTBFS

    From Santiago Vila@21:1/5 to All on Tue Apr 29 23:10:01 2025
    Hello.

    In addition to what Lucas reported, this package fails to build for
    me on amd64:

    82% of the time on machines with 1 CPU
    6% of the time on machines with 2 CPUs

    so maybe the issue is not about amd64/i386 but about overall speed.

    I suggest that you try on your normal amd64 system using GRUB_CMDLINE_LINUX="nr_cpus=1".

    If that does not work please contact me privately, as I can
    offer a VM where this high failure rate happens consistently.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Miguel Landaeta@21:1/5 to All on Thu May 1 22:30:01 2025
    For now I only could come up with a workaround disabling the unit
    tests in all architectures except amd64.

    https://salsa.debian.org/java-team/jnr-ffi/-/commit/68b9e6c360b4f27f199af8c564d6ff74d09fa0f2

    Upstream doesn't really test on i386. They have support for arm64 but
    the required dependency is not available in Debian yet.

    In 1 week or so, I'll take a look at the amd64 failures when running
    in 1 CPU as reported by Santiago. I'm also observing the tests take
    too long, making the build time 30-40 mins, this doesn't make sense
    for a normal size library like this one.

    Anyway, based on what I find at that point, I'll take a decision to go
    with the workaround linked above and/or address the other outstanding
    issue(s).

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