Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

snapcraft: Try to expose in the build log why gpgmepp is failing to compile

Scarlett Moore49257348e96b
diff --git a/packaging/linux/snap/snapcraft.yaml b/packaging/linux/snap/snapcraft.yaml
index 039269d32a..8bed85613f 100644
--- a/packaging/linux/snap/snapcraft.yaml
+++ b/packaging/linux/snap/snapcraft.yaml
@@ -96,7 +96,14 @@ parts:
- --prefix=/usr
- --enable-fixed-path=/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
override-build: |
- craftctl default
+ if ! craftctl default; then
+ echo "========== GPGME CONFIG.LOG =========="
+ find "$CRAFT_PART_BUILD" -name config.log \
+ -type f -print -exec cat {} \;
+ echo "========== END CONFIG.LOG =========="
+ exit 1
+ fi
+
rsync -a --ignore-existing $CRAFT_PART_INSTALL/ /
poppler:
after: