Bug#1146571: lz4-java: please skip tests on loong64, build times out with OpenJDK Zero VM

张娜 zhangna at loongson.cn
Thu Sep 3 11:03:09 BST 2026


Package: lz4-java
Version: 1.11.2+ds1-2
Severity: important
Tags: ftbfs patch
User: debian-loongarch at lists.debian.org
Usertags: loong64






Dear Maintainer,


  lz4-java currently FTBFS on loong64. The native JNI library itself builds successfully, but the Maven test phase is too slow because the current OpenJDK on loong64 runs with the Zero VM.


  The buildd log shows:


    OpenJDK 64-Bit Zero VM warning
    ...
    LZ4FrameIOStreamTest: 607.256 s
    LZ4BlockStreamingTest: 1,427.751 s
    Running net.jpountz.lz4.LZ4Test
    E: Build killed with signal TERM after 150 minutes of inactivity


  So this is not a missing loong64 JNI build issue in lz4-java. The failure is caused by the test suite running too slowly under Zero VM.


  debian/rules already skips tests on several slow architectures:


       alpha armel ia64 mips64el mipsel powerpc riscv64 x32


  Please consider adding loong64 to this list until OpenJDK on loong64 has a non-Zero VM/JIT capable enough to run the test suite within buildd limits.


  Proposed change:


  --- a/debian/rules
  +++ b/debian/rules
  @@ -39,7 +39,7 @@ override_dh_auto_test-indep:


   override_dh_auto_test-arch:
   ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
  -ifeq (,$(filter alpha armel ia64 mips64el mipsel powerpc riscv64 x32,
  $(DEB_BUILD_ARCH)))
  +ifeq (,$(filter alpha armel ia64 loong64 mips64el mipsel powerpc riscv64 x32,
  $(DEB_BUILD_ARCH)))
        dh_auto_test -- test -P '!native-linux' -DargLine=-Djava.library.path=$(CURDIR)/build
   endif
   endif


  Buildd log:
  https://buildd.debian.org/status/fetch.php?pkg=lz4-java&arch=loong64&ver=1.11.2%2Bds1-2&stamp=1788345784&raw=1


  Buildd status:
  https://buildd.debian.org/status/package.php?p=lz4-java


  Regards,
  Na Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20260903/0b452d09/attachment-0001.htm>


More information about the pkg-java-maintainers mailing list