Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Source Tarball Eclipse 4.17.0

Same error:
...................................
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:07 h
[INFO] Finished at: 2021-06-20T19:08:08Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:2.0.0:compile
(default-compile) on project org.eclipse.swt.tests: Compilation
failure: Compilation failure:
[ERROR] /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit
Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java:[22]
[ERROR]         import org.eclipse.swt.SWT;
[ERROR]                ^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.SWT cannot be resolved
[ERROR] /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit
Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java:[23]
[ERROR]         import org.eclipse.swt.custom.BidiSegmentListener;
[ERROR]                ^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.custom cannot be resolved
[ERROR] /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit
Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java:[24]
...................................

I also tried building the Linux x86_64 version with the command:
mvn clean verify  -DskipTests=true -Dnative=gtk.linux.x86_64

Build completed with the following error:
...................................
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:45 h
[INFO] Finished at: 2021-06-20T15:31:56Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (natives-rust)
on project org.eclipse.swt.browser.chromium.gtk.linux.x86_64: An Ant
BuildException has occured: The following error occurred while
executing this line:
[ERROR] /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/bundles/org.eclipse.swt.browser.chromium/buildChromium.xml:40:
Can't get http://opensource.spotify.com/cefbuilds/cef_binary_3.3071.1649.g98725e6_linux64_minimal.tar.bz2
to /home/main/eclipse.platform.releng.aggregator/tmp/cef_binary_3.3071.1649.g98725e6_linux64_minimal.tar.bz2
[ERROR] around Ant part ...<ant antfile="build.xml"
target="build_chromium" />... @ 5:56 in
/home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.browser.chromium.gtk.linux.x86_64/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :org.eclipse.swt.browser.chromium.gtk.linux.x86_64

