Bug 372675

Summary: several kde-l10n 16.12 beta packages fail to build
Product: [Translations] i18n Reporter: Antonio Rojas <arojas>
Component: esAssignee: KDE l10n ES team <kde-l10n-es>
Status: RESOLVED FIXED    
Severity: normal CC: aacid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Antonio Rojas 2016-11-19 17:33:33 UTC
At least en-GB and es fail at cmake with the error:

CMake Error at /usr/lib64/cmake/KF5DocTools/KF5DocToolsMacros.cmake:156 (add_custom_target):
  add_custom_target cannot create target
  "5-es-docs-pim-kleopatra-index-cache-bz2" because another target with the
  same name already exists.  The existing target is a custom target created
  in source directory
  "/build/kde-l10n/src/kde-l10n-es-16.11.80/5/es/docs/pim/kleopatra".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  5/es/docs/pim/kleopatra/CMakeLists.txt:3 (kdoctools_create_handbook)


CMake Error at /usr/lib64/cmake/KF5DocTools/KF5DocToolsMacros.cmake:156 (add_custom_target):
  add_custom_target cannot create target
  "5-es-docs-pim-kwatchgnupg-index-cache-bz2" because another target with the
  same name already exists.  The existing target is a custom target created
  in source directory
  "/build/kde-l10n/src/kde-l10n-es-16.11.80/5/es/docs/pim/kwatchgnupg".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  5/es/docs/pim/kwatchgnupg/CMakeLists.txt:3 (kdoctools_create_handbook)


-- Configuring incomplete, errors occurred!
Comment 1 Albert Astals Cid 2016-11-19 17:56:00 UTC
en-GB works fine here https://paste.kde.org/pqyini5xn

es fails with this error, yes
Comment 2 Antonio Rojas 2016-11-19 18:04:37 UTC
Sorry, my mistake when looking at the output. en_GB works fine also here, yes.
Comment 3 Albert Astals Cid 2016-11-20 19:04:36 UTC
i've fixed the svn sources for es. it'll be fixed for next release.

In the meantime you can apply https://paste.kde.org/pfgw9drsq