osmose-backend icon indicating copy to clipboard operation
osmose-backend copied to clipboard

Fails to update to last kopeninghours version

Open frodrigo opened this issue 2 years ago • 5 comments

Update to last version of kopeninghours is not possible du to compilation issue.

It fails on Debian 10 and Debian 11.3 (last) used in docker.

We cannot deploy the last version of Osmose code due to this issue.

I look at the cmake log on configure stage. But not be able to understand witch check was failing.

See CMakeOutput.log

Can be reproduced with Docker an probably on any Debian.

@dfaure @Famlam @jocelynj need help on this.

frodrigo avatar Apr 11 '22 20:04 frodrigo

With @jocelynj we have done review of last changes and update is not required, does it ?

We still have to figure why test is not passing on test setup before deploying.

Nevertheless, it changes nothing about the impossibility to compile the last version.

frodrigo avatar Apr 11 '22 21:04 frodrigo

My understanding is that the new tag of kopeninghours is adding a new include for CMake: ECMDeprecationSettings, which is not available on Debian Stable, because it has an older version of extra-cmake-modules

  CMake Error at CMakeLists.txt:21 (include):
    include could not find requested file:

      ECMDeprecationSettings

This was added by this commit: https://invent.kde.org/libraries/kopeninghours/-/commit/12a40d79481b853adc7e48743266a259c1ad3c9b.

jocelynj avatar Apr 11 '22 21:04 jocelynj

@dfaure @Famlam @jocelynj need help on this.

With @jocelynj we have done review of last changes and update is not required, does it ?

I would agree that for now, the old version of kOpeningHours is good enough until this is fixed. Don't know how to help with a fix on the kOpeningHours side though

Famlam avatar Apr 12 '22 08:04 Famlam

I just pushed https://invent.kde.org/libraries/kopeninghours/commit/11cfd7b1712e71061cf3226e94223e65aa4d6e36, can you check if this fixes the issue for you? Thanks.

dfaure-kdab avatar Apr 13 '22 22:04 dfaure-kdab

I just pushed https://invent.kde.org/libraries/kopeninghours/commit/11cfd7b1712e71061cf3226e94223e65aa4d6e36, can you check if this fixes the issue for you? Thanks.

Thank you. It works for me.

frodrigo avatar Apr 16 '22 09:04 frodrigo

It was updated today, so I guess this issue can close?

Famlam avatar Nov 05 '22 16:11 Famlam