https://bugzilla.redhat.com/show_bug.cgi?id=1881167 --- Comment #14 from Alex Macdonald <almacdon@xxxxxxxxxx> --- mvel is a noarch package so hopefully this isn't a big deterrent, but thought I'd post my findings here anyways for visibility. Recently I've been verifying that lz4-java builds okay on a number of different arches, so I've been able to see how mvel builds as well. It is okay for the most part, aside from s390x on f33 onward (where jdk 11 is now default). Here's a link to a copr build: https://copr.fedorainfracloud.org/coprs/almac/lz4-java/build/1873068/ And here's a link to the build log for the failing f33 s390x build from the above: https://download.copr.fedorainfracloud.org/results/almac/lz4-java/fedora-33-s390x/01873068-mvel/builder-live.log. ``` # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x0000004019d6ec40, pid=107, tid=142 # # JRE version: OpenJDK Runtime Environment 18.9 (11.0.9.1+11) (build 11.0.9.1+11) # Java VM: OpenJDK 64-Bit Server VM 18.9 (11.0.9.1+11, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-s390x) # Problematic frame: # J 50 c1 java.lang.StringLatin1.indexOf([BII)I java.base@11.0.9.1 (61 bytes) @ 0x0000004019d6ec40 [0x0000004019d6ec40+0x0000000000000000] # # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /builddir/build/BUILD/mvel-mvel2-2.4.10.Final/core.107) # ``` After a bit of googling, I found a similar error from a user using the docker s390x platform via qemu-user-static: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12128 In their case, setting up s390x in docker using jdk 11 or 15 resulted in a crash when running "jar -version". There was also mention that this jdk bug could be the problem as well: https://bugs.openjdk.java.net/browse/JDK-8245051 To verify I went back to the mvel spec and added a couple lines to simply run "java -version" and "jar -version", and was able to reproduce the above issue. "java -version" is okay, but there's a sigill encountered on "jar -version". commit in fork branch: https://src.fedoraproject.org/fork/almac/rpms/mvel/c/d95f4fda3fd39d65679d725fcc1b038c343bc8ad?branch=s390x build log in copr: https://download.copr.fedorainfracloud.org/results/almac/lz4-java/fedora-33-s390x/01880165-mvel/builder-live.log.gz ``` + java -version openjdk version "11.0.9.1" 2020-11-04 OpenJDK Runtime Environment 18.9 (build 11.0.9.1+11) OpenJDK 64-Bit Server VM 18.9 (build 11.0.9.1+11, mixed mode, sharing) + jar -version # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x0000004019d67b40, pid=99, tid=102 # # JRE version: OpenJDK Runtime Environment 18.9 (11.0.9.1+11) (build 11.0.9.1+11) # Java VM: OpenJDK 64-Bit Server VM 18.9 (11.0.9.1+11, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-s390x) # Problematic frame: # J 31 c1 java.util.HashMap.afterNodeInsertion(Z)V java.base@11.0.9.1 (1 bytes) @ 0x0000004019d67b40 [0x0000004019d67b00+0x0000000000000040] # # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /builddir/build/BUILD/mvel-mvel2-2.4.10.Final/core.99) # ``` -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx