gentoo / eclipse-overlay

[MIRROR] Community effort at packaging Eclipse Java SDK >=4.4
https://gitweb.gentoo.org/repo/proj/eclipse.git
GNU General Public License v2.0
5 stars 5 forks source link

Build failed #10

Closed Wuaner closed 7 years ago

Wuaner commented 8 years ago

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'
  • Messages for package dev-util/eclipse-sdk-bin-4.5.2:
  • 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
  • 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'.
  • 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'`
hartwork commented 8 years ago

If you use ebuild rather than emerge you have to take care of installing all needed dependencies by yourself. The error above looks like you do not have dev-java/jsr250-1.2 from this very overlay installed. It is in the ebuild dependencies. Can you confirm? Please try again using emerge instead. Thanks!

monsieurp commented 8 years ago

We should disable the Issues tab to have people go through the normal process of filing bugs on bugs.gentoo.org.

hartwork commented 8 years ago

What problem do you see? Personally, I'm fine with as-is.