kweather build issue #196

Closed
opened 3 years ago by agneli · 4 comments
agneli commented 3 years ago

Basic information

  • TDE version: R14.1.0 [DEVELOPMENT]
  • Distribution: Gentoo
  • Hardware: amd64

Description

compilation error:
CMake Error at cmake/modules/TDEMacros.cmake:2048 (file):
  file failed to open for reading (No such file or directory):

    /var/tmp/portage/trinity-base/kweather-9999/work/kweather-9999_build/kweather/weather_stations.desktop
Call Stack (most recent call first):
  kweather/CMakeLists.txt:136 (tde_create_translated_desktop)

looks like file kweather_stations.desktop is missing, it is nowhere in the build directory.

Steps to reproduce

  1. emerge -av trinity-base/kweather

Screenshots

<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: R14.1.0 [DEVELOPMENT] - Distribution: Gentoo - Hardware: amd64 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description ``` compilation error: CMake Error at cmake/modules/TDEMacros.cmake:2048 (file): file failed to open for reading (No such file or directory): /var/tmp/portage/trinity-base/kweather-9999/work/kweather-9999_build/kweather/weather_stations.desktop Call Stack (most recent call first): kweather/CMakeLists.txt:136 (tde_create_translated_desktop) looks like file kweather_stations.desktop is missing, it is nowhere in the build directory. ``` ## Steps to reproduce 1. emerge -av trinity-base/kweather ## Screenshots <!-- If it seems useful, please provide provide one or more screenshots. -->
Collaborator

I've already looked into this one a bit, it's caused by combination of two issues:

We probably should resolve both of those.

I've already looked into this one a bit, it's caused by combination of two issues: * The fact that eclasses doesn't extract the translations, see #195 * An issue with [`tde_create_translated_desktop ()` in TDEMacros.cmake][1], which fails if translations are missing and the desktop file is build-time generated, see TDE/tde-common-cmake#69. We probably should resolve both of those. [1]: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-common-cmake/src/commit/111a08942a8b5452cd51f41e6f811d55de30c657/modules/TDEMacros.cmake#L2048
Collaborator

Since the merge of TDE/tde-common-cmake#69 the live one version should build fine. Although I haven't actually tested this myself...

I suggest to keep this issue open till the resolution of the problem with desktop file translations.

Also I haven't looked if the stable one was affected (it probably should be), but it should go after the fix of the translation issue too.

Since the merge of TDE/tde-common-cmake#69 the live one version should build fine. Although I haven't actually tested this myself... I suggest to keep this issue open till the resolution of the problem with desktop file translations. Also I haven't looked if the stable one was affected (it probably should be), but it should go after the fix of the translation issue too.
Owner

The stable version does not seem to need any specific patch. Desktop file generation has been added for the upcoming R14.0.10, which also already includes a fix in the common cmake module.

The stable version does not seem to need any specific patch. Desktop file generation has been added for the upcoming R14.0.10, which also already includes a fix in the common cmake module.
agneli commented 3 years ago
Poster

Thank you guys!

Thank you guys!
agneli closed this issue 3 years ago
SlavekB added this to the R14.0.10 release milestone 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tde-packaging-gentoo#196
Loading…
There is no content yet.