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

[AppImage] Arch Linux "SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback" #358

Open
popsUlfr opened this issue Jun 11, 2024 · 2 comments
Labels

Comments

@popsUlfr
Copy link

Hello,

I've already submitted this issue to Renesas engineers directly in the past but I'll submit an issue on github too.

Trying to launch the AppImage on Arch Linux results in:

./setup_fsp_v5_3_0_e2s_v2024-04.AppImage

Jun 11, 2024 9:41:48 AM org.apache.aries.spifly.BaseActivator log
INFO: Registered provider org.slf4j.simple.SimpleServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle slf4j.simple
SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.
Installer:
An error has occurred. See the log file
/home/popsulfr/.eclipse/1252094862_linux_gtk_x86_64/configuration/1718091707900.log.

1718091707900.log

I found a forum thread on the issue: https://qiita.com/t-yano-tryhard/items/8f37d0614212c7bdb083
Which discusses the workaround of mounting the AppImage and invoking the installer manually which works.

I came up with this bash snippet to automate the process:

mntfile=/tmp/fspmount
rm -f "$mntfile"
./setup_fsp_v5_3_0_e2s_v2024-04.AppImage --appimage-mount >"$mntfile" &
pid="$!"
mnt="$(tail -F "$mntfile" 2>/dev/null | head -n 1)"
rm -f "$mntfile"
"$mnt"/opt/e2studio_installer/installer
kill "$pid"
wait "$pid"

There might be an issue relating to a conflict between the gtk library on the system and inside the AppImage.

@renesas-brandon-hussey
Copy link
Collaborator

This is being internally tracked using FSPRA-3303.

@MrMarteng
Copy link

MrMarteng commented Aug 14, 2024

I had the same issue. For me installing the package libpcre3 resolved the error.
There then came another error related to X11 and Wayland, but that's a different story ;-) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants