openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
821 stars 252 forks source link

Homegear broken in Bullseye currently #1570

Closed ecdye closed 2 years ago

ecdye commented 3 years ago

This is a place to track updates and eventually resolve the fact that as of now Homegear is broken in Bullseye, due to dependencies that cannot be meant currently. Hopefully will be resolved with the next release of Homegear.

mstormi commented 3 years ago

Hi Ethan, what actually is it that isn't working with Homegear on bullseye?

Proper use from within OH AFAIK requires a version >=0.8 hence a 'nightly' which isn't(?) available via repo https://homegear.eu/downloads.html?version=0.8

ecdye commented 3 years ago

Because we don't want to use nightly right? We just need for them to release 0.8 because we don't want to support the nightly releases and as such we can't install the old version properly on bullseye. If you think we can support the nightly version feel free to update the code to support it but I didn't want to open that door so I didn't try to switch to nightly.

Does that make sense.

mstormi commented 3 years ago

Makes sense, I don't wanna dissect the nightly install script either and ever keep catching up with changes there. However I'm wondering what that has to do with the buster->bullseye move. The current stable code should work equally well (or not) on both of these, shouldn't it ? I think we would need to eventually change the repo (to keep using the "buster" repo as AFAIK there's none for bullseye yet) but why refuse to install instead ?

And to tell the truth, homegear hasn't been and still isn't working properly with OH with any 0.7 version (it's even in the OH release notes the binding requires >= 0.8-something).

mstormi commented 3 years ago

I contacted the HG devs and asked to provide nightly via repo. Let's wait and see.

ecdye commented 3 years ago

So, the install for 0.7 failed because of missing packages that are no longer included in bullseye that's why we fail on attempt to install. I don't personally use HG but I observed this behavior when doing migration testing and its why we have consistently failing BATS test for HG.

mstormi commented 3 years ago

Then shouldn't we be able to automatically add those dependency packages to make 0.7 work on bullseye ?

ecdye commented 3 years ago

No because they are not in the bullseye main repo. I think it was some python dependencies but you would have to double check that. In the end HG just needs to fix their package and make everyone's lives easier

mstormi commented 3 years ago

Can you write it up ? Then I can post this over in the HG forum in German.

ecdye commented 3 years ago

What specifically do you want me to write up just the broken package dependencies for bullseye. I think that they already know about them as the nightly version contains a fixed version they just need to either back port the fix or release a stable version of the nightly with the fix.

mstormi commented 3 years ago

fyi I requested the homegear devs to provide their nightly code via repo. Strictly speaking OH users already today need to run a nightly version because the OH binding is known to not fully work with the stable HG version, but since the nightly isn't available via repo we have somewhat of a catch-22 here (that we as openHABian devs should not be forced to resolved by integrating their awkward nightly installer's script)

No response yet, unfortunately.

ecdye commented 3 years ago

Figures, they probably won't respond until they release their next version which will be fixed which could be a few months from now.

Meep0815 commented 2 years ago

Just wanted to let you know that homegear released a stable version that works on bullseye: https://homegear.eu/downloads.html?version=0.7&system=raspbian_bullseye