Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2023 16:09:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274029] misc/openhab 4.0.x does not work after clean installation
Message-ID:  <bug-274029-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274029

            Bug ID: 274029
           Summary: misc/openhab 4.0.x does not work after clean
                    installation
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: netchild@FreeBSD.org
          Reporter: jontheil@gmail.com
             Flags: maintainer-feedback?(netchild@FreeBSD.org)
          Assignee: netchild@FreeBSD.org

I had a working installation both on amd64 and arm64. As the upgrade descri=
bed
i UPDATING (20230726) seemed complicated, I decided to start over.

I can install the port without any issues, but can't get the application to=
 run
as before.

The entire content of /var/log/openhab/openhab.log is:

2023-09-22 17:39:41.813 [ERROR] [ternal.service.BootFeaturesInstaller] - Er=
ror
installing boot features
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root:
missing requirement [root] osgi.identity; osgi.identity=3Dopenhab-runtime-u=
i;
type=3Dkaraf.feature; version=3D"[4.0.3,4.0.3]";
filter:=3D"(&(osgi.identity=3Dopenhab-runtime-ui)(type=3Dkaraf.feature)(ver=
sion>=3D4.0.3)(version<=3D4.0.3))"
[caused by: Unable to resolve openhab-runtime-ui/4.0.3: missing requirement
[openhab-runtime-ui/4.0.3] osgi.identity; osgi.identity=3Dopenhab-runtime-b=
ase;
type=3Dkaraf.feature [caused by: Unable to resolve openhab-runtime-base/4.0=
.3:
missing requirement [openhab-runtime-base/4.0.3] osgi.identity;
osgi.identity=3Dopenhab-core-base; type=3Dkaraf.feature [caused by: Unable =
to
resolve openhab-core-base/4.0.3: missing requirement [openhab-core-base/4.0=
.3]
osgi.identity; osgi.identity=3Dorg.openhab.core.config.core; type=3Dosgi.bu=
ndle;
version=3D"[4.0.3,4.0.3]"; resolution:=3Dmandatory [caused by: Unable to re=
solve
org.openhab.core.config.core/4.0.3: missing requirement
[org.openhab.core.config.core/4.0.3] osgi.wiring.package;
filter:=3D"(&(osgi.wiring.package=3Dorg.openhab.core.common.registry)(versi=
on>=3D4.0.0)(!(version>=3D5.0.0)))"
[caused by: Unable to resolve org.openhab.core/4.0.3: missing requirement
[org.openhab.core/4.0.3] osgi.ee;
filter:=3D"(&(osgi.ee=3DJavaSE)(version=3D17))"]]]]]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(Subsyst=
emResolver.java:256)
~[?:?]
        at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:39=
9)
~[?:?]
        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(=
FeaturesServiceImpl.java:1069)
~[?:?]
        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doPro=
visionInThread$13(FeaturesServiceImpl.java:1004)
~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1=
128)
~[?:?]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:=
628)
~[?:?]
        at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to reso=
lve
openhab-runtime-ui/4.0.3: missing requirement [openhab-runtime-ui/4.0.3]
osgi.identity; osgi.identity=3Dopenhab-runtime-base; type=3Dkaraf.feature [=
caused
by: Unable to resolve openhab-runtime-base/4.0.3: missing requirement
[openhab-runtime-base/4.0.3] osgi.identity; osgi.identity=3Dopenhab-core-ba=
se;
type=3Dkaraf.feature [caused by: Unable to resolve openhab-core-base/4.0.3:
missing requirement [openhab-core-base/4.0.3] osgi.identity;
osgi.identity=3Dorg.openhab.core.config.core; type=3Dosgi.bundle;
version=3D"[4.0.3,4.0.3]"; resolution:=3Dmandatory [caused by: Unable to re=
solve
org.openhab.core.config.core/4.0.3: missing requirement
[org.openhab.core.config.core/4.0.3] osgi.wiring.package;
filter:=3D"(&(osgi.wiring.package=3Dorg.openhab.core.common.registry)(versi=
on>=3D4.0.0)(!(version>=3D5.0.0)))"
[caused by: Unable to resolve org.openhab.core/4.0.3: missing requirement
[org.openhab.core/4.0.3] osgi.ee; filter:=3D"(&(osgi.ee=3DJavaSE)(version=
=3D17))"]]]]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to reso=
lve
openhab-runtime-base/4.0.3: missing requirement [openhab-runtime-base/4.0.3]
osgi.identity; osgi.identity=3Dopenhab-core-base; type=3Dkaraf.feature [cau=
sed by:
Unable to resolve openhab-core-base/4.0.3: missing requirement
[openhab-core-base/4.0.3] osgi.identity;
osgi.identity=3Dorg.openhab.core.config.core; type=3Dosgi.bundle;
version=3D"[4.0.3,4.0.3]"; resolution:=3Dmandatory [caused by: Unable to re=
solve
org.openhab.core.config.core/4.0.3: missing requirement
[org.openhab.core.config.core/4.0.3] osgi.wiring.package;
filter:=3D"(&(osgi.wiring.package=3Dorg.openhab.core.common.registry)(versi=
on>=3D4.0.0)(!(version>=3D5.0.0)))"
[caused by: Unable to resolve org.openhab.core/4.0.3: missing requirement
[org.openhab.core/4.0.3] osgi.ee; filter:=3D"(&(osgi.ee=3DJavaSE)(version=
=3D17))"]]]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to reso=
lve
openhab-core-base/4.0.3: missing requirement [openhab-core-base/4.0.3]
osgi.identity; osgi.identity=3Dorg.openhab.core.config.core; type=3Dosgi.bu=
ndle;
version=3D"[4.0.3,4.0.3]"; resolution:=3Dmandatory [caused by: Unable to re=
solve
org.openhab.core.config.core/4.0.3: missing requirement
[org.openhab.core.config.core/4.0.3] osgi.wiring.package;
filter:=3D"(&(osgi.wiring.package=3Dorg.openhab.core.common.registry)(versi=
on>=3D4.0.0)(!(version>=3D5.0.0)))"
[caused by: Unable to resolve org.openhab.core/4.0.3: missing requirement
[org.openhab.core/4.0.3] osgi.ee; filter:=3D"(&(osgi.ee=3DJavaSE)(version=
=3D17))"]]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to reso=
lve
org.openhab.core.config.core/4.0.3: missing requirement
[org.openhab.core.config.core/4.0.3] osgi.wiring.package;
filter:=3D"(&(osgi.wiring.package=3Dorg.openhab.core.common.registry)(versi=
on>=3D4.0.0)(!(version>=3D5.0.0)))"
[caused by: Unable to resolve org.openhab.core/4.0.3: missing requirement
[org.openhab.core/4.0.3] osgi.ee; filter:=3D"(&(osgi.ee=3DJavaSE)(version=
=3D17))"]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to reso=
lve
org.openhab.core/4.0.3: missing requirement [org.openhab.core/4.0.3] osgi.e=
e;
filter:=3D"(&(osgi.ee=3DJavaSE)(version=3D17))"
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        at
org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Ca=
ndidates.java:1341)
~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more

I have no idea what the missing requirements are about and how to solve the
issues.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274029-7788>