<style>p {margin:0 0 14px 0}.default-font-1788429789042 {font-size: 14px;font-family: 宋体, arial, Verdana, sans-serif}</style><div class="default-font-1788429789042"><span style="text-wrap-mode:nowrap;">Package: lz4-java</span><br>
<span style="text-wrap-mode:nowrap;">Version: 1.11.2+ds1-2</span><br>
<span style="text-wrap-mode:nowrap;">Severity: important</span><br>
<span style="text-wrap-mode:nowrap;">Tags: ftbfs patch</span><br>
<span style="text-wrap-mode:nowrap;">User: debian-loongarch@lists.debian.org</span><br>
<span style="text-wrap-mode:nowrap;">Usertags: loong64</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span>
<p>
        <span style="text-wrap-mode:nowrap;"><br>
</span>
</p>
<p>
        <span style="text-wrap-mode:nowrap;">Dear Maintainer,</span>
</p>
<br>
<span style="text-wrap-mode:nowrap;">  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.</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  The buildd log shows:</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">    OpenJDK 64-Bit Zero VM warning</span><br>
<span style="text-wrap-mode:nowrap;">    ...</span><br>
<span style="text-wrap-mode:nowrap;">    LZ4FrameIOStreamTest: 607.256 s</span><br>
<span style="text-wrap-mode:nowrap;">    LZ4BlockStreamingTest: 1,427.751 s</span><br>
<span style="text-wrap-mode:nowrap;">    Running net.jpountz.lz4.LZ4Test</span><br>
<span style="text-wrap-mode:nowrap;">    E: Build killed with signal TERM after 150 minutes of inactivity</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  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.</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  debian/rules already skips tests on several slow architectures:</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">       alpha armel ia64 mips64el mipsel powerpc riscv64 x32</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  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.</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  Proposed change:</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  --- a/debian/rules</span><br>
<span style="text-wrap-mode:nowrap;">  +++ b/debian/rules</span><br>
<span style="text-wrap-mode:nowrap;">  @@ -39,7 +39,7 @@ override_dh_auto_test-indep:</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">   override_dh_auto_test-arch:</span><br>
<span style="text-wrap-mode:nowrap;">   ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))</span><br>
<span style="text-wrap-mode:nowrap;">  -ifeq (,$(filter alpha armel ia64 mips64el mipsel powerpc riscv64 x32,</span><br>
<span style="text-wrap-mode:nowrap;">  $(DEB_BUILD_ARCH)))</span><br>
<span style="text-wrap-mode:nowrap;">  +ifeq (,$(filter alpha armel ia64 loong64 mips64el mipsel powerpc riscv64 x32,</span><br>
<span style="text-wrap-mode:nowrap;">  $(DEB_BUILD_ARCH)))</span><br>
<span style="text-wrap-mode:nowrap;">        dh_auto_test -- test -P '!native-linux' -DargLine=-Djava.library.path=$(CURDIR)/build</span><br>
<span style="text-wrap-mode:nowrap;">   endif</span><br>
<span style="text-wrap-mode:nowrap;">   endif</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  Buildd log:</span><br>
<span style="text-wrap-mode:nowrap;">  https://buildd.debian.org/status/fetch.php?pkg=lz4-java&arch=loong64&ver=1.11.2%2Bds1-2&stamp=1788345784&raw=1</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  Buildd status:</span><br>
<span style="text-wrap-mode:nowrap;">  https://buildd.debian.org/status/package.php?p=lz4-java</span><br>
<span style="text-wrap-mode:nowrap;"><br>
</span><br>
<span style="text-wrap-mode:nowrap;">  Regards,</span><br>
<span style="text-wrap-mode:nowrap;">  Na Zhang</span><br></div><br><br><i style="font-variant-numeric: normal; font-variant-east-asian: normal; widows: 1; font-family: 宋体, Tahoma; font-size: 14px; line-height: 16.8px;"><font color="#c0c0c0"><span style="font-size: 10pt; font-family: 宋体;">本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部</span><span style="font-size: 10pt; font-family: 宋体;">分地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。</span><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"> <br>This email and its attachments contain confidential information from Loongson Technology , which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it. </span></font></i>