Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ./gradlew buildEdge error #2651

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

katsuya
Copy link
Contributor

@katsuya katsuya commented May 21, 2024

The build fails because io.openems.oem.openems is not included as a dependency in ./gradlew :buildEdge. I have updated build.gradle to include io.openems.oem.openems to resolve this issue.

$ ./gradlew clean && ./gradlew :buildEdge

[snip]

> Task :io.openems.edge.application:resolve.EdgeApp FAILED
Resolution failed. Capabilities satisfying the following requirements could not be found:
    [<<INITIAL>>]
      ⇒ osgi.identity: (osgi.identity=io.openems.edge.controller.api.backend)
          ⇒ [io.openems.edge.controller.api.backend version=1.0.0.202405210545]
              ⇒ osgi.service: (objectClass=io.openems.common.oem.OpenemsEdgeOem)
    [slf4j.api__0 version=1.8.0.beta4 type=bnd.synthetic]
      ⇒ osgi.ee: (&(osgi.ee=JavaSE)(&(version>=0.0.0)(!(version>=9.0.0))))
    [org.jsoup__8 version=1.17.2 type=bnd.synthetic]
      ⇒ osgi.ee: (&(osgi.ee=JavaSE)(&(version>=1.8.0)(!(version>=9.0.0))))
    [org.slf4j.api__8 version=2.0.6 type=bnd.synthetic]
      ⇒ osgi.ee: (&(osgi.ee=JavaSE)(&(version>=1.8.0)(!(version>=9.0.0))))
    [slf4j.api__8 version=2.0.9 type=bnd.synthetic]
      ⇒ osgi.ee: (&(osgi.ee=JavaSE)(&(version>=1.8.0)(!(version>=9.0.0))))
    [org.ops4j.pax.logging.pax-logging-api__8 version=2.2.1 type=bnd.synthetic]
      ⇒ osgi.ee: (&(osgi.ee=JavaSE)(&(version>=1.8.0)(!(version>=9.0.0))))
    [Java-WebSocket__7 version=1.5.4 type=bnd.synthetic]
      ⇒ osgi.ee: (&(osgi.ee=JavaSE)(&(version>=1.7.0)(!(version>=9.0.0))))
    [com.google.gson__7 version=2.10.1 type=bnd.synthetic]
      ⇒ osgi.ee: (&(osgi.ee=JavaSE)(&(version>=1.7.0)(!(version>=9.0.0))))
    [osgi.cmpn version=7.0.0.201802012110]
      ⇒ osgi.unresolvable: (&(must.not.resolve=*)(!(must.not.resolve=*)))
    [org.slf4j.api version=2.0.6]
      ⇒ osgi.extender: (&(osgi.extender=osgi.serviceloader.processor)(version>=1.0.0)(!(version>=2.0.0)))
    [ch.qos.logback.classic version=1.2.3]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=ch.qos.logback.core.util)(version>=1.2.0)(!(version>=2.0.0)))
    [com.sun.jna version=4.5.1]
      ⇒ osgi.native: (|(&(osgi.native.osname~=win32)(osgi.native.processor~=x86))(&(osgi.native.osname~=win32)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=win)(osgi.native.processor~=x86))(&(osgi.native.osname~=win)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=wince)(osgi.native.processor~=arm))(&(osgi.native.osname~=sunos)(osgi.native.processor~=x86))(&(osgi.native.osname~=sunos)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=sunos)(osgi.native.processor~=sparc))(&(osgi.native.osname~=sunos)(osgi.native.processor~=sparcv9))(&(osgi.native.osname~=aix)(osgi.native.processor~=ppc))(&(osgi.native.osname~=aix)(osgi.native.processor~=ppc64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc64le))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=linux)(osgi.native.processor~=arm))(&(osgi.native.osname~=linux)(osgi.native.processor~=armel))(&(osgi.native.osname~=linux)(osgi.native.processor~=aarch64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ia64))(&(osgi.native.osname~=linux)(osgi.native.processor~=sparcv9))(&(osgi.native.osname~=linux)(osgi.native.processor~=mips64el))(&(osgi.native.osname~=linux)(osgi.native.processor~=S390x))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=macosx)(|(osgi.native.processor~=x86)(osgi.native.processor~=x86-64)(osgi.native.processor~=ppc))))
    [io.openems.edge.core version=1.0.0.202405210545]
      ⇒ osgi.service: (objectClass=io.openems.common.oem.OpenemsEdgeOem)
    [com.sun.jna version=4.5.2]
      ⇒ osgi.native: (|(&(osgi.native.osname~=win32)(osgi.native.processor~=x86))(&(osgi.native.osname~=win32)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=win)(osgi.native.processor~=x86))(&(osgi.native.osname~=win)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=wince)(osgi.native.processor~=arm))(&(osgi.native.osname~=sunos)(osgi.native.processor~=x86))(&(osgi.native.osname~=sunos)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=sunos)(osgi.native.processor~=sparc))(&(osgi.native.osname~=sunos)(osgi.native.processor~=sparcv9))(&(osgi.native.osname~=aix)(osgi.native.processor~=ppc))(&(osgi.native.osname~=aix)(osgi.native.processor~=ppc64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ppc64le))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=linux)(osgi.native.processor~=arm))(&(osgi.native.osname~=linux)(osgi.native.processor~=armel))(&(osgi.native.osname~=linux)(osgi.native.processor~=aarch64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ia64))(&(osgi.native.osname~=linux)(osgi.native.processor~=sparcv9))(&(osgi.native.osname~=linux)(osgi.native.processor~=mips64el))(&(osgi.native.osname~=linux)(osgi.native.processor~=S390x))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=macosx)(|(osgi.native.processor~=x86)(osgi.native.processor~=x86-64)(osgi.native.processor~=ppc))))
    [slf4j.api version=2.0.9]
      ⇒ osgi.extender: (&(osgi.extender=osgi.serviceloader.processor)(version>=1.0.0)(!(version>=2.0.0)))
