Which The Proper and Simple snapcraft.yaml Receipe to Build QT6 App?

Hello, Those anybody know the proper and simple example of snapcraft.yaml to building QT6 Apps? because the KDE QT6 Snapcraft wiki is under construction by following this link and the wiki still not consist for the proper and simple example of snapcraft.yaml. When I use as same method on Core20 using QT5 on Core20 using QT6 snapcraft did not build?

Here my snapcraft.yaml as below

name: dukto
version: 'r6.7.3-50'
summary: A Cross Platform Simple File LAN file transfer tool.
description: |
    Dukto example
confinement: strict
base: core22
grade: stable
license: GPL-2.0
compression: lzo
apps:
    snap:
        command: bin/desktop-launch $SNAP/usr/bin/dukto
        desktop: usr/share/applications/dukto-snap.desktop
        plugs:
            - browser-support
            - desktop
            - desktop-legacy
            - gsettings
            - home
            - media-hub
            - network
            - network-observe
            - opengl
            - optical-drive
            - removable-media
            - unity7
            - x11
            - wayland
            - kf-qt-latest
            - kf-qt-ext-latest
        environment:
            SNAP_DESKTOP_RUNTIME: $SNAP
            QTCHOOSER_NO_GLOBAL_DIR: 1
            QT_SELECT: snappy-qt6
            HOME: $SNAP_USER_DATA
            QTDIR: /snap/kde-qt6-core22-sdk/current/qt6
            QT_PLUGIN_PATH: /snap/kde-qt6-core22-sdk/current/qt6/plugins
plugs:
    kf-qt-latest:
        interface: content
        content: kde-qt6-core22
        default-provider: kde-qt6-core22
        target: kf6
    kf-qt-ext-latest:
        interface: content
        content: kf6-core22
        default-provider: kf6-core22
        target: kf6
#There is no arch target add it to command please
#part of migration to core22
parts:
    desktop-qt6:
        source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
        source-subdir: qt
        plugin: make
        make-parameters: ["FLAVOR=qt6"]
        build-packages:
            - build-essential
            - libqt6opengl6-dev
            - qt6-base-dev
            - qt6-declarative-dev
            - qt6-declarative-private-dev
            - qt6-multimedia-dev
            - qt6-tools-dev
            - qt6-tools-dev-tools
            - qt6-wayland-dev
            - qt6-wayland-dev-tools
            - qt6-image-formats-plugins
            - qt6-qmltooling-plugins
        stage-packages:
            - adwaita-icon-theme
            - dmz-cursor-theme
            - fcitx-frontend-qt5
            - gnome-themes-standard
            - libgdk-pixbuf2.0-0
            - libqt6core6
            - libqt6dbus6
            - libqt6designercomponents6
            - libqt6gui6
            - libqt6multimedia6
            - libqt6multimediaquick6
            - libqt6network6
            - libqt6opengl6
            - libqt6qml6
            - libqt6qmlcore6
            - libqt6qmlmodels6
            - libqt6qmlworkerscript6
            - libqt6quick6
            - libqt6quickcontrols2-6
            - libqt6quickcontrols2impl6
            - libqt6quicklayouts6
            - libqt6serialbus6
            - libqt6serialbus6-plugins
            - libqt6serialport6
            - libqt6svg6
            - libqt6svg6-dev
            - libqt6svgwidgets6
            - libqt6waylandclient6
            - libqt6waylandcompositor6
            - libqt6waylandeglclienthwintegration6
            - libqt6waylandeglcompositorhwintegration6
            - libqt6widgets6
            - libqt6wlshellintegration6
            - libqt6xml6
            - libxkbcommon0
            - light-themes
            - locales-all
            - qml-qt6
            - qml6-module-qtcore
            - qml6-module-qtqml
            - qml6-module-qtqml-models
            - qml6-module-qtqml-workerscript
            - qml6-module-qtquick
            - qml6-module-qtquick-controls
            - qml6-module-qtquick-layouts
            - qml6-module-qtquick-window
            - shared-mime-info
            - fonts-freefont-ttf
            - xdg-user-dirs
    dukto:
        after: [desktop-qt6]
        source: https://gitlab.com/kafabih-kr/dukto.git
        source-type: git
        plugin: cmake
        build-snaps: 
            - kf6-core22-sdk
        cmake-parameters:
            - -DCMAKE_INSTALL_PREFIX=/usr
            - -DCMAKE_BUILD_TYPE=Release
            - -DQT_MAJOR_VERSION=6
            - -DBUILD_WITH_QT6=ON
            - -DCMAKE_LIBRARY_PATH=lib/$CRAFT_ARCH_TRIPLET
