gentoo / eclipse-overlay Goto Github PK
View Code? Open in Web Editor NEW[MIRROR] Community effort at packaging Eclipse Java SDK >=4.4
Home Page: https://gitweb.gentoo.org/repo/proj/eclipse.git
License: GNU General Public License v2.0
[MIRROR] Community effort at packaging Eclipse Java SDK >=4.4
Home Page: https://gitweb.gentoo.org/repo/proj/eclipse.git
License: GNU General Public License v2.0
Failed build with .ebuild file.
Runned command:
localhost eclipse-sdk-bin # pwd
/usr/local/portage/dev-util/eclipse-sdk-bin
localhost eclipse-sdk-bin # ls
Manifest eclipse-sdk-bin-4.5.2.ebuild files
localhost eclipse-sdk-bin # ebuild eclipse-sdk-bin-4.5.2.ebuild manifest clean merge
Errors:
`!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Creating Manifest for /usr/local/portage/dev-util/eclipse-sdk-bin
- eclipse-java-mars-2-linux-gtk-x86_64-4.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
- checking ebuild checksums ;-) ... [ ok ]
- checking auxfile checksums ;-) ... [ ok ]
Unpacking source...
Unpacking eclipse-java-mars-2-linux-gtk-x86_64-4.5.2.tar.gz to /var/tmp/portage/dev-util/eclipse-sdk-bin-4.5.2/work
Source unpacked in /var/tmp/portage/dev-util/eclipse-sdk-bin-4.5.2/work
Preparing source in /var/tmp/portage/dev-util/eclipse-sdk-bin-4.5.2/work/eclipse ...- Binary dependencies left to unbundle:
- plugins/ch.qos.logback.classic_1.0.7.v20121108-1250.jar
- plugins/ch.qos.logback.core_1.0.7.v20121108-1250.jar
- plugins/ch.qos.logback.slf4j_1.0.7.v201505121915.jar
- plugins/com.google.gson_2.2.4.v201311231704.jar
- plugins/com.google.guava_15.0.0.v201403281430.jar
- plugins/com.google.inject.multibindings_3.0.0.v201402270930.jar
- plugins/com.google.inject_3.0.0.v201312141243.jar
- plugins/com.gradleware.tooling.client_0.8.1.v201512100932.jar
- plugins/com.gradleware.tooling.model_0.8.1.v201512100932.jar
- plugins/com.gradleware.tooling.utils_0.8.1.v201512100932.jar
- plugins/com.ibm.icu_54.1.1.v201501272100.jar
- plugins/com.jcraft.jsch_0.1.53.v201508180515.jar
- plugins/com.sun.el_2.2.0.v201303151357.jar
- plugins/javaewah_0.7.9.v201401101600.jar
- plugins/javax.el_2.2.0.v201303151357.jar
- plugins/javax.servlet.jsp_2.2.0.v201112011158.jar
- plugins/javax.servlet_3.1.0.v201410161800.jar
- plugins/javax.xml_1.3.4.v201005080400.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-antlr.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-bcel.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-bsf.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-log4j.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-oro.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-regexp.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-resolver.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-apache-xalan2.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-commons-logging.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-commons-net.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-jai.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-javamail.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-jdepend.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-jmf.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-jsch.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-junit.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-junit4.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-launcher.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-netrexx.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-swing.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant-testutil.jar
- plugins/org.apache.ant_1.9.6.v201510161327/lib/ant.jar
- plugins/org.apache.batik.css_1.7.0.v201011041433.jar
- plugins/org.apache.batik.util.gui_1.7.0.v200903091627.jar
- plugins/org.apache.batik.util_1.7.0.v201011041433.jar
- plugins/org.apache.commons.codec_1.6.0.v201305230611.jar
- plugins/org.apache.commons.compress_1.6.0.v201310281400.jar
- plugins/org.apache.commons.io_2.2.0.v201405211200.jar
- plugins/org.apache.commons.jxpath_1.3.0.v200911051830.jar
- plugins/org.apache.commons.lang3_3.1.0.v201403281430.jar
- plugins/org.apache.commons.lang_2.6.0.v201404270220.jar
- plugins/org.apache.commons.logging_1.1.1.v201101211721.jar
- plugins/org.apache.commons.math_2.1.0.v201105210652.jar
- plugins/org.apache.commons.pool_1.6.0.v201204271246.jar
- plugins/org.apache.felix.gogo.command_0.10.0.v201209301215.jar
- plugins/org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar
- plugins/org.apache.felix.gogo.shell_0.10.0.v201212101605.jar
- plugins/org.apache.httpcomponents.httpclient_4.3.6.v201411290715.jar
- plugins/org.apache.httpcomponents.httpcore_4.3.3.v201411290715.jar
- plugins/org.apache.jasper.glassfish_2.2.2.v201501141630.jar
- plugins/org.apache.log4j_1.2.15.v201012070815.jar
- plugins/org.apache.lucene.analysis_3.5.0.v20120725-1805.jar
- plugins/org.apache.lucene.core_3.5.0.v20120725-1805.jar
- plugins/org.apache.solr.client.solrj_3.5.0.v20150506-0844.jar
- plugins/org.apache.ws.commons.util_1.0.1.v20100518-1140.jar
- plugins/org.apache.xerces_2.9.0.v201101211617.jar
- plugins/org.apache.xml.serializer_2.7.1.v201005080400.jar
- plugins/org.apache.xmlrpc_3.0.0.v20100427-1100.jar
- plugins/org.gradle.toolingapi_2.9.0.v201512100932.jar
- plugins/org.hamcrest.core_1.3.0.v201303031735.jar
- plugins/org.jsoup_1.7.2.v201411291515.jar
- plugins/org.junit_4.12.0.v201504281640/junit.jar
- plugins/org.sat4j.core_2.3.5.v201308161310.jar
- plugins/org.sat4j.pb_2.3.5.v201404071733.jar
- plugins/org.slf4j.api_1.7.2.v20121108-1250.jar
- plugins/org.slf4j.impl.log4j12_1.7.2.v20131105-2200.jar
- plugins/org.tukaani.xz_1.3.0.v201308270617.jar
- plugins/org.w3c.css.sac_1.3.1.v200903091627.jar
- plugins/org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar
- plugins/org.w3c.dom.smil_1.0.1.v200903091627.jar
- plugins/org.w3c.dom.svg_1.1.0.v201011041433.jar
- Replacing bundled plugins/javax.annotation_1.2.0.v201401042248.jar...
!!! ERROR: Package jsr250 was not found!- ERROR: dev-util/eclipse-sdk-bin-4.5.2::x-portage failed (prepare phase):
- There was a problem getting the classpath for jsr250.
- Call stack:
ebuild.sh, line 133: Called src_prepare
- environment, line 3627: Called _unbundle_known 'wire'
- environment, line 337: Called _unbundle_single 'wire' 'plugins/javax.annotation_1.2.0.v201401042248.jar' 'jsr250' 'jsr250.jar'
- environment, line 354: Called java-pkg_jar-from 'jsr250' 'jsr250.jar' 'plugins/javax.annotation_1.2.0.v201401042248.jar'
- environment, line 2473: Called die
- The specific snippet of code:
[[ $? != 0 ]] && die ${error_msg};
- If you need support, post the output of
emerge --info '=dev-util/eclipse-sdk-bin-4.5.2::x-portage'
,- the complete build log and the output of
emerge -pqv '=dev-util/eclipse-sdk-bin-4.5.2::x-portage'
.
!!! When you file a bug report, please include the following information:
GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =eclipse-sdk-bin-4.5.2- The complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-bin-4.5.2/temp/build.log'.
- The ebuild environment file is located at '/var/tmp/portage/dev-util/eclipse-sdk-bin-4.5.2/temp/environment'.
- Working directory: '/var/tmp/portage/dev-util/eclipse-sdk-bin-4.5.2/work/eclipse'
- S: '/var/tmp/portage/dev-util/eclipse-sdk-bin-4.5.2/work/eclipse'
ebuild.sh, line 133: Called src_prepare
[[ $? != 0 ]] && die ${error_msg};
emerge --info '=dev-util/eclipse-sdk-bin-4.5.2::x-portage'
,emerge -pqv '=dev-util/eclipse-sdk-bin-4.5.2::x-portage'
.I investigated the problem from pull request #5 a little bit more.
The system-icu flag works with the oracle-jdk. The tests I did in the pull request were done with icedtea-bin.
Could you add ebuild for the two pkgs using the dropins I/F in eclipse?
That would a very good start for having plugins as a separate ebuild instead of just having eclipse
download and install them.
There is GPL that allows anyone who wants it to modify Gentoo freely and have their work submitted into nearest release.
So who and why introduced PR approval? Dont tell me about QA and associated crap; if sth is edditable by anyone, there is no such thing like QA.
The java-pkg-2
eclass (along with other Java eclasses) in the main tree was recently updated to remove support for EAPIs lower than 5. dev-java/log4j
in this overlay is still listed as EAPI=2
, so it causes a serious warning in the dependency-calculation phase every time the user tries to emerge
anything if this overlay is enabled.
If you enable the lombok use-flag for eclipse-sdk-bin-4.6.2, then you get the lombok-bin package and an eclipse-sdk-bin-4.6.2-eclipserc-bin
file in /etc. This file has a shell variable, LOMBOK_JAR=/usr/share/lombok/lombok.jar
which gets used in the eclipse launch script. However, the lombok-bin package actually puts the jar into /usr/share/lombok/lib/lombok.jar
(note lib
). As it is, lombok is not loaded. If you change the eclipserc file to point to the correct jar location everything works.
$ eclipse-bin-4.6
Feb 22, 2017 10:12:22 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: SHA-256-Digest.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Feb 22, 2017 10:12:22 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: SHA-256-Digest.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Feb 22, 2017 10:12:22 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: SHA-256-Digest.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
Feb 22, 2017 10:12:22 AM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: SHA-256-Digest.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
...
This happens with 4.6.1a and 4.6.2 ebuilds
I am unable to install eclipse-sdk-bin, because it's trying to install dev-java/icu4j-56.1:56, but that's not in the official repos.
I have tried to make an ebuild version of 4.8.0. I can get most working (it seems but needs more testing) but there are some errors that Eclipse highlights like:
I want to make it work but I need help/mentoring in getting the last parts working.
My code is:
File: eclipse-sdk-bin-4.8.0.ebuild
When running with system-icu USE flag enabled on a clean .eclipse folder (in home) Eclipse fails to start.
It works if there is first an install with the USE flag system-icu disabled and Eclipse is started to create the .eclipse folder. Afterwards Eclipse can be reinstalled with the flag enabled and it will start. If the folder is now deleted the error from pull request #5 will show up again.
Could you update to latest neon, 4.6.3, please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.