Bug 570769 - Windowbuilder no aarch64 in org.eclipse.wb.os.linux
Summary: Windowbuilder no aarch64 in org.eclipse.wb.os.linux
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: All Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2021-01-29 14:42 EST by Eugene Charles CLA
Modified: 2021-06-04 16:45 EDT (History)
2 users (show)

See Also:


Attachments
Push to gerrit (437.58 KB, video/mp4)
2021-02-25 11:27 EST, Wim Jongman CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Charles CLA 2021-01-29 14:42:28 EST
no libwbp(3).so for aarch64 no aarch64 in org.eclipse.wb.os.linux only amd64 and x86_64


-- Configuration Details --
Product: Eclipse IDE 4.18.0.20201210-1200 (org.eclipse.epp.package.jee.product)Installed Features:
 org.eclipse.platform 4.18.0.v20201202-1800
Comment 1 Wim Jongman CLA 2021-01-30 06:04:55 EST
Please provide more information.
Comment 2 Eugene Charles CLA 2021-01-30 17:17:16 EST
(In reply to Wim Jongman from comment #1)
> Please provide more information.

org.eclipse.wb.internal.core.utils.exception.DesignerException: 900 (No support for this Operating System found).

Caused by: org.eclipse.wb.os.OSSupportError: Can't find the support for current OS.
        at org.eclipse.wb.os.OSSupport.getInstance(OSSupport.java:65)

No aarch64 support in this jar:
.p2/pool/plugins/org.eclipse.wb.os.linux_1.9.2.202012301856.jar
Only support for x86, x86_64, amd64

Thanks much
Comment 3 Eugene Charles CLA 2021-02-16 17:26:09 EST
Hi WB development team. I realized that you may not have aarch64 hardware available. I'm willing to help out. If you can provide me with the libwbp.so and libwbp3.so source code and the instructions to compile it - I could compile it and test it out on my hardware and them upload you the resulting libraries. Please let me know if I can help. Thanks Keep up the good work. p.s. this is WB1.9.4 for Eclipse 4.18 but I guess you default to the latest. I'm running Ubuntu Focal 20.04 LTS with the 4.14 kernel. Thanks again
Comment 4 Wim Jongman CLA 2021-02-17 04:31:44 EST
(In reply to Eugene Charles from comment #3)
> Hi WB development team. I realized that you may not have aarch64 hardware
> available. I'm willing to help out. If you can provide me with the libwbp.so
> and libwbp3.so source code and the instructions to compile it - I could
> compile it and test it out on my hardware and them upload you the resulting
> libraries. Please let me know if I can help. Thanks Keep up the good work.
> p.s. this is WB1.9.4 for Eclipse 4.18 but I guess you default to the latest.
> I'm running Ubuntu Focal 20.04 LTS with the 4.14 kernel. Thanks again

Hi Eugene. That is indeed the issue. I believe we do have resources at the foundation because we provide Eclipse on aarch64. But even then, our team is very small and we do not have this expertise at the moment.

so your offer is more that welcome.

Our sources are here:

https://github.com/eclipse/windowbuilder

Please sign the contributor agreement by clicking on the red "-ECA" icon after your name in the comments.
Comment 5 Eugene Charles CLA 2021-02-17 15:42:18 EST
Ok Wim I signed the agreement. I checked github but didn't find any source code - I did see the library in question but they were all compiled. Thanks again
Comment 6 Wim Jongman CLA 2021-02-17 18:10:58 EST
(In reply to Eugene Charles from comment #5)
> Ok Wim I signed the agreement. I checked github but didn't find any source
> code - I did see the library in question but they were all compiled. Thanks
> again

Hi Eugene,

I think the sources are here:

https://github.com/eclipse/windowbuilder/tree/master/org.eclipse.wb.os.linux

folder native/gtk
Comment 7 Eugene Charles CLA 2021-02-23 14:06:26 EST
Hi Wim - I have succesfully compiled libwbp3.so for aarch64. It did not make a libwbp.so however. It was compiled on Ubuntu Focal 20.04 4.14 kernel aarch64 using JavaSE-11.  I have a temp folder with the output of the cmake. 
-rw-rw-r--.  1  21339 Feb 20 20:25 CMakeCache.txt
drwxrwxr-x.  5  4096 Feb 20 20:29 CMakeFiles
-rw-rw-r--.  1  6482 Feb 20 20:25 Makefile
-rw-rw-r--.  1  1512 Feb 20 20:25 cmake_install.cmake
-rwxrwxr-x.  1  20448 Feb 20 20:29 libwbp3.so

How do I get it to you/WB. Please advise
Comment 8 Wim Jongman CLA 2021-02-25 11:27:08 EST
Created attachment 285668 [details]
Push to gerrit

(In reply to Eugene Charles from comment #7)
> Hi Wim - I have succesfully compiled libwbp3.so for aarch64. It did not make
> a libwbp.so however. It was compiled on Ubuntu Focal 20.04 4.14 kernel


Hi Eugene, that is wonderful. Did you test it and is everything working as you expected?


> aarch64 using JavaSE-11.  I have a temp folder with the output of the cake. 

Compiled a C program with Java?

> -rw-rw-r--.  1  21339 Feb 20 20:25 CMakeCache.txt
> drwxrwxr-x.  5  4096 Feb 20 20:29 CMakeFiles
> -rw-rw-r--.  1  6482 Feb 20 20:25 Makefile
> -rw-rw-r--.  1  1512 Feb 20 20:25 cmake_install.cmake
> -rwxrwxr-x.  1  20448 Feb 20 20:29 libwbp3.so
> 
> How do I get it to you/WB. Please advise

You need to push it to a Gerrit. See the attached clip on how to do that.
Comment 9 Wim Jongman CLA 2021-02-25 11:28:11 EST
Eugene, I replied, but you were no on the cc list for some weird reason.
Comment 10 Eugene Charles CLA 2021-02-25 13:29:24 EST
Yes I tested it. I no longer get the no OSSupport error. The design view/tab comes up. I have other issues but I'll file a new bug If I can't resolve them.

You can close this as fixed. I'll get that file up ASAP. Thanks again.
Comment 11 Wim Jongman CLA 2021-02-26 09:40:35 EST
(In reply to Eugene Charles from comment #10)
> Yes I tested it. I no longer get the no OSSupport error. The design view/tab
> comes up. I have other issues but I'll file a new bug If I can't resolve
> them.
> 
> You can close this as fixed. I'll get that file up ASAP. Thanks again.

We use a bug to track the complete process, so it will be kept open until a fix is pushed to the main repo.
Comment 12 Wim Jongman CLA 2021-06-04 11:54:06 EDT
Eugene please attach the files to an issue in GitHub

We are moving to GitHub issues. Please create your issue there:

https://github.com/eclipse/windowbuilder/issues