Bug 457164 - Craft digiKam MacOS build : i18n checkout with Subversion cannot be processed as svn command is not found
Summary: Craft digiKam MacOS build : i18n checkout with Subversion cannot be processed...
Status: REPORTED
Alias: None
Product: Craft
Classification: Unmaintained
Component: Blueprints (show other bugs)
Version: master
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-26 14:47 UTC by caulier.gilles
Modified: 2022-07-26 18:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caulier.gilles 2022-07-26 14:47:39 UTC
Hi,

digiKam use a ruby script calling svn command to checkout the translations for packaging workflow:

https://invent.kde.org/graphics/digikam/-/blob/master/project/release/fetch_l10n_po.rb

This work everywhere excepted under MacOS where Subversion cannot be found, even if Subversion dependency is set for MacOS:

https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/master/extragear/digikam/digikam.py#L46

The error from the CMake configuration is this one :

16:10:58  -- ----------------------------------------------------------------------------------
16:10:58  -- Starting CMake configuration for digikam
16:10:58  -- 
16:10:58  -- Looking for __GLIBC__
16:10:58  -- Looking for __GLIBC__ - not found
16:10:58  -- Performing Test _OFFT_IS_64BIT
16:10:59  -- Performing Test _OFFT_IS_64BIT - Success
16:10:59  -- Performing Test HAVE_DATE_TIME
16:10:59  -- Performing Test HAVE_DATE_TIME - Success
16:11:04  -- Found Ruby: /usr/bin/ruby (found suitable version "2.6.8", minimum required is "1.8.0") 
16:11:04  -- Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE) 
16:11:04  CMake Error at CMakeLists.txt:191 (message):
16:11:04    Could not find Ruby or Subversion to extract translation files
16:11:04  
16:11:04  
16:11:04  -- Configuring incomplete, errors occurred!

So i disabled the i18n extraction for the moment until we found a solution.

Best

Gilles Caulier
Comment 1 Thomas Friedrichsmeier 2022-07-26 18:00:15 UTC
Possibly of interest: https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/377 (abandoned merge request for subversion blueprint).