Hello,
I would like to build elipse for FreeBSD. I know there was a "port" done for release 4.24, but it is not updated any more. So I tried to take that port, but the differences between release 4.24 and release 4.32 made it difficult. So tried to start with a new adaptation of release 4.32 and took some advice from the existing port of 4.24.
I started with downloading:
git clone -b R4_32 --recursive https://github.com/eclipse-platform/eclipse.platform.releng.aggregator.git
Then I added some new "binary" files as basis for FreeBSD and patched eclipse files to include FreeBSD settings. Then I started the build with
export ARCH=$(uname -p)
export JAVA_HOME="/usr/local/openjdk17"
export MAVEN_OPTS="-Xmx2048m"
mvn -DskipTests=true -Dnative=gtk.freebsd.${ARCH} clean verify
By the wqay: Maven is version 3.9
The compilation started and was running for about 15 minutes. Then there were errors
[INFO] ---------------< org.eclipse.platform:org.eclipse.jface >---------------
[INFO] Building [bundle] JFace 3.34.0-SNAPSHOT [45/521]
[INFO] from eclipse.platform.ui/bundles/org.eclipse.jface/.polyglot.META-INF
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO] {osgi.os=freebsd, org.eclipse.update.install.features=true, osgi.arch=amd64, org.eclipse.update.install.sources=t
rue, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.jface 3.34.0.qualifier
[ERROR] Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.qualifier requires 'org.eclipse.equin
ox.p2.iu; org.eclipse.swt.gtk.freebsd.amd64 [3.126.0.qualifier,3.126.0.qualifier], filter=(&(osgi.arch=amd64)(osgi.os=fr
eebsd)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.jface 3.34.0.qualifier depends on: osgi.bundle; org.eclipse.swt [3.126.
0,4.0.0)
...
[INFO] [bundle] Standard Widget Toolkit for GTK on x86_64 3.126.0-SNAPSHOT SUCCESS [ 13.465 s]
[INFO] [bundle] Standard Widget Toolkit for Mac OS X (Cocoa) on aarch64 3.126.0-SNAPSHOT SUCCESS [ 11.617 s]
[INFO] [bundle] Standard Widget Toolkit for GTK on ppc64le 3.126.0-SNAPSHOT SUCCESS [ 10.459 s]
[INFO] [bundle] Standard Widget Toolkit for GTK on aarch64 3.126.0-SNAPSHOT SUCCESS [ 10.516 s]
[INFO] [bundle] Standard Widget Toolkit for Windows on x86_64 3.126.0-SNAPSHOT SUCCESS [ 12.129 s]
[INFO] [bundle] Standard Widget Toolkit for Windows on aarch64 3.126.0-SNAPSHOT SUCCESS [ 11.064 s]
[INFO] [bundle] Standard Widget Toolkit for Mac OS X (Cocoa) on x86_64 3.126.0-SNAPSHOT SUCCESS [ 10.605 s]
[INFO] [bundle] Bidirectional Text Support 1.5.100-SNAPSHOT SUCCESS [ 0.694 s]
[INFO] [bundle] JFace 3.34.0-SNAPSHOT ..................... FAILURE [ 0.043 s]
[INFO] [bundle] Eclipse CSS Core Support 0.14.400-SNAPSHOT SKIPPED
[INFO] [bundle] Eclipse CSS SWT Support 0.15.400-SNAPSHOT . SKIPPED
...
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:30 min
[INFO] Finished at: 2024-07-29T16:15:35+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Cannot resolve dependencies of project org.eclipse.platform:org.eclipse.jface:eclipse-plugin:3.34.0-SNAPSHOT
[ERROR] with context {osgi.os=freebsd, org.eclipse.update.install.features=true, osgi.arch=amd64, org.eclipse.update.install.sources=true, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
[ERROR] Software being installed: org.eclipse.jface 3.34.0.qualifier
[ERROR] Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.qualifier requires 'org.eclipse.equinox.p2.iu; org.eclipse.swt.gtk.freebsd.amd64 [3.126.0.qualifier,3.126.0.qualifier], filter=(&(osgi.arch=amd64)(osgi.os=freebsd)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.jface 3.34.0.qualifier depends on: osgi.bundle; org.eclipse.swt [3.126.0,4.0.0): See log for details
maybe someone could give me a hint, what to do. I tried to get an "entry point" - but I don't see it. Yes, it is jface, but what is missing or wrong?
Attached my patches.
Many thanks from Muenster/Germany if someone could give me some help :-) Norbert
eclipse.txt
Hello,
I would like to build elipse for FreeBSD. I know there was a "port" done for release 4.24, but it is not updated any more. So I tried to take that port, but the differences between release 4.24 and release 4.32 made it difficult. So tried to start with a new adaptation of release 4.32 and took some advice from the existing port of 4.24.
I started with downloading:
git clone -b R4_32 --recursive https://github.com/eclipse-platform/eclipse.platform.releng.aggregator.git
Then I added some new "binary" files as basis for FreeBSD and patched eclipse files to include FreeBSD settings. Then I started the build with
export ARCH=$(uname -p)
export JAVA_HOME="/usr/local/openjdk17"
export MAVEN_OPTS="-Xmx2048m"
mvn -DskipTests=true -Dnative=gtk.freebsd.${ARCH} clean verify
By the wqay: Maven is version 3.9
The compilation started and was running for about 15 minutes. Then there were errors
[INFO] ---------------< org.eclipse.platform:org.eclipse.jface >---------------
[INFO] Building [bundle] JFace 3.34.0-SNAPSHOT [45/521]
[INFO] from eclipse.platform.ui/bundles/org.eclipse.jface/.polyglot.META-INF
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO] {osgi.os=freebsd, org.eclipse.update.install.features=true, osgi.arch=amd64, org.eclipse.update.install.sources=t
rue, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.jface 3.34.0.qualifier
[ERROR] Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.qualifier requires 'org.eclipse.equin
ox.p2.iu; org.eclipse.swt.gtk.freebsd.amd64 [3.126.0.qualifier,3.126.0.qualifier], filter=(&(osgi.arch=amd64)(osgi.os=fr
eebsd)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.jface 3.34.0.qualifier depends on: osgi.bundle; org.eclipse.swt [3.126.
0,4.0.0)
...
[INFO] [bundle] Standard Widget Toolkit for GTK on x86_64 3.126.0-SNAPSHOT SUCCESS [ 13.465 s]
[INFO] [bundle] Standard Widget Toolkit for Mac OS X (Cocoa) on aarch64 3.126.0-SNAPSHOT SUCCESS [ 11.617 s]
[INFO] [bundle] Standard Widget Toolkit for GTK on ppc64le 3.126.0-SNAPSHOT SUCCESS [ 10.459 s]
[INFO] [bundle] Standard Widget Toolkit for GTK on aarch64 3.126.0-SNAPSHOT SUCCESS [ 10.516 s]
[INFO] [bundle] Standard Widget Toolkit for Windows on x86_64 3.126.0-SNAPSHOT SUCCESS [ 12.129 s]
[INFO] [bundle] Standard Widget Toolkit for Windows on aarch64 3.126.0-SNAPSHOT SUCCESS [ 11.064 s]
[INFO] [bundle] Standard Widget Toolkit for Mac OS X (Cocoa) on x86_64 3.126.0-SNAPSHOT SUCCESS [ 10.605 s]
[INFO] [bundle] Bidirectional Text Support 1.5.100-SNAPSHOT SUCCESS [ 0.694 s]
[INFO] [bundle] JFace 3.34.0-SNAPSHOT ..................... FAILURE [ 0.043 s]
[INFO] [bundle] Eclipse CSS Core Support 0.14.400-SNAPSHOT SKIPPED
[INFO] [bundle] Eclipse CSS SWT Support 0.15.400-SNAPSHOT . SKIPPED
...
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:30 min
[INFO] Finished at: 2024-07-29T16:15:35+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Cannot resolve dependencies of project org.eclipse.platform:org.eclipse.jface:eclipse-plugin:3.34.0-SNAPSHOT
[ERROR] with context {osgi.os=freebsd, org.eclipse.update.install.features=true, osgi.arch=amd64, org.eclipse.update.install.sources=true, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
[ERROR] Software being installed: org.eclipse.jface 3.34.0.qualifier
[ERROR] Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.qualifier requires 'org.eclipse.equinox.p2.iu; org.eclipse.swt.gtk.freebsd.amd64 [3.126.0.qualifier,3.126.0.qualifier], filter=(&(osgi.arch=amd64)(osgi.os=freebsd)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.jface 3.34.0.qualifier depends on: osgi.bundle; org.eclipse.swt [3.126.0,4.0.0): See log for details
maybe someone could give me a hint, what to do. I tried to get an "entry point" - but I don't see it. Yes, it is jface, but what is missing or wrong?
Attached my patches.
Many thanks from Muenster/Germany if someone could give me some help :-) Norbert
eclipse.txt