пт, 18 июн. 2021 г. в 18:40, Kirill Kotovich <kirillkotovich1@xxxxxxxxx>:
>
> I'm sorry. Forgot to write "build_libraries" in the command. Deleted
> the directory "eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.e2k"
> and rebuilt it.
>
> main@ws801:~/eclipse.platform.releng.aggregator$ ls
> eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.e2k
> about_files               libswt-atk-gtk-4936r26.so     META-INF
> about.html                libswt-awt-gtk-4936r26.so     mvnBuildSwtJar.sh
> build.properties          libswt-cairo-gtk-4936r26.so   pom.xml
> build.sha1                libswt-glx-gtk-4936r26.so     src
> build.xml                 libswt-gtk-4936r26.so         target
> forceQualifierUpdate.txt  libswt-pi3-gtk-4936r26.so     temp.folder
> fragment.properties       libswt-webkit-gtk-4936r26.so  webkitextensions4936r26
>
> пт, 18 июн. 2021 г. в 18:22, Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx>:
> >
> > Can you please send me the full log of ant command
> > ant -f <fragment dir>/build.xml build_libraries
> >
> > Thanks
> > Sravan
> >
> >
> > -----Original Message-----
> > From: Kirill Kotovich <kirillkotovich1@xxxxxxxxx>
> > Sent: 18 June 2021 20:11
> > To: Eclipse platform general developers list. <platform-dev@xxxxxxxxxxx>
> > Subject: [EXTERNAL] Re: [platform-dev] Source Tarball Eclipse 4.17.0
> >
> > As I understand it, the libraries should have appeared after the build:
> > libswt-pi3-gtk-4936r26.so
> > libswt-awt-gtk-4936r26.so
> > libswt-cairo-gtk-4936r26.so
> > libswt-gtk-4936r26.so
> >
> > Apparently something went wrong.
> >
> > main@ws801:~/eclipse.platform.releng.aggregator$ ls eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.e2k
> > about_files build.xml META-INF swt.jar
> > about.html @dot mvnBuildSwtJar.sh target
> > build.properties forceQualifierUpdate.txt pom.xml temp.folder
> > build.sha1 fragment.properties src
> > webkitextensions4936r26
> >
> > If I am wrong and everything is assembled as expected, how do I commit these libraries?
> >
> > пт, 18 июн. 2021 г. в 13:29, Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx>:
> > >
> > > Remove these files and try to build again libswt-pi3-gtk-4936r26.so
> > > libswt-atk-gtk-4936r26.so libswt-webkit-gtk-4936r26.so
> > > libswt-awt-gtk-4936r26.so libswt-cairo-gtk-4936r26.so
> > > libswt-glx-gtk-4936r26.so libswt-gtk-4936r26.so
> > >
> > > From log I feel you'll see the following file rebuilt
> > > libswt-pi3-gtk-4936r26.so libswt-awt-gtk-4936r26.so
> > > libswt-cairo-gtk-4936r26.so libswt-gtk-4936r26.so
> > >
> > > I suggest build it in eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries.
> > > Please commit the libraries before starting aggregator build
> > >
> > > Thanks
> > > Sravan
> > >
> > > -----Original Message-----
> > > From: Kirill Kotovich <kirillkotovich1@xxxxxxxxx>
> > > Sent: 18 June 2021 13:03
> > > To: Eclipse platform general developers list.
> > > <platform-dev@xxxxxxxxxxx>
> > > Subject: [EXTERNAL] Re: [platform-dev] Source Tarball Eclipse 4.17.0
> > >
> > > I ran the following command but no new files appeared after the build.
> > >
> > > main@ws801:~/swt$ ant -f
> > > ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.e2k/
> > > build.xml
> > > build_libraries
> > > ............................
> > > init_build:
> > >
> > > build_local:
> > > [exec] Cairo found, compiling SWT support for the cairo graphics library.
> > > [exec] libjawt.so found, the SWT/AWT integration library will be compiled.
> > > [exec] Building SWT/GTK+ for Architectures: linux e2k [exec] ***
> > > Warning: Cannot compile Webkit2 Extension because 'pkg-config --exists webkit2gtk-web-extension-4.0' check failed.
> > > Please install webkitgtk4-devel.ARCH on your system.
> > > [exec] Building GTK3 bindings:
> > > ............................
> > > [exec] rm -f *.o *.so
> > > [exec] GTK3 Build succeeded
> > > [delete] Deleting directory
> > > /home/main/swt/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.g
> > > tk.linux.e2k/tmpdir
> > >
> > > refresh_fragment:
> > >
> > > BUILD SUCCESSFUL
> > > Total time: 1 minute 28 seconds
> > > main@ws801:~/swt$ ls
> > > /home/main/swt/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.g
> > > tk.linux.e2k about_files fragment.properties libswt-pi3-gtk-4936r26.so
> > > about.html libswt-atk-gtk-4936r26.so libswt-webkit-gtk-4936r26.so
> > > build.properties libswt-awt-gtk-4936r26.so META-INF
> > > build.sha1 libswt-cairo-gtk-4936r26.so mvnBuildSwtJar.sh build.xml
> > > libswt-glx-gtk-4936r26.so pom.xml forceQualifierUpdate.txt
> > > libswt-gtk-4936r26.so webkitextensions4936r26
> > >
> > > пт, 18 июн. 2021 г. в 07:10, Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx>:
> > > >
> > > > Hi,
> > > >
> > > >
> > > >
> > > > We will need build native fragment for e2k platform. This will require some trials.
> > > >
> > > >
> > > >
> > > > Clone eclipse.platform.swt and clipse.platform.swt.binaries repos
> > > > Duplicate
> > > > eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_
> > > > 64
> > > > as
> > > > eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.<arc
> > > > h> Update build.xml with the platform architecture Run ant target
> > > > “build_libraries” in build.xml (completes in less than 10 minutes)
> > > >
> > > > ant -f <fragment dir>/build.xml build_libraries
> > > >
> > > >
> > > >
> > > > At minimum you’ll need gtk3 development libraries and jdk to be installed. I don’t remember off hand on other libraries, but the error messages form ant command should give you clues on other dev libraries to be installed.
> > > >
> > > > Once built you’ll need to commit the newly built libraries and then start full maven build.
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > > Sravan
> > > >
> > > >
> > > >
> > > > From: Kirill Kotovich <kirillkotovich1@xxxxxxxxx>
> > > > Sent: 18 June 2021 02:19
> > > > To: Eclipse platform general developers list.
> > > > <platform-dev@xxxxxxxxxxx>
> > > > Subject: [EXTERNAL] Re: [platform-dev] Source Tarball Eclipse 4.17.0
> > > >
> > > >
> > > >
> > > > Sounds interesting. I understand correctly that to build SWT on Linux it is enough to clone "eclipse.platform.swt/bundles/org.eclipse.swt", rename ".classpath_gtk" to ".classpath" and run "mvn verify" in the root of the project? These articles pushed me to this conclusion:
> > > > https://wiki.eclipse.org/SWT/Developer_Guide
> > > > INVALID URI REMOVED
> > > > e_eclipse.platform.swt_tree_master_bundles_org.eclipse.swt&d=DwIGaQ&
> > > > c=
> > > > jf_iaSHvJObTbx-siA1ZOg&r=BbJ1i82pNJnkXoEbqK7sZDkJsrJ7wkY_no7y0H4rMzE
> > > > &m
> > > > =POpRFJQcSbyCadcmjW7vsqq8iqQXUPDG46XU2FpJlTM&s=uLqRDA-WewxWVuk2Sqm15
> > > > IO
> > > > HCziurhKJXB_hoXjJi7Q&e=
> > > >
> > > >
> > > >
> > > > чт, 17 июн. 2021 г. в 06:57, Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx>:
> > > >
> > > > The problem here is non availability of swt native fragment for e2k platform. We need to create native fragment for e2k platform for this to work. If are interested you can try creating fragments for swt and launcher.
> > > >
> > > > Thanks
> > > > Sravan
> > > >
> > > > -----Original Message-----
> > > > From: Kirill Kotovich <kirillkotovich1@xxxxxxxxx>
> > > > Sent: 17 June 2021 01:25
> > > > To: Eclipse platform general developers list.
> > > > <platform-dev@xxxxxxxxxxx>
> > > > Subject: [EXTERNAL] Re: [platform-dev] Source Tarball Eclipse 4.17.0
> > > >
> > > > Thank you, everything was found. I was confused by the lack of the "org.eclipse.releng.tychoeclipsebuilder" directory in the project root, and searching for the required packages in the "eclipse.platform.releng.tychoeclipsebuilder" directory failed due to my carelessness.
> > > >
> > > > Can you help with another problem? Building Eclipse 4.17 on Windows
> > > > and Ubuntu for amd64 was successful, but trying to build Eclipse
> > > > 4.17 on Linux on an unsupported e2k platform failed with the
> > > > following
> > > > errors:
> > > > ........................................
> > > > [ERROR] Failed to execute goal
> > > > org.eclipse.tycho:tycho-compiler-plugin:2.0.0:compile
> > > > (default-compile) on project org.eclipse.swt.tests: Compilation
> > > > failure: Compilation failure:
> > > > [ERROR]
> > > > /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/t
> > > > es
> > > > ts/org.eclipse.swt.tests/JUnit
> > > > Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSe
> > > > gm
> > > > entListener.java:[22]
> > > > [ERROR] import org.eclipse.swt.SWT;
> > > > [ERROR] ^^^^^^^^^^^^^^^^^^^
> > > > [ERROR] The import org.eclipse.swt.SWT cannot be resolved [ERROR]
> > > > /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/t
> > > > es
> > > > ts/org.eclipse.swt.tests/JUnit
> > > > Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSe
> > > > gm entListener.java:[23] [ERROR] import
> > > > org.eclipse.swt.custom.BidiSegmentListener;
> > > > [ERROR] ^^^^^^^^^^^^^^^^^^^^^^
> > > > [ERROR] The import org.eclipse.swt.custom cannot be resolved [ERROR]
> > > > /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/t
> > > > es
> > > > ts/org.eclipse.swt.tests/JUnit
> > > > Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSe
> > > > gm entListener.java:[24] [ERROR] import
> > > > org.eclipse.swt.custom.StyleRange;
> > > > [ERROR] ^^^^^^^^^^^^^^^^^^^^^^
> > > > ......................................
> > > >
> > > > Before the error there was such information:
> > > > ......................................
> > > > [INFO] ---------------< org.eclipse.swt:org.eclipse.swt.tests
> > > > >---------------- [INFO] Building org.eclipse.swt.tests
> > > > 3.106.1000-SNAPSHOT [376/504] [INFO] ------------------------[
> > > > eclipse-test-plugin ]------------------------- [INFO] [INFO] ---
> > > > maven-clean-plugin:3.1.0:clean (default-clean) @
> > > > org.eclipse.swt.tests
> > > > --- [INFO] [INFO] --- tycho-packaging-plugin:2.0.0:build-qualifier
> > > > (default-build-qualifier) @ org.eclipse.swt.tests --- [INFO] The
> > > > project's OSGi version is 3.106.1000.v20200818-1529 [INFO] [INFO]
> > > > --- tycho-packaging-plugin:2.0.0:validate-id
> > > > (default-validate-id) @ org.eclipse.swt.tests --- [INFO] [INFO] ---
> > > > tycho-packaging-plugin:2.0.0:validate-version
> > > > (default-validate-version) @ org.eclipse.swt.tests --- [INFO] [INFO]
> > > > --- maven-resources-plugin:3.1.0:copy-resources
> > > > (saveproperties) @ org.eclipse.swt.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > > [INFO] skip non existing resourceDirectory
> > > > /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/t
> > > > es ts/org.eclipse.swt.tests/saveproperties
> > > > [INFO]
> > > > [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @
> > > > org.eclipse.swt.tests --- [INFO] [INFO] ---
> > > > eclipse-cbi-plugin:1.1.8-SNAPSHOT:generate-api-build-xml
> > > > (default) @ org.eclipse.swt.tests --- [INFO] [INFO] ---
> > > > maven-resources-plugin:3.1.0:resources (default-resources) @ org.eclipse.swt.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > > [INFO] skip non existing resourceDirectory
> > > > /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/t
> > > > es ts/org.eclipse.swt.tests/src/main/resources
> > > > [INFO]
> > > > [INFO] --- maven-resources-plugin:3.1.0:resources (filter-resources) @ org.eclipse.swt.tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > > > [INFO] skip non existing resourceDirectory
> > > > /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/t
> > > > es ts/org.eclipse.swt.tests/src/main/resources
> > > > [INFO]
> > > > [INFO] --- tycho-compiler-plugin:2.0.0:compile (default-compile) @
> > > > org.eclipse.swt.tests --- [INFO] Compiling 127 source files to
> > > > /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/t
> > > > es ts/org.eclipse.swt.tests/target/classes
> > > > [INFO]
> > > > --------------------------------------------------------------------
> > > > --
> > > > --
> > > > [INFO] Reactor Summary:
> > > > [INFO]
> > > > [INFO] eclipse-platform-parent 4.17.0-SNAPSHOT ............ SUCCESS [ 4.052 s] [INFO] eclipse-sdk-prereqs 4.17.0-SNAPSHOT ................ SUCCESS [ 1.067 s] [INFO] eclipse jdt 4.17.0-SNAPSHOT ........................ SUCCESS [ 0.090 s] ......................................
> > > >
> > > >
> > > > пн, 14 июн. 2021 г. в 06:59, Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx>:
> > > > >
> > > > > After the maven build is successful you’ll find the folders mentioned in https://wiki.eclipse.org/Platform-releng/Platform_Build#Build_result. The root folder will be eclipse.platform.releng.aggregator. If these folders did not get created there must be a problem in the build.
> > > > >
> > > > >
> > > > >
> > > > > Thanks
> > > > >
> > > > > Sravan
> > > > >
> > > > >
> > > > >
> > > > > From: Kirill Kotovich <kirillkotovich1@xxxxxxxxx>
> > > > > Sent: 12 June 2021 23:19
> > > > > To: Eclipse platform general developers list.
> > > > > <platform-dev@xxxxxxxxxxx>
> > > > > Subject: [EXTERNAL] Re: [platform-dev] Source Tarball Eclipse
> > > > > 4.17.0
> > > > >
> > > > >
> > > > >
> > > > > The option to clone the branch from the git repository was
> > > > > successful, but, I apologize for the stupid question, where are the build results?
> > > > > The information on the following link did not help me find the
> > > > > answer
> > > > > https://wiki.eclipse.org/Platform-releng/Platform_Build#Build_resu
> > > > > lt
> > > > >
> > > > > The option to clone the branch from the git repository was
> > > > > successful, but, I apologize for the stupid question, where are the build results?
> > > > > The information on the following link did not help me find the
> > > > > answer
> > > > > https://wiki.eclipse.org/Platform-releng/Platform_Build#Build_resu
> > > > > lt
> > > > >
> > > > > --
> > > > >
> > > > > With gratitude,
> > > > >
> > > > > Kirill
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > platform-dev mailing list
> > > > > platform-dev@xxxxxxxxxxx
> > > > > To unsubscribe from this list, visit
> > > > > https://www.eclipse.org/mailman/listinfo/platform-dev
> > > >
> > > > --
> > > > With gratitude,
> > > >
> > > > Kirill
> > > > _______________________________________________
> > > > platform-dev mailing list
> > > > platform-dev@xxxxxxxxxxx
> > > > To unsubscribe from this list, visit
> > > > https://www.eclipse.org/mailman/listinfo/platform-dev
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > With gratitude,
> > > >
> > > > Kirill
> > > >
> > > >
> > > > _______________________________________________
> > > > platform-dev mailing list
> > > > platform-dev@xxxxxxxxxxx
> > > > To unsubscribe from this list, visit
> > > > https://www.eclipse.org/mailman/listinfo/platform-dev
> > >
> > > --
> > > With gratitude,
> > >
> > > Kirill
> > > _______________________________________________
> > > platform-dev mailing list
> > > platform-dev@xxxxxxxxxxx
> > > To unsubscribe from this list, visit
> > > https://www.eclipse.org/mailman/listinfo/platform-dev
> > >
> > >
> > > _______________________________________________
> > > platform-dev mailing list
> > > platform-dev@xxxxxxxxxxx
> > > To unsubscribe from this list, visit
> > > https://www.eclipse.org/mailman/listinfo/platform-dev
> >
> > --
> > With gratitude,
> >
> > Kirill
> > _______________________________________________
> > platform-dev mailing list
> > platform-dev@xxxxxxxxxxx
> > To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
> >
> > _______________________________________________
> > platform-dev mailing list
> > platform-dev@xxxxxxxxxxx
> > To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
>
> --
> With gratitude,
>
> Kirill

-- 
With gratitude,

Kirill


Back to the top