#Migrated to core22 please be careful
            - "-DCMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$CRAFT_STAGE/include:$CRAFT_STAGE/usr/include:$CRAFT_STAGE/include/$CRAFT_ARCH_TRIPLET:$CRAFT_STAGE/usr/include/$CRAFT_ARCH_TRIPLET"
            - "-DCMAKE_LIBRARY_PATH=$CMAKE_LIBRARY_PATH:$CRAFT_STAGE/lib:$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/lib/$CRAFT_ARCH_TRIPLET:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET"
            - -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
            - -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
            - -DCMAKE_INSTALL_RUNSTATEDIR=/run
            - -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
            - -DCMAKE_VERBOSE_MAKEFILE=ON
            - -DBUILD_SYSTEM=snap
            - -DCMAKE_LIBRARY_PATH=lib/$CRAFT_ARCH_TRIPLET
        build-environment:
            - PATH: /snap/kde-qt6-core22-sdk/current/usr/bin${PATH:+:$PATH}
            - XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kde-qt6-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
            - XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kde-qt6-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
            - LD_LIBRARY_PATH: $CRAFT_STAGE/lib:+:$CRAFT_STAGE/usr/lib:+:$CRAFT_STAGE/lib/$CRAFT_ARCH_TRIPLET
        build-packages:
            - cmake
            - g++
            - qt6-base-dev
            - qt6-declarative-dev
            - qt6-declarative-private-dev
            - libnotify-dev
            - libxcb1-dev
            - libxcb-util-dev
            - libqt6opengl6-dev
            - qt6-multimedia-dev
            - qt6-tools-dev
            - qt6-tools-dev-tools
            - qt6-wayland-dev
            - qt6-wayland-dev-tools
            - qt6-image-formats-plugins
            - qt6-qmltooling-plugins
        override-pull: |
            craftctl default
            cp -r $SNAPCRAFT_PART_SRC/patch/snap-splash.png $SNAPCRAFT_PART_SRC/splash.png
            cp -r $SNAPCRAFT_PART_SRC/patch/qml.qrc $SNAPCRAFT_PART_SRC/qml.qrc
            sed -i 's|text: "Dukto R6"|text: "Dukto R6 Snap"|g' $SNAPCRAFT_PART_SRC/qml/old/AboutPage.qml
            sed -i 's|text: "Dukto R6"|text: "Dukto R6 Snap"|g' $SNAPCRAFT_PART_SRC/qml/new/AboutPage.qml
            sed -i 's|label: "Change folder "|label: "Disabled"|g' $SNAPCRAFT_PART_SRC/qml/new/SettingsPage.qml
            sed -i 's|label: "Change folder"|label: "Disabled"|g' $SNAPCRAFT_PART_SRC/qml/old/SettingsPage.qml
            sed -i '119,123d' $SNAPCRAFT_PART_SRC/qml/new/SettingsPage.qml
            sed -i '109d' $SNAPCRAFT_PART_SRC/qml/old/SettingsPage.qml
        override-build: |
            echo "SNAPCRAFT_TARGET_ARCH=${SNAPCRAFT_TARGET_ARCH}"
            echo "SNAPCRAFT_ARCH_TRIPLET=${SNAPCRAFT_ARCH_TRIPLET}"
            cmake -S "$SNAPCRAFT_PART_SRC" -B .
            cmake --build . -- -j$SNAPCRAFT_PARALLEL_BUILD_COUNT
            cmake --build . -- install DESTDIR=$SNAPCRAFT_PART_INSTALL
            mv -f $SNAPCRAFT_PART_INSTALL/usr/share/applications/dukto.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/dukto-snap.desktop
        stage:
            - usr/bin/dukto
            - usr/share/applications/dukto-snap.desktop
            - usr/share/pixmaps/dukto.png
            - usr/share/pixmaps/sandboxed.png
        stage-packages:
            - gir1.2-notify-0.7
            - libdouble-conversion3
            - libgcc1
            - libgl1
            - libglvnd0
            - libglx0
            - libqt6core6
            - libqt6dbus6
            - libqt6designercomponents6
            - libqt6gui6
            - libqt6multimedia6
            - libqt6multimediaquick6
            - libqt6network6
            - libqt6opengl6
            - libqt6qml6
            - libqt6qmlcore6
            - libqt6qmlmodels6
            - libqt6qmlworkerscript6
            - libqt6quick6
            - libqt6quickcontrols2-6
            - libqt6quickcontrols2impl6
            - libqt6quicklayouts6
            - libqt6serialbus6
            - libqt6serialbus6-plugins
            - libqt6serialport6
            - libqt6svg6
            - libqt6svg6-dev
            - libqt6svgwidgets6
            - libqt6waylandclient6
            - libqt6waylandcompositor6
            - libqt6waylandeglclienthwintegration6
            - libqt6waylandeglcompositorhwintegration6
            - libqt6widgets6
            - libqt6wlshellintegration6
            - libqt6xml6
            - libfreetype6
            - libgraphite2-3
            - libharfbuzz0b
            - libicu70
            - libpcre2-16-0
            - libpng16-16
            - libnotify4
            - libnotify-bin
            - libstdc++6
            - libxau6
            - libxcb1
            - libxcb-util1
            - libxcb-xkb1
            - libxcb-image0
            - libxcb-keysyms1
            - libxcb-render-util0
            - libxcb-xinerama0
            - libxkbcommon0
            - libxkbcommon-x11-0
            - libx11-6
            - libxdmcp6
            - qml-qt6
            - qml6-module-qtcore
            - qml6-module-qtqml
            - qml6-module-qtqml-models
            - qml6-module-qtqml-workerscript
            - qml6-module-qtquick
            - qml6-module-qtquick-controls
            - qml6-module-qtquick-layouts
            - qml6-module-qtquick-window
        prime:
            - usr/bin/dukto
            - usr/share/applications/dukto-snap.desktop
            - usr/share/pixmaps/dukto.png
            - usr/share/pixmaps/sandboxed.png

Here the error logs


