trinity-base/kontact-9999 cmake error #256

Closed
opened 2 years ago by VinceR · 9 comments
VinceR commented 2 years ago
Collaborator

Basic information

  • TDE version: 14.1.0 updated 2022-06-21
  • Gentoo layman 'trinity-official' repository updated 2022-06-24
  • Portage 3.0.30

Description

CMake Error at /usr/share/cmake/Modules/TDEMacros.cmake:1164 (add_dependencies):
  The dependency target "kmail_settings_base" of target
  "libkontact_kmailplugin-module" does not exist.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/TDEMacros.cmake:1278 (tde_add_library)
  kontact/plugins/kmail/CMakeLists.txt:51 (tde_add_kpart)

kmail_settings_base is defined as a custom target in (tdepim)/kmail/CMakeLists.txt

The package was last successfully installed 2021-12-27

## Basic information * TDE version: 14.1.0 updated 2022-06-21 * Gentoo layman 'trinity-official' repository updated 2022-06-24 * Portage 3.0.30 ## Description ``` CMake Error at /usr/share/cmake/Modules/TDEMacros.cmake:1164 (add_dependencies): The dependency target "kmail_settings_base" of target "libkontact_kmailplugin-module" does not exist. Call Stack (most recent call first): /usr/share/cmake/Modules/TDEMacros.cmake:1278 (tde_add_library) kontact/plugins/kmail/CMakeLists.txt:51 (tde_add_kpart) ``` kmail_settings_base is defined as a custom target in (tdepim)/kmail/CMakeLists.txt The package was last successfully installed 2021-12-27
VinceR added the SL/normal label 2 years ago
Collaborator

@VinceR, it looks like you just haven't updated the trinity-base/trinity-cmake package. Since you are using a live branch, the cmake modules required for the build are now out of date and need to be updated.

# emerge -1 trinity-base/trinity-cmake
# emerge trinity-base/kontact
@VinceR, it looks like you just haven't updated the `trinity-base/trinity-cmake` package. Since you are using a live branch, the cmake modules required for the build are now out of date and need to be updated. ``` # emerge -1 trinity-base/trinity-cmake # emerge trinity-base/kontact ```
Collaborator

Guidelines for updating the live branch:

# cat /var/lib/portage/world|grep trinity >/trinity.list
# emerge -C $(cat /trinity.list)
# emerge --depclean
# emerge -av $(cat /trinity.list)

Since the live branch changes all the time, it is better to collect everything again.

Guidelines for updating the live branch: ``` # cat /var/lib/portage/world|grep trinity >/trinity.list # emerge -C $(cat /trinity.list) # emerge --depclean # emerge -av $(cat /trinity.list) ``` Since the live branch changes all the time, it is better to collect everything again.
VinceR commented 2 years ago
Poster
Collaborator

@VinceR, it looks like you just haven't updated the trinity-base/trinity-cmake package. Since you are using a live branch, the cmake modules required for the build are now out of date and need to be updated.

# emerge -1 trinity-base/trinity-cmake
# emerge trinity-base/kontact

That's strange, I had updated trinity-base/trinity-cmake 2 hours before I tried to update trinity-base/kontact. I just tried it again, no luck.

> @VinceR, it looks like you just haven't updated the `trinity-base/trinity-cmake` package. Since you are using a live branch, the cmake modules required for the build are now out of date and need to be updated. > ``` > # emerge -1 trinity-base/trinity-cmake > # emerge trinity-base/kontact > ``` That's strange, I had updated trinity-base/trinity-cmake 2 hours before I tried to update trinity-base/kontact. I just tried it again, no luck.
VinceR commented 2 years ago
Poster
Collaborator

Guidelines for updating the live branch:

# cat /var/lib/portage/world|grep trinity >/trinity.list
# emerge -C $(cat /trinity.list)
# emerge --depclean
# emerge -av $(cat /trinity.list)

Since the live branch changes all the time, it is better to collect everything again.

I do something like this already with the exception of emerge -C $(cat /trinity.list). That seems a bit severe but I will give this a try and report back in a couple of days.

> Guidelines for updating the live branch: > ``` > # cat /var/lib/portage/world|grep trinity >/trinity.list > # emerge -C $(cat /trinity.list) > # emerge --depclean > # emerge -av $(cat /trinity.list) > ``` > Since the live branch changes all the time, it is better to collect everything again. I do something like this already with the exception of `emerge -C $(cat /trinity.list)`. That seems a bit severe but I will give this a try and report back in a couple of days.
Collaborator

Hmm, my assembly went well. But now I'll try to enable the kmail flag. If I manage to repeat this mistake, I will make a correction.

Hmm, my assembly went well. But now I'll try to enable the kmail flag. If I manage to repeat this mistake, I will make a correction.
Collaborator

Now rebuilt with kmail flag and I managed to get this error. I already solved the assembly problem, and I'll post the changes. Now I'll check it on the stable branch, maybe it will also need to be fixed there.

Now rebuilt with kmail flag and I managed to get this error. I already solved the assembly problem, and I'll post the changes. Now I'll check it on the stable branch, maybe it will also need to be fixed there.
Collaborator

Added a solution to this problem. It remains to wait until the branches are merged.

Added a solution to this problem. It remains to wait until the branches are merged.
Owner

Thank you for the quick solution to the problem.

Thank you for the quick solution to the problem.
SlavekB closed this issue 2 years ago
SlavekB added this to the R14.0.13 release milestone 2 years ago
VinceR commented 2 years ago
Poster
Collaborator

Confirming that fix worked, thanks!

Confirming that fix worked, thanks!
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

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