The following requirements are optional:
    [org.eclipse.jetty.alpn.server version=11.0.20]
      ⇒ osgi.serviceloader: (osgi.serviceloader=org.eclipse.jetty.io.ssl.ALPNProcessor$Server)
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.processor)
    [osgi.cmpn version=7.0.0.201802012110]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.servlet)(version>=2.6.0)(!(version>=3.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.persistence)(version>=1.1.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (osgi.wiring.package=javax.microedition.io)
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.ws.rs.client)(version>=2.1.0)(!(version>=3.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.ws.rs.sse)(version>=2.1.0)(!(version>=3.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.servlet.http)(version>=2.6.0)(!(version>=3.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.ws.rs.core)(version>=2.1.0)(!(version>=3.0.0)))
    [org.apache.felix.scr version=2.2.10]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.metatype)(version>=1.2.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.log)(version>=1.4.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.apache.felix.service.command)(version>=1.0.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.6.0)(!(version>=2.0.0)))
    [org.eclipse.jetty.security version=11.0.20]
      ⇒ osgi.serviceloader: (osgi.serviceloader=org.eclipse.jetty.security.Authenticator$Factory)
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.processor)
    [org.eclipse.jetty.util version=11.0.20]
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.processor)
      ⇒ osgi.serviceloader: (osgi.serviceloader=org.eclipse.jetty.util.security.CredentialProvider)
    [com.google.guava version=33.2.0.jre]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.annotation)(version>=3.0.0)(!(version>=4.0.0)))
    [org.eclipse.jetty.server version=11.0.20]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.jmx)(version>=11.0.20)(!(version>=12.0.0)))
    [org.eclipse.jetty.util version=9.4.28.v20200408]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.25)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.slf4j)(version>=1.7.25)(!(version>=2.0.0)))
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.processor)
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.7.25)(!(version>=2.0.0)))
      ⇒ osgi.serviceloader: (osgi.serviceloader=org.eclipse.jetty.util.security.CredentialProvider)
    [io.openems.edge.ess.core version=1.0.0.202405210545]
      ⇒ osgi.service: (objectClass=io.openems.edge.ess.api.ManagedSymmetricEss)
    [org.eclipse.jetty.http2.hpack version=11.0.20]
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.registrar)
    [org.ops4j.pax.logging.pax-logging-api version=2.2.1]
      ⇒ osgi.wiring.package: (osgi.wiring.package=org.apache.log)
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.event)(version>=1.0.0)(!(version>=2.0.0)))
    [org.apache.felix.inventory version=2.0.0]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=jakarta.servlet.http)(version>=5.0.0)(!(version>=7.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=jakarta.servlet)(version>=5.0.0)(!(version>=7.0.0)))
    [org.ops4j.pax.logging.pax-logging-log4j2 version=2.2.1]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.0.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.event)(version>=1.0.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.log.admin)(version>=1.0.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.log.stream)(version>=1.0.0)(!(version>=2.0.0)))
    [ch.qos.logback.classic version=1.2.3]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.servlet)(version>=3.1.0)(!(version>=4.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=javax.servlet.http)(version>=3.1.0)(!(version>=4.0.0)))
    [org.eclipse.jetty.http version=9.4.28.v20200408]
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.registrar)
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.processor)
    [org.apache.felix.webconsole.plugins.ds version=2.3.0]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.metatype)(version>=1.2.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.6.0)(!(version>=2.0.0)))
    [org.apache.felix.fileinstall version=3.7.4]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.5.0)(!(version>=2.0.0)))
    [org.eclipse.jetty.client version=9.4.28.v20200408]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.jmx)(version>=9.4.28)(!(version>=10.0.0)))
    [org.apache.felix.configadmin version=1.9.26]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.coordinator)(version>=1.0.0)(!(version>=2.0.0)))
      ⇒ osgi.service: (objectClass=org.osgi.service.log.LogService)
    [org.eclipse.jetty.http version=11.0.20]
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.registrar)
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.processor)
    [io.openems.edge.controller.api.common version=1.0.0.202405210545]
      ⇒ osgi.service: (objectClass=io.openems.edge.common.jsonapi.ComponentJsonApi)
      ⇒ osgi.service: (objectClass=io.openems.edge.timedata.api.Timedata)
    [org.eclipse.jetty.io version=11.0.20]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.jmx)(version>=11.0.20)(!(version>=12.0.0)))
    [io.openems.edge.batteryinverter.refu88k version=1.0.0.202405210545]
      ⇒ osgi.service: (objectClass=io.openems.edge.timedata.api.Timedata)
    [org.eclipse.jetty.util version=9.2.28.v20190418]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.slf4j.impl)(version>=1.6.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.slf4j.spi)(version>=1.6.0)(!(version>=2.0.0)))
    [org.jsoup version=1.17.2]
      ⇒ osgi.wiring.package: (osgi.wiring.package=org.jspecify.annotations)
    [io.openems.wrapper.okhttp version=4.12.0]
      ⇒ osgi.wiring.package: (osgi.wiring.package=android.security)
      ⇒ osgi.wiring.package: (osgi.wiring.package=android.net.ssl)
      ⇒ osgi.wiring.package: (osgi.wiring.package=org.openjsse.net.ssl)
      ⇒ osgi.wiring.package: (osgi.wiring.package=org.bouncycastle.jsse.provider)
      ⇒ osgi.wiring.package: (osgi.wiring.package=org.bouncycastle.jsse)
      ⇒ osgi.wiring.package: (osgi.wiring.package=org.conscrypt)
      ⇒ osgi.wiring.package: (osgi.wiring.package=com.android.org.conscrypt)
      ⇒ osgi.wiring.package: (osgi.wiring.package=org.openjsse.javax.net.ssl)
      ⇒ osgi.wiring.package: (osgi.wiring.package=android.os)
      ⇒ osgi.wiring.package: (osgi.wiring.package=sun.security.ssl)
      ⇒ osgi.wiring.package: (osgi.wiring.package=android.net.http)
      ⇒ osgi.wiring.package: (osgi.wiring.package=dalvik.system)
      ⇒ osgi.wiring.package: (osgi.wiring.package=android.util)
    [org.apache.felix.eventadmin version=1.6.4]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.metatype)(version>=1.1.0)(!(version>=2.0.0)))
      ⇒ osgi.service: (objectClass=org.osgi.service.log.LogReaderService)
      ⇒ osgi.service: (objectClass=org.osgi.service.log.LogService)
      ⇒ osgi.service: (objectClass=org.osgi.service.event.EventHandler)
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.2.0)(!(version>=2.0.0)))
    [org.apache.felix.http.jetty version=5.1.12]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.log)(version>=1.3.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.metatype)(version>=1.1.0)(!(version>=2.0.0)))
      ⇒ osgi.serviceloader: (osgi.serviceloader=org.eclipse.jetty.io.ssl.ALPNProcessor$Server)
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.registrar)
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.websocket.server)(version>=11.0.0)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.useradmin)(version>=1.1.0)(!(version>=2.0.0)))
      ⇒ osgi.extender: (osgi.extender=osgi.serviceloader.processor)
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.3.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.websocket.jakarta.server.config)(version>=11.0.0)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (osgi.wiring.package=sun.nio.ch)
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.osgi.service.event)(version>=1.2.0)(!(version>=2.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.websocket.server.config)(version>=11.0.0)(!(version>=12.0.0)))
    [org.eclipse.jetty.server version=9.2.28.v20190418]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.jmx)(version>=9.1.0))
    [org.eclipse.jetty.http2.common version=11.0.20]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.component)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.annotation)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.thread.strategy)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.thread)(version>=11.0.20)(!(version>=12.0.0)))
    [org.eclipse.jetty.server version=9.4.28.v20200408]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.jmx)(version>=9.4.28)(!(version>=10.0.0)))
    [org.eclipse.jetty.servlet version=11.0.20]
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.component)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.jmx)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.annotation)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.thread)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.resource)(version>=11.0.20)(!(version>=12.0.0)))
      ⇒ osgi.wiring.package: (&(osgi.wiring.package=org.eclipse.jetty.util.ajax)(version>=11.0.20)(!(version>=12.0.0)))

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':io.openems.edge.application:resolve.EdgeApp'.
> /Users/katsuya/openems/io.openems.edge.application/EdgeApp.bndrun resolution exception

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 18s
497 actionable tasks: 1 executed, 496 up-to-date

@sfeilmeier sfeilmeier merged commit 217f089 into OpenEMS:develop Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants