oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.38k stars 1.63k forks source link

22.1.0 ships org.graalvm.component in all components, not just the base tarball #4516

Open lucaswerkmeister opened 2 years ago

lucaswerkmeister commented 2 years ago

Describe the issue As I was upgrading the GraalVM AUR (Arch User Repository) packages to 22.1.0, I noticed that the path lib/installer/components/org.graalvm.component was present in all release artifacts (tarballs and jars). This causes issues when installing packages simultaneously, so I’ve had to remove the path from all packages but the base one.

Steps to reproduce the issue

$ curl -sL https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.1.0/graalvm-ce-java11-linux-amd64-22.1.0.tar.gz | tar tz | grep lib/installer/components/org.graalvm.component
graalvm-ce-java11-22.1.0/lib/installer/components/org.graalvm.component
$ curl -sL https://github.com/oracle/fastr/releases/download/vm-22.1.0/r-installable-java11-linux-amd64-22.1.0.jar | bsdtar t | grep lib/installer/components/org.graalvm.component
lib/installer/components/org.graalvm.component
$ curl -sL https://github.com/oracle/truffleruby/releases/download/vm-22.1.0/ruby-installable-svm-java17-linux-amd64-22.1.0.jar | bsdtar t | grep lib/installer/components/org.graalvm.component
lib/installer/components/org.graalvm.component
# ...

Describe GraalVM and your environment:

More details

2491 is a pretty similar problem that I’ve been working around for two years now.

lucaswerkmeister commented 2 years ago

Still an issue in 22.2.0.

$ curl -sL https://github.com/oracle/fastr/releases/download/vm-22.2.0/r-installable-java11-linux-amd64-22.2.0.jar | bsdtar t | grep lib/installer/components/org.graalvm.component
lib/installer/components/org.graalvm.component