[Craft] [Bug 457185] New: Craft digiKam MacOS : libgphoto2 packaging problem.

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Jul 27 06:58:58 BST 2022


https://bugs.kde.org/show_bug.cgi?id=457185

            Bug ID: 457185
           Summary: Craft digiKam MacOS : libgphoto2 packaging problem.
           Product: Craft
           Version: master
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Blueprints
          Assignee: vonreth at kde.org
          Reporter: caulier.gilles at gmail.com
                CC: kde-windows at kde.org
  Target Milestone: ---

Hi all,

While building digiKam for MacOS, libgphoto dependency is detected and code
relevant is compiled fine.
If libgphoto and libusb-compat are not integrated a runtime dependencies,
digiKAm will not start on MacOS as these component are missing in the bundle.

Adding libgphoto2 introduce a new packaging problem with libgphoto2_port and
libgphoto2 directories:

...
23:55:14  executing command: /usr/bin/codesign --keychain
/Users/packaging/Library/Keychains/login.keychain --sign Developer ID
Application: K Desktop Environment e.V. (5433B4KXM8) --force
--preserve-metadata=identifier,entitlements --options runtime --verbose=99
--timestamp --deep
/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app
23:59:09 
/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app:
bundle format unrecognized, invalid, or unsuitable
23:59:09  In subcomponent:
/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app/Contents/Frameworks/libgphoto2_port/0.12.0
23:59:09  Command ['/usr/bin/codesign', '--keychain',
'/Users/packaging/Library/Keychains/login.keychain', '--sign', 'Developer ID
Application: K Desktop Environment e.V. (5433B4KXM8)', '--force',
'--preserve-metadata=identifier,entitlements', '--options', 'runtime',
'--verbose=99', '--timestamp', '--deep',
'/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app']
failed with exit code 1
23:59:09  Action: package for extragear/digikam:master FAILED
...

...
06:47:06  executing command: /usr/bin/codesign --keychain
/Users/packaging/Library/Keychains/login.keychain --sign Developer ID
Application: K Desktop Environment e.V. (5433B4KXM8) --force
--preserve-metadata=identifier,entitlements --options runtime --verbose=99
--timestamp --deep
/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app
06:51:01 
/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app:
bundle format unrecognized, invalid, or unsuitable
06:51:01  In subcomponent:
/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app/Contents/Frameworks/libgphoto2/2.5.27
06:51:01  Command ['/usr/bin/codesign', '--keychain',
'/Users/packaging/Library/Keychains/login.keychain', '--sign', 'Developer ID
Application: K Desktop Environment e.V. (5433B4KXM8)', '--force',
'--preserve-metadata=identifier,entitlements', '--options', 'runtime',
'--verbose=99', '--timestamp', '--deep',
'/Users/packaging/Craft/BinaryFactory/macos-64-clang/build/extragear/digikam/archive/Applications/KDE/digikam.app']
failed with exit code 1
06:51:01  Action: package for extragear/digikam:master FAILED
...

Why signing files in these directory do not work ?

Best

Gilles Caulier

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list