Package: lz4-java
Version: 1.11.2+ds1-2
Severity: important
Tags: ftbfs patch
User: [email protected]
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
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to