2024-05-19 13:23:12.765 Starting Snapcraft 7.5.5
2024-05-19 13:23:12.768 lifecycle command: 'pack', arguments: Namespace(bind_ssh=False, build_for='amd64', debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=True)
2024-05-19 13:23:12.768 command: pack, arguments: Namespace(bind_ssh=False, build_for='amd64', debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=True)
2024-05-19 13:23:12.857 CPU count (from process affinity): 4
2024-05-19 13:23:12.857 Invalid SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT ''
2024-05-19 13:23:12.857 Running on amd64 for amd64
2024-05-19 13:23:12.864 Checking build provider availability
2024-05-19 13:23:12.883 Retrieved snap config: {}
2024-05-19 13:23:12.883 Using provider 'lxd' passed as an argument.
2024-05-19 13:23:13.034 Executing on host: lxc --project default profile show local:default
2024-05-19 13:23:13.284 Using hostname 'snapcraft-dukto-on-amd64-for-amd64-7471239'
2024-05-19 13:23:13.284 Launching instance...
2024-05-19 13:23:13.285 Executing on host: lxc remote list --format=yaml
2024-05-19 13:23:13.361 Remote 'craft-com.ubuntu.cloud-buildd' already exists.
2024-05-19 13:23:13.361 Executing on host: lxc project list local: --format=yaml
2024-05-19 13:23:13.450 Set LXD instance name to 'snapcraft-dukto-on-amd64-for-amd64-7471239'
2024-05-19 13:23:13.450 Checking for instance 'snapcraft-dukto-on-amd64-for-amd64-7471239' in project 'snapcraft' in remote 'local'
2024-05-19 13:23:13.450 Executing on host: lxc --project snapcraft list local: --format=yaml
2024-05-19 13:23:13.610 Executing on host: lxc --project snapcraft config get local:snapcraft-dukto-on-amd64-for-amd64-7471239 raw.idmap
2024-05-19 13:23:13.692 Executing on host: lxc --project snapcraft list local: --format=yaml
2024-05-19 13:23:13.815 Instance exists and is not running. Starting instance.
2024-05-19 13:23:13.815 Starting instance
2024-05-19 13:23:13.815 Executing on host: lxc --project snapcraft start local:snapcraft-dukto-on-amd64-for-amd64-7471239
2024-05-19 13:23:14.389 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf
2024-05-19 13:23:14.763 Executing on host: lxc --project snapcraft file pull local:snapcraft-dukto-on-amd64-for-amd64-7471239/etc/craft-instance.conf /home/mate/tmpov6pwrt_.tmp-craft/tmp_lq431nl
2024-05-19 13:23:14.960 Instance has already been setup.
2024-05-19 13:23:14.961 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 cat /etc/os-release
2024-05-19 13:23:15.453 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf
2024-05-19 13:23:15.776 Executing on host: lxc --project snapcraft file pull local:snapcraft-dukto-on-amd64-for-amd64-7471239/etc/craft-instance.conf /home/mate/tmpdpihdr_w.tmp-craft/tmp7rpaqfof
2024-05-19 13:23:15.894 Instance is compatible with compatibility tag 'snapcraft-buildd-base-v4.0'
2024-05-19 13:23:15.894 No cache path set, not mounting cache directories.
2024-05-19 13:23:15.894 Waiting for environment to be ready...
2024-05-19 13:23:15.894 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:16.296 systemctl is-system-running status:
2024-05-19 13:23:16.547 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:16.921 systemctl is-system-running status: initializing
2024-05-19 13:23:17.171 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:17.421 systemctl is-system-running status: initializing
2024-05-19 13:23:17.672 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:18.169 systemctl is-system-running status: initializing
2024-05-19 13:23:18.420 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:18.757 systemctl is-system-running status: initializing
2024-05-19 13:23:19.008 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:19.345 systemctl is-system-running status: starting
2024-05-19 13:23:19.596 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:19.846 systemctl is-system-running status: starting
2024-05-19 13:23:20.096 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:20.307 systemctl is-system-running status: starting
2024-05-19 13:23:20.558 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:20.704 systemctl is-system-running status: starting
2024-05-19 13:23:20.954 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:21.388 systemctl is-system-running status: starting
2024-05-19 13:23:21.639 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running
2024-05-19 13:23:21.907 Waiting for networking to be ready...
2024-05-19 13:23:21.907 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io
2024-05-19 13:23:22.085 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 snap unset system proxy.http
2024-05-19 13:23:22.696 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 snap unset system proxy.https
2024-05-19 13:23:23.234 Installing snap 'snapcraft' with channel=None and classic=True
2024-05-19 13:23:23.234 Installing snap 'snapcraft' from host (classic=True)
2024-05-19 13:23:23.244 Installing base snap 'core20' for 'snapcraft' from host
2024-05-19 13:23:23.244 Installing snap 'core20' from host (classic=False)
2024-05-19 13:23:23.248 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf
2024-05-19 13:23:23.421 Executing on host: lxc --project snapcraft file pull local:snapcraft-dukto-on-amd64-for-amd64-7471239/etc/craft-instance.conf /home/mate/tmpf7kzcqpd.tmp-craft/tmp83pyas4b
2024-05-19 13:23:23.656 Revisions found: host='2318', target='2318'
2024-05-19 13:23:23.656 Skipping snap injection: target is already up-to-date with revision on host
2024-05-19 13:23:23.657 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf
2024-05-19 13:23:24.182 Executing on host: lxc --project snapcraft file pull local:snapcraft-dukto-on-amd64-for-amd64-7471239/etc/craft-instance.conf /home/mate/tmpurw83bay.tmp-craft/tmpuzvxx0tb
2024-05-19 13:23:24.289 Revisions found: host='11039', target='11039'
2024-05-19 13:23:24.289 Skipping snap injection: target is already up-to-date with revision on host
2024-05-19 13:23:24.289 Executing on host: lxc --project snapcraft config device show local:snapcraft-dukto-on-amd64-for-amd64-7471239
2024-05-19 13:23:24.488 Executing on host: lxc --project snapcraft config device add local:snapcraft-dukto-on-amd64-for-amd64-7471239 disk-/root/project disk source=/media/mate/Data/dukto/snap-built/dukto/build/amd64 path=/root/project
2024-05-19 13:23:24.690 Executing on host: lxc --project snapcraft file push /tmp/tmpi212nn5v local:snapcraft-dukto-on-amd64-for-amd64-7471239/root/.bashrc --mode=644
2024-05-19 13:23:24.772 Executing in container: lxc --project snapcraft exec local:snapcraft-dukto-on-amd64-for-amd64-7471239 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 chown root:root /root/.bashrc
2024-05-19 13:23:25.227 Emitter: Pausing control of the terminal
2024-05-19 13:24:03.605 Emitter: Resuming control of the terminal
2024-05-19 13:24:05.553 Logs retrieved from managed instance:
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.634 Starting Snapcraft 7.5.5
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.637 lifecycle command: 'pack', arguments: Namespace(bind_ssh=False, build_for='amd64', debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=False)
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.637 command: pack, arguments: Namespace(bind_ssh=False, build_for='amd64', debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=False)
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.737 CPU count (from process affinity): 4
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.737 Invalid SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT ''
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.737 Running on amd64 for amd64
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.746 Initializing parts lifecycle
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.747 is_snap: True, SNAP_NAME set to snapcraft
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.751 load state file: /root/parts/desktop-qt6/state/pull
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.797 load state file: /root/parts/dukto/state/pull
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.846 load state file: /root/parts/desktop-qt6/state/build
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:31.933 load state file: /root/parts/desktop-qt6/state/stage
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:39.863 process desktop-qt6:Step.PULL
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:39.863 check if Part('desktop-qt6'):Step.PULL is dirty
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:39.863 check if Part('desktop-qt6'):Step.PULL is outdated
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:39.863 add action desktop-qt6:Step.PULL(ActionType.SKIP)
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:39.863 process dukto:Step.PULL
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:39.864 check if Part('dukto'):Step.PULL is dirty
2024-05-19 13:24:05.553 :: 2024-05-19 13:23:39.864 check if Part('dukto'):Step.PULL is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.864 add action dukto:Step.PULL(ActionType.SKIP)
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.864 process desktop-qt6:Step.BUILD
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.865 check if Part('desktop-qt6'):Step.BUILD is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.882 check if Part('desktop-qt6'):Step.BUILD is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.882 add action desktop-qt6:Step.BUILD(ActionType.SKIP)
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.883 process dukto:Step.BUILD
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.883 check if Part('desktop-qt6'):Step.STAGE is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.883 check if Part('desktop-qt6'):Step.STAGE is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.883 check if Part('desktop-qt6'):Step.BUILD is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.883 check if Part('desktop-qt6'):Step.BUILD is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.883 check if Part('desktop-qt6'):Step.PULL is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.883 check if Part('desktop-qt6'):Step.PULL is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.884 add action dukto:Step.BUILD(ActionType.RUN)
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.884 process desktop-qt6:Step.STAGE
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.884 check if Part('desktop-qt6'):Step.STAGE is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.884 check if Part('desktop-qt6'):Step.STAGE is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.884 add action desktop-qt6:Step.STAGE(ActionType.SKIP)
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.884 process dukto:Step.STAGE
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.885 check if Part('desktop-qt6'):Step.STAGE is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.885 check if Part('desktop-qt6'):Step.STAGE is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.885 check if Part('desktop-qt6'):Step.BUILD is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.885 check if Part('desktop-qt6'):Step.BUILD is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.885 check if Part('desktop-qt6'):Step.PULL is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.885 check if Part('desktop-qt6'):Step.PULL is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.885 add action dukto:Step.STAGE(ActionType.RUN)
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.886 process desktop-qt6:Step.PRIME
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.886 add action desktop-qt6:Step.PRIME(ActionType.RUN)
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.886 process dukto:Step.PRIME
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.886 check if Part('desktop-qt6'):Step.PRIME is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.886 check if Part('desktop-qt6'):Step.PRIME is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.887 check if Part('desktop-qt6'):Step.STAGE is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.887 check if Part('desktop-qt6'):Step.STAGE is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.887 check if Part('desktop-qt6'):Step.BUILD is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.887 check if Part('desktop-qt6'):Step.BUILD is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.887 check if Part('desktop-qt6'):Step.PULL is outdated
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.887 check if Part('desktop-qt6'):Step.PULL is dirty
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.887 add action dukto:Step.PRIME(ActionType.RUN)
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.888 Executing parts lifecycle...
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.889 part build packages: ['build-essential', 'libqt6opengl6-dev', 'qt6-base-dev', 'qt6-declarative-dev', 'qt6-declarative-private-dev', 'qt6-multimedia-dev', 'qt6-tools-dev', 'qt6-tools-dev-tools', 'qt6-wayland-dev', 'qt6-wayland-dev-tools', 'qt6-image-formats-plugins', 'qt6-qmltooling-plugins']
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.889 source build packages: {'git'}
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.889 plugin build packages: {'make', 'gcc'}
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.889 part build packages: ['cmake', 'g++', 'qt6-base-dev', 'qt6-declarative-dev', 'qt6-declarative-private-dev', 'libnotify-dev', 'libxcb1-dev', 'libxcb-util-dev', 'libqt6opengl6-dev', 'qt6-multimedia-dev', 'qt6-tools-dev', 'qt6-tools-dev-tools', 'qt6-wayland-dev', 'qt6-wayland-dev-tools', 'qt6-image-formats-plugins', 'qt6-qmltooling-plugins']
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.889 source build packages: {'git'}
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.889 plugin build packages: {'cmake', 'gcc'}
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.889 part build snaps: ['kf6-core22-sdk']
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:39.890 Requested build-packages: ['build-essential', 'cmake', 'g++', 'gcc', 'git', 'libnotify-dev', 'libqt6opengl6-dev', 'libxcb-util-dev', 'libxcb1-dev', 'make', 'qt6-base-dev', 'qt6-declarative-dev', 'qt6-declarative-private-dev', 'qt6-image-formats-plugins', 'qt6-multimedia-dev', 'qt6-qmltooling-plugins', 'qt6-tools-dev', 'qt6-tools-dev-tools', 'qt6-wayland-dev', 'qt6-wayland-dev-tools']
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:41.356 Marking libqt6opengl6-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.554 :: 2024-05-19 13:23:41.357 package: libqt6opengl6-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.398 Marking qt6-image-formats-plugins (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.398 package: qt6-image-formats-plugins
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.433 Marking build-essential (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.433 package: build-essential
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.467 Marking qt6-wayland-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.467 package: qt6-wayland-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.500 Marking qt6-base-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.500 package: qt6-base-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.533 Marking qt6-tools-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.534 package: qt6-tools-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.567 Marking make (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.567 package: make
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.600 Marking qt6-multimedia-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.600 package: qt6-multimedia-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.633 Marking cmake (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.633 package: cmake
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.667 Marking git (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.667 package: git
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.702 Marking qt6-declarative-private-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.702 package: qt6-declarative-private-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.736 Marking qt6-tools-dev-tools (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.736 package: qt6-tools-dev-tools
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.774 Marking g++ (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.774 package: g++
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.816 Marking libxcb-util-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.816 package: libxcb-util-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.858 Marking libxcb1-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.859 package: libxcb1-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.895 Marking gcc (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.895 package: gcc
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.932 Marking qt6-declarative-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.932 package: qt6-declarative-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.966 Marking qt6-qmltooling-plugins (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:41.966 package: qt6-qmltooling-plugins
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:42.000 Marking libnotify-dev (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:42.000 package: libnotify-dev
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:42.035 Marking qt6-wayland-dev-tools (and its dependencies) to be fetched
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:42.035 package: qt6-wayland-dev-tools
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:42.117 Requested build-packages already installed: ['build-essential', 'cmake', 'g++', 'gcc', 'git', 'libnotify-dev', 'libqt6opengl6-dev', 'libxcb-util-dev', 'libxcb1-dev', 'make', 'qt6-base-dev', 'qt6-declarative-dev', 'qt6-declarative-private-dev', 'qt6-image-formats-plugins', 'qt6-multimedia-dev', 'qt6-qmltooling-plugins', 'qt6-tools-dev', 'qt6-tools-dev-tools', 'qt6-wayland-dev', 'qt6-wayland-dev-tools']
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:48.590 verify plugin environment for part 'desktop-qt6'
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:48.592 verify plugin environment for part 'dukto'
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:48.594 Executing parts lifecycle: skip pull desktop-qt6 (already ran)
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:48.594 Executing action
2024-05-19 13:24:05.555 :: 2024-05-19 13:23:48.595 execute action desktop-qt6:Action(part_name='desktop-qt6', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.595 Skip execution of Action(part_name='desktop-qt6', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.596 Executed: skip pull desktop-qt6 (already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.596 Executing parts lifecycle: skip pull dukto (already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.596 Executing action
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.597 execute action dukto:Action(part_name='dukto', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.597 Skip execution of Action(part_name='dukto', step=Step.PULL, action_type=ActionType.SKIP, reason='already ran', project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.598 Executed: skip pull dukto (already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.598 Executing parts lifecycle: skip build desktop-qt6 (already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.598 Executing action
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.598 execute action desktop-qt6:Action(part_name='desktop-qt6', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.598 Skip execution of Action(part_name='desktop-qt6', step=Step.BUILD, action_type=ActionType.SKIP, reason='already ran', project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None)) (because already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.599 Executed: skip build desktop-qt6 (already ran)
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.599 Executing parts lifecycle: build dukto
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.600 Executing action
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.600 execute action dukto:Action(part_name='dukto', step=Step.BUILD, action_type=ActionType.RUN, reason=None, project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:48.601 load state file: /root/parts/dukto/state/pull
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:55.450 fix artifacts: unpack_dir='/root/parts/dukto/install'
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:55.724 For pkg-config file /root/parts/dukto/install/usr/share/pkgconfig/shared-mime-info.pc, prefix was changed from prefix=/usr
2024-05-19 13:24:05.556 ::  to prefix=/root/parts/dukto/install/usr
2024-05-19 13:24:05.556 :: 2024-05-19 13:23:55.725 For pkg-config file /root/parts/dukto/install/usr/share/pkgconfig/iso-codes.pc, prefix was changed from prefix=/usr
2024-05-19 13:24:05.556 ::  to prefix=/root/parts/dukto/install/usr
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.243 :: + echo SNAPCRAFT_TARGET_ARCH=amd64
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.243 :: SNAPCRAFT_TARGET_ARCH=amd64
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.243 :: + echo SNAPCRAFT_ARCH_TRIPLET=x86_64-linux-gnu
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.243 :: SNAPCRAFT_ARCH_TRIPLET=x86_64-linux-gnu
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.243 :: + cmake -S /root/parts/dukto/src -B .
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.612 :: -- Using QT 6.x.x to build...
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.632 :: -- Backward compartibility QT 5 NOTFOUND...
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.722 :: -- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 :: -- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 :: CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::   Found package configuration file:
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::   but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::   NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::   Qt6Gui could not be found because dependency WrapOpenGL could not be found.
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 :: Call Stack (most recent call first):
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.726 ::
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.768 :: -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.794 :: -- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
2024-05-19 13:24:05.556 :: 2024-05-19 13:24:01.796 :: -- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 :: CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   Found package configuration file:
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   Qt6Gui could not be found because dependency WrapOpenGL could not be found.
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 :: Call Stack (most recent call first):
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6OpenGL/Qt6OpenGLDependencies.cmake:96 (_qt_internal_find_dependencies)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6OpenGL/Qt6OpenGLConfig.cmake:50 (include)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 :: CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   Found package configuration file:
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6OpenGL/Qt6OpenGLConfig.cmake
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   but it set Qt6OpenGL_FOUND to FALSE so package "Qt6OpenGL" is considered to
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   be NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   Qt6OpenGL could not be found because dependency Qt6Gui could not be found.
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 :: Call Stack (most recent call first):
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.797 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.919 :: -- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.921 :: -- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.922 :: CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.922 ::   Found package configuration file:
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   Qt6Gui could not be found because dependency WrapOpenGL could not be found.
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 :: Call Stack (most recent call first):
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickDependencies.cmake:96 (_qt_internal_find_dependencies)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickConfig.cmake:50 (include)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 ::
2024-05-19 13:24:05.557 :: 2024-05-19 13:24:01.934 :: CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
2024-05-19 13:24:05.558 :: 2024-05-19 13:24:01.934 ::   Found package configuration file:
2024-05-19 13:24:05.558 :: 2024-05-19 13:24:01.935 ::
2024-05-19 13:24:05.558 :: 2024-05-19 13:24:01.935 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickConfig.cmake
2024-05-19 13:24:05.558 :: 2024-05-19 13:24:01.935 ::
2024-05-19 13:24:05.558 :: 2024-05-19 13:24:01.935 ::   but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
2024-05-19 13:24:05.558 :: 2024-05-19 13:24:01.935 ::   be NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.935 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.935 ::   Qt6Quick could not be found because dependency Qt6Gui could not be found.
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.935 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.935 :: Call Stack (most recent call first):
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.935 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.935 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.935 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.966 :: -- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 :: -- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 :: CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 ::   Found package configuration file:
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 ::   but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.968 ::   NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::   Qt6Gui could not be found because dependency WrapOpenGL could not be found.
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 :: Call Stack (most recent call first):
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6QuickWidgets/Qt6QuickWidgetsDependencies.cmake:96 (_qt_internal_find_dependencies)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6QuickWidgets/Qt6QuickWidgetsConfig.cmake:50 (include)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.560 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 :: CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::   Found package configuration file:
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6QuickWidgets/Qt6QuickWidgetsConfig.cmake
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::   but it set Qt6QuickWidgets_FOUND to FALSE so package "Qt6QuickWidgets" is
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::   considered to be NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::   Qt6QuickWidgets could not be found because dependency Qt6Gui could not be
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::   found.
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 :: Call Stack (most recent call first):
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:01.969 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.018 :: -- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.021 :: -- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND)
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.021 :: CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.021 ::   Found package configuration file:
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.021 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.561 :: 2024-05-19 13:24:02.021 ::   but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   Qt6Gui could not be found because dependency WrapOpenGL could not be found.
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 :: Call Stack (most recent call first):
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:96 (_qt_internal_find_dependencies)
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:50 (include)
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 :: CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::   Found package configuration file:
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.562 :: 2024-05-19 13:24:02.021 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.021 ::   but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.021 ::   to be NOT FOUND.  Reason given by package:
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.021 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Qt6Widgets could not be found because dependency Qt6Gui could not be found.
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 :: Call Stack (most recent call first):
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   CMakeLists.txt:159 (find_package)
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 :: CMake Error at CMakeLists.txt:159 (find_package):
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Found package configuration file:
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::     /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   FOUND.  Reason given by package:
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Failed to find Qt component "Gui".
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Expected Config file at
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   "/usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake" exists
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Failed to find Qt component "OpenGL".
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Expected Config file at
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   "/usr/lib/x86_64-linux-gnu/cmake/Qt6OpenGL/Qt6OpenGLConfig.cmake" exists
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Failed to find Qt component "Quick".
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Expected Config file at
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   "/usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Failed to find Qt component "QuickWidgets".
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Expected Config file at
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   "/usr/lib/x86_64-linux-gnu/cmake/Qt6QuickWidgets/Qt6QuickWidgetsConfig.cmake"
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   exists
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Failed to find Qt component "Widgets".
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   Expected Config file at
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::   "/usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" exists
2024-05-19 13:24:05.563 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.022 ::
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.023 ::
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.023 ::
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.023 ::
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.023 :: -- Configuring incomplete, errors occurred!
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.023 :: See also "/root/parts/dukto/build/CMakeFiles/CMakeOutput.log".
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.198 'override-build' in part 'dukto' failed with code 1.
2024-05-19 13:24:05.564 :: Review the scriptlet and make sure it's correct.
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204 Traceback (most recent call last):
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/snapcraft/parts/parts.py", line 191, in run
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     aex.execute(action, stdout=stream, stderr=stream)
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_parts/executor/executor.py", line 304, in execute
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     self._executor.execute(actions, stdout=stdout, stderr=stderr)
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_parts/executor/executor.py", line 128, in execute
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     self._run_action(act, stdout=stdout, stderr=stderr)
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_parts/executor/executor.py", line 193, in _run_action
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     handler.run_action(action, stdout=stdout, stderr=stderr)
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_parts/executor/part_handler.py", line 172, in run_action
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     state = handler(step_info, stdout=stdout, stderr=stderr)
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_parts/executor/part_handler.py", line 309, in _run_build
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     self._run_step(
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_parts/executor/part_handler.py", line 485, in _run_step
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     step_handler.run_scriptlet(
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_parts/executor/step_handler.py", line 278, in run_scriptlet
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204     raise errors.ScriptletRunError(
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204 craft_parts.errors.ScriptletRunError: 'override-build' in part 'dukto' failed with code 1.
2024-05-19 13:24:05.564 :: 2024-05-19 13:24:02.204 Review the scriptlet and make sure it's correct.
2024-05-19 13:24:12.515 Failed to execute pack in instance.
2024-05-19 13:24:12.519 Traceback (most recent call last):
2024-05-19 13:24:12.519   File "/snap/snapcraft/11039/lib/python3.8/site-packages/snapcraft/parts/lifecycle.py", line 581, in _run_in_provider
2024-05-19 13:24:12.519     instance.execute_run(cmd, check=True, cwd=output_dir)
2024-05-19 13:24:12.519   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_providers/lxd/lxd_instance.py", line 293, in execute_run
2024-05-19 13:24:12.519     return self.lxc.exec(
2024-05-19 13:24:12.519   File "/snap/snapcraft/11039/lib/python3.8/site-packages/craft_providers/lxd/lxc.py", line 387, in exec
2024-05-19 13:24:12.519     return runner(final_cmd, timeout=timeout, check=check, **kwargs)
2024-05-19 13:24:12.519   File "/snap/snapcraft/11039/usr/lib/python3.8/subprocess.py", line 516, in run
2024-05-19 13:24:12.519     raise CalledProcessError(retcode, process.args,
2024-05-19 13:24:12.519 subprocess.CalledProcessError: Command '['lxc', '--project', 'snapcraft', 'exec', 'local:snapcraft-dukto-on-amd64-for-amd64-7471239', '--cwd', '/root/project', '--', 'env', 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SNAPCRAFT_MANAGED_MODE=1', 'snapcraft', 'pack', '--verbosity=brief', '--build-for', 'amd64']' returned non-zero exit status 1.
2024-05-19 13:24:12.519 Recommended resolution: Run the same command again with --debug to shell into the environment if you wish to introspect this failure.


For normal build without using snapcraft is normally, I can run my app.

The easiest solution all things considered would be to wait until there’s a new KDE-Neon or QT6 extension for Core24. While the libraries are available in 22.04, it’s all the logic in the desktop wrapper scripts that setup environment variables you’d want and they’re anything but trivial.

I’d imagine there’d be a release in the next few weeks, in which case it’d be upgrade from Core22 to Core24 and set it as the relevant extension.

Edit: I do also see that Wiki suggests there might be work for QT6 on Core22, which could also help, but I’d imagine the Core24 release is the more likely target to happen first (if two releases happen at all).

Telegram publishes a snap which is (currently) built on Qt 6.7.0. They build the whole thing every time. It takes a long time, but works. Worth a look.

3 Likes

This is not the perfect but the best solution for you which is also maintainable in long run.

https://invent.kde.org/soumyadghosh/kclock/-/blob/master/snapcraft.yaml?ref_type=heads

If your app needs to have QtMultimedia support, then it’s still in a queue of MR, but other features work perfectly.

https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/merge_requests/3

This is not build for Qt 6.7.0 you can see they choosen Qt flavour to Qt5 as writen ["FLAVOUR=qt5"]

I added cmake prefix path as writen below.

CMAKE_PREFIX_PATH: $CRAFT_STAGE/usr:/snap/kde-qt6-core22-sdk/current/usr:/snap/kf6-core22-sdk/current/usr${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}

still same error appears.

It’s not just the paths, you’ll need to use the extension kde-neon-6

https://invent.kde.org/soumyadghosh/kclock/-/blob/master/snapcraft.yaml?ref_type=heads#L18

I have tried added but error appear like Extension 'kde-neon-6' does not exist

Please do not share in bits. Share the complete snapcraft.yaml file.

Here the full snapcraft.yaml you requested


name: dukto
version: 'r6.7.3-50'
summary: A Cross Platform Simple File LAN file transfer tool.
description: |
    Dukto example
confinement: strict
base: core22
grade: stable
license: GPL-2.0
compression: lzo
apps:
    dukto:
        extensions:
                - kde-neon-6
        common-id: org.kafabihkr.dukto
        command: bin/desktop-launch $SNAP/usr/bin/dukto
        desktop: usr/share/applications/dukto-snap.desktop
        plugs:
            - browser-support
            - desktop
            - desktop-legacy
            - gsettings
            - home
            - media-hub
            - network
            - network-observe
            - opengl
            - optical-drive
            - removable-media
            - unity7
            - x11
            - wayland
            - kf-qt-latest
            - kf-qt-ext-latest
        environment:
            SNAP_DESKTOP_RUNTIME: $SNAP
            QTCHOOSER_NO_GLOBAL_DIR: 1
            QT_SELECT: snappy-qt6
            HOME: $SNAP_USER_DATA
            QTDIR: /snap/kde-qt6-core22-sdk/current/qt6
            QT_PLUGIN_PATH: /snap/kde-qt6-core22-sdk/current/qt6/plugins
plugs:
    kf-qt-latest:
        interface: content
        content: kde-qt6-core22
        default-provider: kde-qt6-core22
        target: kf6
    kf-qt-ext-latest:
        interface: content
        content: kf6-core22
        default-provider: kf6-core22
        target: kf6
#There is no arch target add it to command please
#part of migration to core22
parts:
    desktop-qt6:
        source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
        source-subdir: qt
        plugin: make
        make-parameters: ["FLAVOR=qt6"]
        build-packages:
            - build-essential
            - libqt6opengl6-dev
            - qt6-base-dev
            - qt6-declarative-dev
            - qt6-declarative-private-dev
            - qt6-multimedia-dev
            - qt6-tools-dev
            - qt6-tools-dev-tools
            - qt6-wayland-dev
            - qt6-wayland-dev-tools
            - qt6-image-formats-plugins
            - qt6-qmltooling-plugins
        stage-packages:
            - adwaita-icon-theme
            - dmz-cursor-theme
            - fcitx-frontend-qt5
            - gnome-themes-standard
            - libgdk-pixbuf2.0-0
            - libqt6core6
            - libqt6dbus6
            - libqt6designercomponents6
            - libqt6gui6
            - libqt6multimedia6
            - libqt6multimediaquick6
            - libqt6network6
            - libqt6opengl6
            - libqt6qml6
            - libqt6qmlcore6
            - libqt6qmlmodels6
            - libqt6qmlworkerscript6
            - libqt6quick6
            - libqt6quickcontrols2-6
            - libqt6quickcontrols2impl6
            - libqt6quicklayouts6
            - libqt6serialbus6
            - libqt6serialbus6-plugins
            - libqt6serialport6
            - libqt6svg6
            - libqt6svg6-dev
            - libqt6svgwidgets6
            - libqt6waylandclient6
            - libqt6waylandcompositor6
            - libqt6waylandeglclienthwintegration6
            - libqt6waylandeglcompositorhwintegration6
            - libqt6widgets6
            - libqt6wlshellintegration6
            - libqt6xml6
            - libxkbcommon0
            - light-themes
            - locales-all
            - qml-qt6
            - qml6-module-qtcore
            - qml6-module-qtqml
            - qml6-module-qtqml-models
            - qml6-module-qtqml-workerscript
            - qml6-module-qtquick
            - qml6-module-qtquick-controls
            - qml6-module-qtquick-layouts
            - qml6-module-qtquick-window
            - shared-mime-info
            - fonts-freefont-ttf
            - xdg-user-dirs
    dukto:
        after: [desktop-qt6]
        source: https://gitlab.com/kafabih-kr/dukto.git
        source-type: git
        plugin: cmake
        build-snaps: 
            - kf6-core22-sdk
        cmake-parameters:
            - -DCMAKE_INSTALL_PREFIX=/usr
            - -DCMAKE_BUILD_TYPE=Release
            - -DQT_MAJOR_VERSION=6
            - -DBUILD_WITH_QT6=ON
            - -DCMAKE_LIBRARY_PATH=lib/$CRAFT_ARCH_TRIPLET
#Migrated to core22 please be careful
            - "-DCMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$CRAFT_STAGE/include:$CRAFT_STAGE/usr/include:$CRAFT_STAGE/include/$CRAFT_ARCH_TRIPLET:$CRAFT_STAGE/usr/include/$CRAFT_ARCH_TRIPLET"
            - "-DCMAKE_LIBRARY_PATH=$CMAKE_LIBRARY_PATH:$CRAFT_STAGE/lib:$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/lib/$CRAFT_ARCH_TRIPLET:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET"
            - -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
            - -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
            - -DCMAKE_INSTALL_RUNSTATEDIR=/run
            - -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
            - -DCMAKE_VERBOSE_MAKEFILE=ON
            - -DBUILD_SYSTEM=snap
            - -DCMAKE_LIBRARY_PATH=lib/$CRAFT_ARCH_TRIPLET
        build-environment:
            - PATH: /snap/kde-qt6-core22-sdk/current/usr/bin${PATH:+:$PATH}
            - XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kde-qt6-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
            - XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kde-qt6-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
            - LD_LIBRARY_PATH: $CRAFT_STAGE/lib:+:$CRAFT_STAGE/usr/lib:+:$CRAFT_STAGE/lib/$CRAFT_ARCH_TRIPLET
            - CMAKE_PREFIX_PATH: $CRAFT_STAGE/usr:/snap/kde-qt6-core22-sdk/current/usr:/snap/kf6-core22-sdk/current/usr${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}

        build-packages:
            - cmake
            - g++
            - qt6-base-dev
            - qt6-declarative-dev
            - qt6-declarative-private-dev
            - libnotify-dev
            - libxcb1-dev
            - libxcb-util-dev
            - libqt6opengl6-dev
            - qt6-multimedia-dev
            - qt6-tools-dev
            - qt6-tools-dev-tools
            - qt6-wayland-dev
            - qt6-wayland-dev-tools
            - qt6-image-formats-plugins
            - qt6-qmltooling-plugins
        override-pull: |
            craftctl default
            cp -r $SNAPCRAFT_PART_SRC/patch/snap-splash.png $SNAPCRAFT_PART_SRC/splash.png
            cp -r $SNAPCRAFT_PART_SRC/patch/qml.qrc $SNAPCRAFT_PART_SRC/qml.qrc
            sed -i 's|text: "Dukto R6"|text: "Dukto R6 Snap"|g' $SNAPCRAFT_PART_SRC/qml/old/AboutPage.qml
            sed -i 's|text: "Dukto R6"|text: "Dukto R6 Snap"|g' $SNAPCRAFT_PART_SRC/qml/new/AboutPage.qml
            sed -i 's|label: "Change folder "|label: "Disabled"|g' $SNAPCRAFT_PART_SRC/qml/new/SettingsPage.qml
            sed -i 's|label: "Change folder"|label: "Disabled"|g' $SNAPCRAFT_PART_SRC/qml/old/SettingsPage.qml
            sed -i '119,123d' $SNAPCRAFT_PART_SRC/qml/new/SettingsPage.qml
            sed -i '109d' $SNAPCRAFT_PART_SRC/qml/old/SettingsPage.qml
        override-build: |
            echo "SNAPCRAFT_TARGET_ARCH=${SNAPCRAFT_TARGET_ARCH}"
            echo "SNAPCRAFT_ARCH_TRIPLET=${SNAPCRAFT_ARCH_TRIPLET}"
            cmake -S "$SNAPCRAFT_PART_SRC" -B .
            cmake --build . -- -j$SNAPCRAFT_PARALLEL_BUILD_COUNT
            cmake --build . -- install DESTDIR=$SNAPCRAFT_PART_INSTALL
            mv -f $SNAPCRAFT_PART_INSTALL/usr/share/applications/dukto.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/dukto-snap.desktop
        stage:
            - usr/bin/dukto
            - usr/share/applications/dukto-snap.desktop
            - usr/share/pixmaps/dukto.png
            - usr/share/pixmaps/sandboxed.png
        stage-packages:
            - gir1.2-notify-0.7
            - libdouble-conversion3
            - libgcc1
            - libgl1
            - libglvnd0
            - libglx0
            - libqt6core6
            - libqt6dbus6
            - libqt6designercomponents6
            - libqt6gui6
            - libqt6multimedia6
            - libqt6multimediaquick6
            - libqt6network6
            - libqt6opengl6
            - libqt6qml6
            - libqt6qmlcore6
            - libqt6qmlmodels6
            - libqt6qmlworkerscript6
            - libqt6quick6
            - libqt6quickcontrols2-6
            - libqt6quickcontrols2impl6
            - libqt6quicklayouts6
            - libqt6serialbus6
            - libqt6serialbus6-plugins
            - libqt6serialport6
            - libqt6svg6
            - libqt6svg6-dev
            - libqt6svgwidgets6
            - libqt6waylandclient6
            - libqt6waylandcompositor6
            - libqt6waylandeglclienthwintegration6
            - libqt6waylandeglcompositorhwintegration6
            - libqt6widgets6
            - libqt6wlshellintegration6
            - libqt6xml6
            - libfreetype6
            - libgraphite2-3
            - libharfbuzz0b
            - libicu70
            - libpcre2-16-0
            - libpng16-16
            - libnotify4
            - libnotify-bin
            - libstdc++6
            - libxau6
            - libxcb1
            - libxcb-util1
            - libxcb-xkb1
            - libxcb-image0
            - libxcb-keysyms1
            - libxcb-render-util0
            - libxcb-xinerama0
            - libxkbcommon0
            - libxkbcommon-x11-0
            - libx11-6
            - libxdmcp6
            - qml-qt6
            - qml6-module-qtcore
            - qml6-module-qtqml
            - qml6-module-qtqml-models
            - qml6-module-qtqml-workerscript
            - qml6-module-qtquick
            - qml6-module-qtquick-controls
            - qml6-module-qtquick-layouts
            - qml6-module-qtquick-window
        prime:
            - usr/bin/dukto
            - usr/share/applications/dukto-snap.desktop
            - usr/share/pixmaps/dukto.png
            - usr/share/pixmaps/sandboxed.png