Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908936 - kde-plasma/plasma-sdk-5.27.6 CMake Error add_custom_target cannot create target another target with the same name already exists
Summary: kde-plasma/plasma-sdk-5.27.6 CMake Error add_custom_target cannot create targ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://mail.kde.org/pipermail/releas...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2023-06-21 07:30 UTC by email200202
Modified: 2023-06-21 10:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,13.13 KB, text/x-log)
2023-06-21 07:31 UTC, email200202
Details
emerge -pqv '=kde-plasma/plasma-sdk-5.27.6::gentoo' (file_908936.txt,129 bytes, text/plain)
2023-06-21 07:32 UTC, email200202
Details
emerge --info '=kde-plasma/plasma-sdk-5.27.6::gentoo' (file_908936.txt,7.10 KB, text/plain)
2023-06-21 07:34 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2023-06-21 07:30:18 UTC
kde-plasma/plasma-sdk-5.27.6 emerge failed with message:

CMake Error at /usr/lib64/cmake/KF5DocTools/KF5DocToolsMacros.cmake:203 (add_custom_target):
  add_custom_target cannot create target
  "po-nl-docs-plasma-sdk-engineexplorer-plasmaengineexplorer-1" because
  another target with the same name already exists.  The existing target is a
  custom target created in source directory
  "/var/tmp/portage/kde-plasma/plasma-sdk-5.27.6/work/plasma-sdk-5.27.6".
  See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  /usr/lib64/cmake/KF5DocTools/KF5DocToolsMacros.cmake:234 (kdoctools_create_manpage)
  CMakeLists.txt:92 (kdoctools_install)


CMake Error at /usr/lib64/cmake/KF5DocTools/KF5DocToolsMacros.cmake:203 (add_custom_target):
  add_custom_target cannot create target
  "po-nl-docs-plasma-sdk-plasmoidviewer-plasmoidviewer-1" because another
  target with the same name already exists.  The existing target is a custom
  target created in source directory
  "/var/tmp/portage/kde-plasma/plasma-sdk-5.27.6/work/plasma-sdk-5.27.6".
  See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  /usr/lib64/cmake/KF5DocTools/KF5DocToolsMacros.cmake:234 (kdoctools_create_manpage)
  CMakeLists.txt:92 (kdoctools_install)



Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world
Actual Results:  
failed

Expected Results:  
not to fail
Comment 1 email200202 2023-06-21 07:31:35 UTC
Created attachment 864325 [details]
build.log
Comment 2 email200202 2023-06-21 07:32:55 UTC
Created attachment 864326 [details]
emerge -pqv '=kde-plasma/plasma-sdk-5.27.6::gentoo'
Comment 3 email200202 2023-06-21 07:34:12 UTC
Created attachment 864327 [details]
emerge --info '=kde-plasma/plasma-sdk-5.27.6::gentoo'
Comment 4 Larry the Git Cow gentoo-dev 2023-06-21 10:22:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a40f98cd5cfe008dbeb54e55f3825cd06ef153f

commit 5a40f98cd5cfe008dbeb54e55f3825cd06ef153f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-06-21 10:04:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-06-21 10:22:36 +0000

    kde-plasma/plasma-sdk: add 5.27.6.1
    
    Closes: https://bugs.gentoo.org/908936
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/plasma-sdk/Manifest                   |  1 +
 kde-plasma/plasma-sdk/plasma-sdk-5.27.6.1.ebuild | 45 ++++++++++++++++++++++++
 2 files changed, 46 insertions(+)