Bug 421496

Summary: KDE binary factory fails building KDE Connect for OSX
Product: [Applications] kdeconnect Reporter: idoitprone <monkeyboyted>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
URL: https://binary-factory.kde.org/view/MacOS/job/kdeconnect-kde_Nightly_macos/
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description idoitprone 2020-05-14 04:27:45 UTC
SUMMARY 

Hi maintainers,

I am here to inform you that the binary factory has been failing to build KDE Connect for OSX for over a month.

https://binary-factory.kde.org/view/MacOS/job/kdeconnect-kde_Nightly_macos/

STEPS TO REPRODUCE
1. Wait one day
2. The build throw errors on the fourth step.
3. 

OBSERVED RESULT

05:18:16  + cd /Users/packaging/Craft/BinaryFactory/
05:18:16  + /usr/local/bin/python3 craftmaster/Craftmaster.py --config binary-factory-tooling/craft/configs/master/CraftBinaryCache.ini --target macos-64-clang -c --no-cache --target master kdeconnect-kde
05:18:17  ================================================================================
05:18:17  Status: None: None 0% ['extragear/kdeconnect-kde']
05:18:17  ================================================================================
05:18:17  *** Handling package: extragear/kdeconnect-kde, action: all ***
05:18:17  *** Action: fetch for extragear/kdeconnect-kde ***
05:18:17  executing command: /usr/bin/git fetch
05:18:18  From https://invent.kde.org/kde/kdeconnect-kde
05:18:18     08ea3d78..785f70c2  master     -> origin/master
05:18:18  executing command: /usr/bin/git checkout master
05:18:18  Already on 'master'
05:18:18  Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
05:18:18    (use "git pull" to update your local branch)
05:18:18  Updating 08ea3d78..785f70c2
05:18:18  Fast-forward
05:18:18   smsapp/qml/ConversationList.qml | 2 +-
05:18:18   1 file changed, 1 insertion(+), 1 deletion(-)
05:18:18  executing command: /usr/bin/git checkout master
05:18:18  Already on 'master'
05:18:18  Your branch is up to date with 'origin/master'.
05:18:18  *** Action: unpack for extragear/kdeconnect-kde ***
05:18:18  *** Action: compile for extragear/kdeconnect-kde ***
05:18:18  *** cmake -G "Ninja" -DBUILD_TESTING=ON    -DCMAKE_INSTALL_PREFIX="/Users/packaging/Craft/BinaryFactory/macos-64-clang" -DCMAKE_PREFIX_PATH="/Users/packaging/Craft/BinaryFactory/macos-64-clang" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKDE_INSTALL_BUNDLEDIR="/Users/packaging/Craft/BinaryFactory/macos-64-clang/Applications/KDE" -DAPPLE_SUPPRESS_X11_WARNING=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "/Users/packaging/Craft/BinaryFactory/downloads/git/extragear/kdeconnect-kde" ***
05:18:18  executing command: "/Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/bin/cmake" -G "Ninja" -DBUILD_TESTING=ON    -DCMAKE_INSTALL_PREFIX="/Users/packaging/Craft/BinaryFactory/macos-64-clang" -DCMAKE_PREFIX_PATH="/Users/packaging/Craft/BinaryFactory/macos-64-clang" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKDE_INSTALL_BUNDLEDIR="/Users/packaging/Craft/BinaryFactory/macos-64-clang/Applications/KDE" -DAPPLE_SUPPRESS_X11_WARNING=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "/Users/packaging/Craft/BinaryFactory/downloads/git/extragear/kdeconnect-kde"
05:18:19  -- The C compiler identification is AppleClang 11.0.0.11000033
05:18:19  -- The CXX compiler identification is AppleClang 11.0.0.11000033
05:18:19  -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
05:18:20  -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - works
05:18:20  -- Detecting C compiler ABI info
05:18:20  -- Detecting C compiler ABI info - done
05:18:20  -- Detecting C compile features
05:18:20  -- Detecting C compile features - done
05:18:20  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
05:18:20  -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - works
05:18:20  -- Detecting CXX compiler ABI info
05:18:20  -- Detecting CXX compiler ABI info - done
05:18:20  -- Detecting CXX compile features
05:18:20  -- Detecting CXX compile features - done
05:18:21  CMake Error at CMakeLists.txt:14 (find_package):
05:18:21    Could not find a configuration file for package "ECM" that is compatible
05:18:21    with requested version "5.70.0".
05:18:21  
05:18:21    The following configuration files were considered but not accepted:
05:18:21  
05:18:21      /Users/packaging/Craft/BinaryFactory/macos-64-clang/share/ECM/cmake/ECMConfig.cmake, version: 5.69.0
05:18:21  
05:18:21  
05:18:21  
05:18:21  -- Configuring incomplete, errors occurred!
05:18:21  See also "/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/kdeconnect-kde/work/build/CMakeFiles/CMakeOutput.log".
05:18:21  executing command: "/Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/bin/ninja" 
05:18:21  ninja: error: loading 'build.ninja': No such file or directory
05:18:21  Command "/Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/bin/ninja"  failed with exit code 1
05:18:21  Action: compile for extragear/kdeconnect-kde:master FAILED
05:18:21  *** Craft all failed: extragear/kdeconnect-kde after 4 seconds ***
05:18:21  fatal error: package extragear/kdeconnect-kde all failed
05:18:21  Craft stopped with out completing ['extragear/kdeconnect-kde']
05:18:21  Command /usr/local/bin/python3 -u /Users/packaging/Craft/BinaryFactory/macos-64-clang/craft/bin/craft.py --no-cache --target master kdeconnect-kde failed with exit code: 1

EXPECTED RESULT

Build succeeds and the service outputs a dmg.


SOFTWARE/OS VERSIONS
Windows: N/A
macOS: Any
Linux/KDE Plasma: origin/master 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2020-05-20 21:34:04 UTC
Should be fixed with https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/9
Comment 2 Christoph Feck 2020-06-19 21:18:01 UTC
Can you confirm the fix?
Comment 3 idoitprone 2020-06-30 17:26:59 UTC
The website builds again.