Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 is used instead of amd64 when installing a module with "OpenIDE-Module-Requires: org.openide.modules.jre.JavaFX". #6460

Closed
philippefichet opened this issue Sep 17, 2023 · 4 comments · Fixed by #6477
Labels
kind:bug Bug report or fix Platform [ci] enable platform tests (platform/*)

Comments

@philippefichet
Copy link
Contributor

Apache NetBeans version

Apache NetBeans 19

What happened

When I want to install the asciidoc4netbeans module (download from https://plugins.netbeans.apache.org/catalogue/?id=91), I get the message "Some plugins require capability org.openide.modules.arch.aarch64"

javafx-aarch64-on-amd64

How to reproduce

From an "Ubuntu 22.04.3 LTS" installation on an AMD64 CPU (`System.getProperty("os.arch") must return "amd64")

Download the file https://plugins.netbeans.apache.org/catalogue/download/404/asciidoc4netbeans-1.0.1.nbm.
Add the file to the "Downloaded" section of the plugins and launch the installation.

Did this work correctly in an earlier version?

Apache NetBeans 17

Operating System

Ubuntu 22.04.3 LTS

JDK

17.0.8.1+1-Ubuntu-0ubuntu122.04

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

Other JavaFX-based plug-ins are disabled.

embedded-browser-disabled

Are you willing to submit a pull request?

No

@philippefichet philippefichet added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Sep 17, 2023
@mbien
Copy link
Member

mbien commented Sep 20, 2023

I could install it on a dev build (manjaro linux, x86_64):
image

the only change I remember in that area would be #6028

@matthiasblaesing
Copy link
Contributor

Hotfix: Go to "Available Plugins", choose "JavaFX Implemenation for Linux (amd64)", choose install, install ascii doctor, done.

matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Sep 21, 2023
…modules.os is already handled

With d1300be the netbeans module system
was enhanced to enable modules to be filtered by architecture. Missing
from that commit was adjustment to the autoupdate system, which also
needs to consider the architecture when providing packages for
selection.

Closes: apache#6460
@mbien mbien added Platform [ci] enable platform tests (platform/*) and removed needs:triage Requires attention from one of the committers labels Sep 21, 2023
@matthiasblaesing
Copy link
Contributor

@philippefichet
Copy link
Contributor Author

@matthiasblaesing Sorry for the wait, I tested by building Netbeans with the patch on the "master" branch and everything is OK for me.
A big thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix Platform [ci] enable platform tests (platform/*)
Projects
None yet
3 participants